From: mka Date: Wed, 3 Apr 2013 16:27:00 +0000 (+0000) Subject: prepare_postgres and prepare_mysql targets are added to build.xml X-Git-Tag: Root_Delivery2_2013_04_22~59 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=591d749c109fe041e886017612a306ce7d13a2e5;p=tools%2Fsiman.git prepare_postgres and prepare_mysql targets are added to build.xml --- diff --git a/Workspace/Siman-WS/build.xml b/Workspace/Siman-WS/build.xml index 8b7b5c4..de5a654 100644 --- a/Workspace/Siman-WS/build.xml +++ b/Workspace/Siman-WS/build.xml @@ -22,7 +22,7 @@ - + + + + + + + + + + + + + + + + + + diff --git a/Workspace/Siman-WS/conf/debug.properties b/Workspace/Siman-WS/conf/debug.properties index 6ff257d..997c048 100644 --- a/Workspace/Siman-WS/conf/debug.properties +++ b/Workspace/Siman-WS/conf/debug.properties @@ -3,7 +3,6 @@ connection.url=jdbc:mysql://localhost/simer connection.username=simer connection.password=admin connection.driver_class=com.mysql.jdbc.Driver -#connection.driver_class=com.p6spy.engine.spy.P6SpyDriver # Hibernate config hibernate.hbm2ddl.auto=update @@ -26,7 +25,4 @@ org.apache.struts2.interceptor.validation.logger.level=DEBUG # Generated file header file.header=Don't edit manually. See the source in @config.src.dir@. -wapp.root=D:/DevTools/SIMAN/SIMAN_SRC/Workspace/Siman-WS/WebContent/ - - diff --git a/Workspace/Siman-WS/conf/debug_mysql.properties b/Workspace/Siman-WS/conf/debug_mysql.properties new file mode 100644 index 0000000..997c048 --- /dev/null +++ b/Workspace/Siman-WS/conf/debug_mysql.properties @@ -0,0 +1,28 @@ +# Connection properties +connection.url=jdbc:mysql://localhost/simer +connection.username=simer +connection.password=admin +connection.driver_class=com.mysql.jdbc.Driver + +# Hibernate config +hibernate.hbm2ddl.auto=update +hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect +hibernate.current_session_context_class=thread + +# Log properties +hibernate.show_sql=true +root.logger.appender= +root.logger.level=DEBUG +com.opensymphony.logger.level=DEBUG +org.apache.struts2.logger.level=DEBUG +org.springframework.logger.level=DEBUG +org.hibernate.logger.level=DEBUG +org.splat.siman.logger.level=DEBUG +log4j.logger.org.hibernate.logger.level=DEBUG +com.opensymphony.xwork2.validator.logger.level=DEBUG +org.apache.struts2.interceptor.validation.logger.level=DEBUG + +# Generated file header +file.header=Don't edit manually. See the source in @config.src.dir@. + + diff --git a/Workspace/Siman-WS/conf/debug_pg.properties b/Workspace/Siman-WS/conf/debug_pg.properties index 87e1a87..e846683 100644 --- a/Workspace/Siman-WS/conf/debug_pg.properties +++ b/Workspace/Siman-WS/conf/debug_pg.properties @@ -3,7 +3,6 @@ connection.url=jdbc:postgresql://localhost:5432/simer connection.username=simer connection.password=admin connection.driver_class=org.postgresql.Driver -#connection.driver_class=com.p6spy.engine.spy.P6SpyDriver # Hibernate config hibernate.hbm2ddl.auto=update @@ -26,7 +25,4 @@ org.apache.struts2.interceptor.validation.logger.level=DEBUG # Generated file header file.header=Don't edit manually. See the source in @config.src.dir@. -wapp.root=c:/work/SIMAN/SIMAN_SRC/Workspace/Siman/WebContent/ - - diff --git a/Workspace/Siman-WS/conf/release.properties b/Workspace/Siman-WS/conf/release.properties index 39d7fbd..e849ecb 100644 --- a/Workspace/Siman-WS/conf/release.properties +++ b/Workspace/Siman-WS/conf/release.properties @@ -1,16 +1,13 @@ # Connection properties connection.url=jdbc:mysql://localhost/simer -#connection.url=jdbc:postgresql://localhost:5432/simer connection.username=simer connection.password=admin connection.driver_class=com.mysql.jdbc.Driver -#connection.driver_class=org.postgresql.Driver # Hibernate config -hibernate.hbm2ddl.auto=validate -#hibernate.hbm2ddl.auto=update +#hibernate.hbm2ddl.auto=validate +hibernate.hbm2ddl.auto=update hibernate.dialect=org.hibernate.dialect.MySQLDialect -#hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect hibernate.current_session_context_class=thread # Log properties @@ -26,5 +23,3 @@ log4j.logger.org.hibernate.logger.level=INFO # Generated file header file.header================================= - -wapp.root=D:/DevTools/SIMAN/SIMAN_SRC/Workspace/Siman-WS/WebContent/ diff --git a/Workspace/Siman-WS/conf/release_mysql.properties b/Workspace/Siman-WS/conf/release_mysql.properties new file mode 100644 index 0000000..e849ecb --- /dev/null +++ b/Workspace/Siman-WS/conf/release_mysql.properties @@ -0,0 +1,25 @@ +# Connection properties +connection.url=jdbc:mysql://localhost/simer +connection.username=simer +connection.password=admin +connection.driver_class=com.mysql.jdbc.Driver + +# Hibernate config +#hibernate.hbm2ddl.auto=validate +hibernate.hbm2ddl.auto=update +hibernate.dialect=org.hibernate.dialect.MySQLDialect +hibernate.current_session_context_class=thread + +# Log properties +hibernate.show_sql=false +root.logger.appender= +root.logger.level=INFO +com.opensymphony.logger.level=INFO +org.apache.struts2.logger.level=INFO +org.springframework.logger.level=INFO +org.hibernate.logger.level=INFO +org.splat.siman.logger.level=INFO +log4j.logger.org.hibernate.logger.level=INFO + +# Generated file header +file.header================================= diff --git a/Workspace/Siman-WS/conf/release_pg.properties b/Workspace/Siman-WS/conf/release_pg.properties new file mode 100644 index 0000000..88555e3 --- /dev/null +++ b/Workspace/Siman-WS/conf/release_pg.properties @@ -0,0 +1,25 @@ +# Connection properties +connection.url=jdbc:postgresql://localhost:5432/simer +connection.username=simer +connection.password=admin +connection.driver_class=org.postgresql.Driver + +# Hibernate config +#hibernate.hbm2ddl.auto=validate +hibernate.hbm2ddl.auto=update +hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +hibernate.current_session_context_class=thread + +# Log properties +hibernate.show_sql=false +root.logger.appender= +root.logger.level=INFO +com.opensymphony.logger.level=INFO +org.apache.struts2.logger.level=INFO +org.springframework.logger.level=INFO +org.hibernate.logger.level=INFO +org.splat.siman.logger.level=INFO +log4j.logger.org.hibernate.logger.level=INFO + +# Generated file header +file.header=================================