diff --git a/doc/src/technical/howto-start-development-with-eclipse.rst b/doc/src/technical/howto-start-development-with-eclipse.rst index b31919808..1d0340c10 100644 --- a/doc/src/technical/howto-start-development-with-eclipse.rst +++ b/doc/src/technical/howto-start-development-with-eclipse.rst @@ -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 diff --git a/doc/src/technical/img/libreplan-maven-profiles.png b/doc/src/technical/img/libreplan-maven-profiles.png new file mode 100644 index 000000000..8679682ee Binary files /dev/null and b/doc/src/technical/img/libreplan-maven-profiles.png differ