jvanzyl 01/09/16 17:02:01 Modified: src/tdk/apps/2 build.properties src/tdk/apps/3 build.properties Log: - simplifying the build properties files, getting rid of a couple unused properties and adding back some @x@ substitutions. Revision Changes Path 1.5 +9 -52 jakarta-turbine-tdk/src/tdk/apps/2/build.properties Index: build.properties =================================================================== RCS file: /home/cvs/jakarta-turbine-tdk/src/tdk/apps/2/build.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.properties 2001/09/13 17:19:20 1.4 +++ build.properties 2001/09/17 00:02:01 1.5 @@ -3,9 +3,6 @@ # P R O J E C T P R O P E R T I E S # # ------------------------------------------------------------------- -# These are the properties for your Turbine project. The properties -# in this file will override properties set anywhere else. -# ------------------------------------------------------------------- turbine.version=@TURBINE_VERSION@ tdk.home=@TDK_HOME@ @@ -15,9 +12,7 @@ webapp.root = ${tdk.home}/webapps/${turbine.app} target.package = @TARGET_PACKAGE@ target.directory = @TARGET_DIRECTORY@ -classes = ${webapp.root}/WEB-INF/classes build.dest = ${webapp.root}/WEB-INF/classes - version=0.1 src.dir=@SRC_DIR@ conf.dir=@CONF_DIR@ @@ -29,27 +24,21 @@ # ------------------------------------------------------------------- # -# T A R G E T D A T A B A S E -# -# ------------------------------------------------------------------- -# This is the target database, only considered when generating -# the SQL for your Turbine project. Your possible choices are -# -# db2 -# hypersonic -# mysql -# oracle, -# postgresql +# D A T A B A S E S E T T I N G S # -# Default: none # ------------------------------------------------------------------- database=mysql #database.manual.creation = true +databaseUrl = jdbc:mysql://127.0.0.1/newapp +databaseDriver = org.gjt.mm.mysql.Driver +databaseUser = user +databasePassword = password +databaseHost = 127.0.0.1 # ------------------------------------------------------------------- # -# O B J E C T M O D E L I N F O R M A T I O N +# T O R Q U E C O N F I G U R A T I O N # # ------------------------------------------------------------------- # These settings will allow you to customize the way your @@ -59,44 +48,12 @@ extend=TurbineMapBuilder mapname=TurbineMap suffix=MapBuilder -targetPackage=org.mycompany.newapp.om -targetDirectory=org/mycompany/newapp/om +targetPackage=@TARGET_PACKAGE@ +targetDirectory=@TARGET_DIRECTORY@ addSaveMethod=true addGetByNameMethod=false complexObjectModel=true basePrefix=Base - -# ------------------------------------------------------------------- -# -# D A T A B A S E S E T T I N G S -# -# ------------------------------------------------------------------- -# JDBC connection settings. This is used by the JDBCToXML task that -# will create an XML database schema from JDBC metadata. These -# settings are also used by the SQL Ant task to initialize your -# Turbine system with the generated SQL. -# ------------------------------------------------------------------- - -#-------------------------------------------------------------------- -# HSQL use -# FULLPATH = full path to where you want the database -# Note: either torque or HSQL is really touchy about extra spaces -# or other stuff after each line below. -#-------------------------------------------------------------------- -#databaseUrl=jdbc:HypersonicSQL:FULLPATH/newapp -#databaseDriver=org.hsql.jdbcDriver -#databaseUser=sa -#databasePassword= - -databaseUrl = jdbc:mysql://127.0.0.1/newapp -databaseDriver = org.gjt.mm.mysql.Driver -databaseUser = user -databasePassword = password -databaseHost = 127.0.0.1 - -# ------------------------------------------------------------------- -# You should NOT have to edit anything below here. -# ------------------------------------------------------------------- # ------------------------------------------------------------------- # 1.3 +9 -52 jakarta-turbine-tdk/src/tdk/apps/3/build.properties Index: build.properties =================================================================== RCS file: /home/cvs/jakarta-turbine-tdk/src/tdk/apps/3/build.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.properties 2001/09/15 16:12:21 1.2 +++ build.properties 2001/09/17 00:02:01 1.3 @@ -3,9 +3,6 @@ # P R O J E C T P R O P E R T I E S # # ------------------------------------------------------------------- -# These are the properties for your Turbine project. The properties -# in this file will override properties set anywhere else. -# ------------------------------------------------------------------- turbine.version=@TURBINE_VERSION@ tdk.home=@TDK_HOME@ @@ -15,9 +12,7 @@ webapp.root = ${tdk.home}/webapps/${turbine.app} target.package = @TARGET_PACKAGE@ target.directory = @TARGET_DIRECTORY@ -classes = ${webapp.root}/WEB-INF/classes build.dest = ${webapp.root}/WEB-INF/classes - version=0.1 src.dir=@SRC_DIR@ conf.dir=@CONF_DIR@ @@ -29,27 +24,21 @@ # ------------------------------------------------------------------- # -# T A R G E T D A T A B A S E -# -# ------------------------------------------------------------------- -# This is the target database, only considered when generating -# the SQL for your Turbine project. Your possible choices are -# -# db2 -# hypersonic -# mysql -# oracle, -# postgresql +# D A T A B A S E S E T T I N G S # -# Default: none # ------------------------------------------------------------------- database=mysql #database.manual.creation = true +databaseUrl = jdbc:mysql://127.0.0.1/newapp +databaseDriver = org.gjt.mm.mysql.Driver +databaseUser = user +databasePassword = password +databaseHost = 127.0.0.1 # ------------------------------------------------------------------- # -# O B J E C T M O D E L I N F O R M A T I O N +# T O R Q U E C O N F I G U R A T I O N # # ------------------------------------------------------------------- # These settings will allow you to customize the way your @@ -59,44 +48,12 @@ extend=TurbineMapBuilder mapname=TurbineMap suffix=MapBuilder -targetPackage=org.mycompany.newapp.om -targetDirectory=org/mycompany/newapp/om +targetPackage=@TARGET_PACKAGE@ +targetDirectory=@TARGET_DIRECTORY@ addSaveMethod=true addGetByNameMethod=false complexObjectModel=true basePrefix=Base - -# ------------------------------------------------------------------- -# -# D A T A B A S E S E T T I N G S -# -# ------------------------------------------------------------------- -# JDBC connection settings. This is used by the JDBCToXML task that -# will create an XML database schema from JDBC metadata. These -# settings are also used by the SQL Ant task to initialize your -# Turbine system with the generated SQL. -# ------------------------------------------------------------------- - -#-------------------------------------------------------------------- -# HSQL use -# FULLPATH = full path to where you want the database -# Note: either torque or HSQL is really touchy about extra spaces -# or other stuff after each line below. -#-------------------------------------------------------------------- -#databaseUrl=jdbc:HypersonicSQL:FULLPATH/newapp -#databaseDriver=org.hsql.jdbcDriver -#databaseUser=sa -#databasePassword= - -databaseUrl = jdbc:mysql://127.0.0.1/newapp -databaseDriver = org.gjt.mm.mysql.Driver -databaseUser = user -databasePassword = password -databaseHost = 127.0.0.1 - -# ------------------------------------------------------------------- -# You should NOT have to edit anything below here. -# ------------------------------------------------------------------- # ------------------------------------------------------------------- # --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]