<!-- ================================================= -->
<!-- siman-common: Build Siman-Common project -->
<!-- ================================================= -->
-<!--
+ <!--
<target name="siman-common" description="Builds Siman-Common project">
<ant dir="../${siman-common.project.name}" />
</target>
<fileset dir="${siman-ws.dist.dir}" includes="**/*" />
</delete>
</target>
+
+ <!-- ================================================= -->
+ <!-- prepare-postgres: Prepare config for Postgress -->
+ <!-- ================================================= -->
+ <target name="prepare-postgres" description="prepare configuration for Postgress">
+ <echo message="Prepare configuration for Postgress..." />
+ <copy file="conf/debug_pg.properties" tofile="conf/debug.properties" overwrite="true"/>
+ <copy file="conf/release_pg.properties" tofile="conf/release.properties" overwrite="true"/>
+ <antcall target="debug-config"/>
+ </target>
+
+ <!-- ================================================= -->
+ <!-- prepare-postgres: Prepare config for MySql -->
+ <!-- ================================================= -->
+ <target name="prepare-mysql" description="prepare configuration for MySql">
+ <echo message="Prepare configuration for MySql..." />
+ <copy file="conf/debug_mysql.properties" tofile="conf/debug.properties" overwrite="true"/>
+ <copy file="conf/release_mysql.properties" tofile="conf/release.properties" overwrite="true"/>
+ <antcall target="debug-config"/>
+ </target>
</project>
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
# 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/
-
-
--- /dev/null
+# 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=<appender-ref ref="console"/>
+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@.
+
+
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
# 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/
-
-
# 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
# Generated file header
file.header=================================
-
-wapp.root=D:/DevTools/SIMAN/SIMAN_SRC/Workspace/Siman-WS/WebContent/
--- /dev/null
+# 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=================================
--- /dev/null
+# 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=================================