From: rkv Date: Wed, 12 Dec 2012 09:14:04 +0000 (+0000) Subject: Ant targets for postgres and mysql configurations building are added. X-Git-Tag: Root_Delivery2_2013_04_22~204 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b99667abaeeb1ca2db673334a9789aa064a20d33;p=tools%2Fsiman.git Ant targets for postgres and mysql configurations building are added. --- diff --git a/Workspace/Siman/build.xml b/Workspace/Siman/build.xml index 4c2fa02..82494cf 100644 --- a/Workspace/Siman/build.xml +++ b/Workspace/Siman/build.xml @@ -145,4 +145,24 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Workspace/Siman/conf/debug_mysql.properties b/Workspace/Siman/conf/debug_mysql.properties new file mode 100644 index 0000000..997c048 --- /dev/null +++ b/Workspace/Siman/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/conf/debug_pg.properties b/Workspace/Siman/conf/debug_pg.properties index 3bbbbdc..e846683 100644 --- a/Workspace/Siman/conf/debug_pg.properties +++ b/Workspace/Siman/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 diff --git a/Workspace/Siman/conf/release_mysql.properties b/Workspace/Siman/conf/release_mysql.properties new file mode 100644 index 0000000..e849ecb --- /dev/null +++ b/Workspace/Siman/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/conf/release_pg.properties b/Workspace/Siman/conf/release_pg.properties new file mode 100644 index 0000000..88555e3 --- /dev/null +++ b/Workspace/Siman/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=================================