Updated documentation about the new i18n profile

FEA: ItEr76S03Community
This commit is contained in:
Manuel Rego Casasnovas 2012-03-14 17:21:23 +01:00
parent b403dfd719
commit bb656e653b
2 changed files with 12 additions and 5 deletions

11
HACKING
View file

@ -328,6 +328,13 @@ profiles defined in ``pom.xml`` of business and webapp modules).
This is used to generate upgrade files in releases.
* *i18n* - Internationalization (default)
It uses gettext to process language files in order to be used in *LibrePlan*.
Like for *reports* and *userguide*, it is useful deactivate this profile
during development to save compilation time.
How to use profiles
~~~~~~~~~~~~~~~~~~~
@ -335,9 +342,9 @@ Profiles active by default are used always if not deactivated. In order to
activate or deactivate a profile you should use parameter ``-P`` for Maven
command. For example:
* Deactivate *reports* and *userguide* to save compilation time::
* Deactivate *reports*, *userguide* and *i18n* to save compilation time::
mvn -P-reports,-userguide clean install
mvn -P-reports,-userguide,-i18n clean install
* Use production environment::

View file

@ -137,9 +137,9 @@ Configure project to run
* Name: LibrePlan
* Base directory: Choose ``libreplan-webapp`` folder in your workspace
* Goals: ``jetty:stop jetty:run``
* Profiles (optional): ``-userguide,-reports`` (to disable userguide and
reports profiles to save compilation time as they are not mandatory to run
LibrePlan)
* Profiles (optional): ``-userguide,-reports,-i18n`` (to disable userguide,
reports and i18n profiles to save compilation time as they are not
mandatory to run LibrePlan)
* Mark the following checkboxes (recommended):
* Resolve Workspace artifacts