doc: Update Eclipse document with 2 new sections (Maven profiles and MySQL development)
FEA: ItEr76S03Community
This commit is contained in:
parent
db692ab010
commit
59d80fe826
2 changed files with 36 additions and 0 deletions
|
|
@ -156,6 +156,25 @@ Configure project to run
|
|||
http://localhost:8080/libreplan-webapp/
|
||||
|
||||
|
||||
Configure Maven profiles
|
||||
------------------------
|
||||
|
||||
* For each opened project in the *Project Explorer* (``ganttzk``,
|
||||
``libreplan-business``, ``libreplan-webapp``) configure Maven profiles to save
|
||||
compilation time (this is not mandatory):
|
||||
|
||||
* Right click over the project and go to *Properties*
|
||||
|
||||
* Look for *Maven* and set *Active Maven Profiles*:
|
||||
``-userguide,-reports,-i18n``
|
||||
|
||||
.. figure:: img/libreplan-maven-profiles.png
|
||||
:alt: Project properties window
|
||||
:width: 100%
|
||||
|
||||
Project properties window
|
||||
|
||||
|
||||
Configure Eclipse to follow coding style guidelines
|
||||
---------------------------------------------------
|
||||
|
||||
|
|
@ -192,5 +211,22 @@ Configure Eclipse to follow coding style guidelines
|
|||
Save Actions configuration
|
||||
|
||||
|
||||
Develop LibrePlan in Eclipse using MySQL
|
||||
----------------------------------------
|
||||
|
||||
* This tutorial works properly with PostgreSQL, but if you want to develop
|
||||
LibrePlan using MySQL you have to do 2 small changes:
|
||||
|
||||
* In section `Configure project to run`_ you have to set the *Profiles* to:
|
||||
``dev,mysql,-userguide,-reports,-i18n``
|
||||
|
||||
* In section `Configure Maven profiles`_ you have to set *Active Maven
|
||||
Profiles* to: ``dev,mysql,-userguide,-reports,-i18n``
|
||||
|
||||
* Remember that the three last profiles that are being disabled is just to save
|
||||
compilation time and not mandatory. However, to develop using MySQL you have
|
||||
to set at least the first two: ``dev`` and ``mysql``.
|
||||
|
||||
|
||||
.. _LibrePlan: http://www.libreplan.com/
|
||||
.. _Eclipse: http://www.eclipse.org
|
||||
|
|
|
|||
BIN
doc/src/technical/img/libreplan-maven-profiles.png
Normal file
BIN
doc/src/technical/img/libreplan-maven-profiles.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
Loading…
Add table
Reference in a new issue