...
- Adapt build.properties in the 1.2.4 directory to recover some configuration files from that version : edit the custom.recover.files, for example :
Bloc de code custom.recover.files= \ properties/mappings.xml \ properties/logging/log4j.properties
Bloc de code
Remarque Do not list propertie/dao/dao.xml in the files to recover, as this file has been modified in version 1.2.5
...
- Specify hibernate.connection parameters (jdbc and jndi) in config.properties (new in 1.2.5, see config-example.properties)ant init-data
This Command will erase all existing data in your database !!!!Remarque
Your database (configured
) must exists.by default (see defaults.properties), esup-lecture use a jndi connection. If you want instead an jdbc connection, write in config.properties
: hibernate.useJdbc=true
- Deploy the application:
- ant deploy