Update of /cvsroot/struts/appfuse In directory sc8-pr-cvs1:/tmp/cvs-serv19835 Modified Files: build.xml .cvsignore Added Files: build.properties database.properties Removed Files: database.properties.sample build.properties.sample Log Message: moved build.properties and database.properties back into source tree - there's currently no reason not to have them in there. --- NEW FILE: build.properties --- # build.compiler - seems to be issues using jikes and JDK 1.4 is just as fast build.compiler=modern # name of web application webapp.name=appfuse webapp.version=0.9 # name of generated war file webapp.war=${webapp.name}-${webapp.version}.war # overrides value in build.xml for showing deprecation errors compile.deprecation=true build.dir=${basedir}/build dist.dir=${basedir}/dist test.dir=${build.dir}/test javac.debug=true junit.fork=true xdoclet.force=false # error messages mail settings # for log4j.properties file (in web/WEB-INF/log4.properties). error.mailTo=no...@ma... error.mailHost=localhost error.server=localhost # ftp server properties ftp.server=upload.sourceforge.net ftp.remoteDir=incoming ftp.user=anonymous --- NEW FILE: database.properties --- # This file is used by hibernate to create the database and tables, and also # as the hibernate.properties file in your webapp. The only potential problem # I can see with this is that you might not want your webapp to connect to # the database with a user that has create rights. The initdb task requires # create rights to create the tables. # This values determine which script to load from metadata/sql, the user # must have GRANT privileges to create the database and create to load. database.type=mysql # This value is used to connect to the database to create the test database database.name=jdbc:mysql://localhost:3306/mysql ## JNDI Datasource #hibernate.connection.datasource jdbc/test #hibernate.connection.username db2 #hibernate.connection.password db2 ## PostgreSQL #hibernate.dialect cirrus.hibernate.sql.PostgreSQLDialect #hibernate.connection.driver_class org.postgresql.Driver #hibernate.connection.url jdbc:postgresql:template1 #hibernate.connection.username pg #hibernate.connection.password #hibernate.query.substitutions yes 'Y', no 'N' ## DB2 #hibernate.dialect cirrus.hibernate.sql.DB2Dialect #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver #hibernate.connection.url jdbc:db2:test #hibernate.connection.username db2 #hibernate.connection.password db2 ## MySQL hibernate.dialect net.sf.hibernate.dialect.MySQLDialect hibernate.connection.driver_class = com.mysql.jdbc.Driver hibernate.connection.url = jdbc:mysql://localhost:3306/appfuse?autoReconnect=true hibernate.connection.username = root hibernate.connection.password = hibernate.connection.pool_size = 20 hibernate.statement_cache.size = 6 hibernate.show_sql = true ## Oracle #hibernate.dialect cirrus.hibernate.sql.OracleDialect #hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver #hibernate.connection.username ora #hibernate.connection.password ora #hibernate.connection.url jdbc:oracle:thin:@localhost:1521:test ## Sybase #hibernate.dialect cirrus.hibernate.sql.SybaseDialect #hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver #hibernate.connection.username sa #hibernate.connection.password sasasa #hibernate.connection.rl jdbc:sybase:Tds:co3061835-a:5000/tempdb ## HypersonicSQL #hibernate.dialect cirrus.hibernate.sql.HSQLDialect #hibernate.connection.driver_class org.hsqldb.jdbcDriver #hibernate.connection.username sa #hibernate.connection.password #hibernate.connection.url jdbc:hsqldb:hsql://localhost #hibernate.connection.url jdbc:hsqldb:test ## Mckoi SQL #hibernate.dialect cirrus.hibernate.sql.MckoiDialect #hibernate.connection.driver_class com.mckoi.JDBCDriver #hibernate.connection.url jdbc:mckoi:/// #hibernate.connection.url jdbc:mckoi:local://C:/mckoi0.94h/db.conf #hibernate.connection.username admin #hibernate.connection.password nimda ## SAP DB #hibernate.dialect cirrus.hibernate.sql.SAPDBDialect #hibernate.connection.driver_class com.sap.dbtech.jdbc.DriverSapDB #hibernate.connection.url jdbc:sapdb://localhost/TST #hibernate.connection.username TEST #hibernate.connection.password TEST #hibernate.query.substitutions yes 'Y', no 'N' ## MS SQL Server #hibernate.dialect cirrus.hibernate.sql.SybaseDialect #hibernate.connection.username sa #hibernate.connection.password ## JSQL Driver #hibernate.connection.driver_class com.jnetdirect.jsql.JSQLDriver #hibernate.connection.url jdbc:JSQLConnect://CO3061835-A:1433 ## JTURBO Driver #hibernate.connection.driver_class com.newatlanta.jturbo.driver.Driver #hibernate.connection.url jdbc:JTurbo://CO3061835-A:1433/master ## WebLogic Driver #hibernate.connection.driver_class weblogic.jdbc.mssqlserver4.Driver #hibernate.connection.url jdbc:weblogic:mssqlserver4:CO3061835-A:1433 ## Microsoft Driver (not supported!) #hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver #hibernate.connection.url jdbc:microsoft:sqlserver://CO3061835-A:1433;SelectMethod=cursor ## Interbase #hibernate.dialect cirrus.hibernate.sql.InterbaseDialect #hibernate.connection.username sysdba #hibernate.connection.password masterkey ## DO NOT specify hibernate.connection.sqlDialect ## InterClient #hibernate.connection.driver_class interbase.interclient.Driver #hibernate.connection.url jdbc:interbase://localhost:3060/C:/firebird/test.gdb ## Pure Java #hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver #hibernate.connection.url jdbc:firebirdsql:localhost/3050:/firebird/test.gdb ## Pointbase #hibernate.dialect cirrus.hibernate.sql.PointbaseDialect #hibernate.connection.driver_class com.pointbase.jdbc.jdbcUniversalDriver #hibernate.connection.url jdbc:pointbase:embedded:sample #hibernate.connection.username PBPUBLIC #hibernate.connection.password PBPUBLIC Index: build.xml =================================================================== RCS file: /cvsroot/struts/appfuse/build.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** build.xml 11 Aug 2003 03:48:17 -0000 1.13 --- build.xml 21 Aug 2003 03:35:49 -0000 1.14 *************** *** 101,106 **** <exclude name="${webapp.name}*"/> <exclude name=".*"/> - <exclude name="build.properties"/> - <exclude name="database.properties"/> <exclude name="*.log"/> <include name="**"/> --- 101,104 ---- Index: .cvsignore =================================================================== RCS file: /cvsroot/struts/appfuse/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** .cvsignore 4 Aug 2003 03:44:39 -0000 1.4 --- .cvsignore 21 Aug 2003 03:35:49 -0000 1.5 *************** *** 3,8 **** dist target - build.properties - database.properties junit*.properties *.log --- 3,6 ---- --- database.properties.sample DELETED --- --- build.properties.sample DELETED --- |