Updated documentation about the new i18n profile
FEA: ItEr76S03Community
This commit is contained in:
parent
b403dfd719
commit
bb656e653b
2 changed files with 12 additions and 5 deletions
11
HACKING
11
HACKING
|
|
@ -328,6 +328,13 @@ profiles defined in ``pom.xml`` of business and webapp modules).
|
||||||
|
|
||||||
This is used to generate upgrade files in releases.
|
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
|
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
|
activate or deactivate a profile you should use parameter ``-P`` for Maven
|
||||||
command. For example:
|
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::
|
* Use production environment::
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -137,9 +137,9 @@ Configure project to run
|
||||||
* Name: LibrePlan
|
* Name: LibrePlan
|
||||||
* Base directory: Choose ``libreplan-webapp`` folder in your workspace
|
* Base directory: Choose ``libreplan-webapp`` folder in your workspace
|
||||||
* Goals: ``jetty:stop jetty:run``
|
* Goals: ``jetty:stop jetty:run``
|
||||||
* Profiles (optional): ``-userguide,-reports`` (to disable userguide and
|
* Profiles (optional): ``-userguide,-reports,-i18n`` (to disable userguide,
|
||||||
reports profiles to save compilation time as they are not mandatory to run
|
reports and i18n profiles to save compilation time as they are not
|
||||||
LibrePlan)
|
mandatory to run LibrePlan)
|
||||||
* Mark the following checkboxes (recommended):
|
* Mark the following checkboxes (recommended):
|
||||||
|
|
||||||
* Resolve Workspace artifacts
|
* Resolve Workspace artifacts
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue