...
- Deploying the application
- ant init
- ant deploy
Configuration
file build.properties
Description of only some options
- app.name=esup-news
used to deploy the application with this name in webapps and will be used to define the portlet definition ID = <app.name>.news, here will be esup-news.news, this parameter is useful for the portlet declaration in the portal. - db.type =mysql
The db type should be mysql or postgresql, it's useful to know wich sql script to use for the database initialisation and all ibatis mapping files (xml files) to use for the DAO. - db.filename =
This property is useful to know wich sql script to use to make the update of your actual database, uncomment/comment only the good script corresponding to your database type and application last version. - attachments.activate=true
To activate or not the possibility to join attachments in news. - deploy.update-esco=false
This property should stay to false, if passed to true it will act as a custom update wish will replace all files in build directory by these on the update-esco directory. Actually update-esco contains jsp where it force the the option rss to yes and the access option to public.
- app.name=esup-news
file properties/news.properties
| Bloc de code |
|---|
#ldap properties ldap.url=ldap://ldap.univ.fr:389 ldap.base=ou=people,dc=univ,dc=fr ldap.username=cn=admin,ou=administrateurs,dc=univ,dc=fr ldap.password=***** |
...
| Info |
|---|
For each attribute defined in these properties must be set a display I18N value, this should be done in src/messages.properties To set the attribute display name the pattern is |
| Remarque |
|---|
other properties are to define the number of items to show in |
...
differents paginated pages |