prickett 2002/10/04 18:35:57 Added: periodicity project.properties periodicity/conf/build build.properties build.torque.default.properties build.torque.properties Removed: periodicity/conf/build build.om.properties deps.list Log: Added project.properties Added build.properties Added build.torque.default.properties Added build.torque.properties Removed build.om.properties Removed deps.list Revision Changes Path 1.1 jakarta-commons-sandbox/periodicity/project.properties Index: project.properties =================================================================== # ------------------------------------------------------------------- # # P E R I O D I C I T Y P R O J E C T C O N F I G U R A T I O N F I L E # # ------------------------------------------------------------------- # ------------------------------------------------------------------- # # 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 Not yet supported - If you are motivated you could try # db2400 Not yet supported - If you are motivated you could try # hypersonic Not yet supported - If you are motivated you could try # mysql Supported as of 0.0.1 # oracle Not yet supported - If you are motivated you could try # postgresql Supported as of 0.0.1 # mssql Not yet supported - If you are motivated you could try # # Default: none # ------------------------------------------------------------------- periodicity.database=postgresql # -------------------------------------------------------------------- # # D A T A B A S E U S E R # # -------------------------------------------------------------------- periodicity.database.user=neighbor # -------------------------------------------------------------------- # # D A T A B A S E P A S S W O R D # # -------------------------------------------------------------------- periodicity.database.password=neighbor # -------------------------------------------------------------------- # # D A T A B A S E H O S T # # -------------------------------------------------------------------- databaseHost=127.0.0.1 # -------------------------------------------------------------------- # # C O M P I L E W I T H D E B U G (O N / O F F) # # -------------------------------------------------------------------- debug=on 1.1 jakarta-commons-sandbox/periodicity/conf/build/build.properties Index: build.properties =================================================================== torque.contextProperties=conf/build/build.torque.properties torque.jar=${maven.home}/repository/torque/jars/torque-SNAPSHOT.jar 1.1 jakarta-commons-sandbox/periodicity/conf/build/build.torque.default.properties Index: build.torque.default.properties =================================================================== # ------------------------------------------------------------------- # # D E F A U L T P R O P E R T I E S # # ------------------------------------------------------------------- # This file maps old properties (and their default values) to the # new properties to maintain backwards compatibility. # # Note: lib.dir/torque.lib.dir and build.properties/ # torque.contextProperties are set manually in the build-torque.xml # file as they need to be defined before this file can be loaded from # the classpath. # # Old properties that are commented out are just place holders to # help organize things. # ------------------------------------------------------------------- # ------------------------------------------------------------------- # # B A S I C P R O P E R T I E S # # ------------------------------------------------------------------- torque.home=${maven.build.dir}/torque project=periodicity database=mysql targetPackage=org.apache.commons.periodicity torque.project = ${project} torque.database = ${database} torque.targetPackage = ${targetPackage} torque.runOnlyOnSchemaChange = false # ------------------------------------------------------------------- # # D I R E C T O R I E S # # ------------------------------------------------------------------- outputDirectory = src schemaDirectory = schema templatePath=${torque.home} useClasspath = false torque.output.dir = ${torque.home}/generated torque.schema.dir=src/xml torque.templatePath = ${templatePath} torque.useClasspath = ${useClasspath} torque.doc.dir = ${torque.output.dir}/doc torque.java.dir = ${torque.output.dir}/java torque.javadoc.dir = ${torque.output.dir}/javadoc torque.ojb.dir = ${torque.output.dir}/ojb torque.sql.dir = ${torque.output.dir}/sql torque.omzip.dir = ${torque.output.dir} # ------------------------------------------------------------------- # # D A T A B A S E S E T T I N G S # # ------------------------------------------------------------------- createDatabaseUrl = jdbc:postgresql://127.0.0.1:5432/template1 buildDatabaseUrl = jdbc:postgresql://127.0.0.1:5432/bookstore databaseUrl = jdbc:postgresql://127.0.0.1:5432/bookstore databaseDriver = org.postgresql.Driver databaseUser = jvanzyl databasePassword = databaseHost = 127.0.0.1 databaseSchema = databaseName = database.manual.creation = false sameJavaName = false torque.database.createUrl = ${createDatabaseUrl} torque.database.buildUrl = ${buildDatabaseUrl} torque.database.url = ${databaseUrl} torque.database.driver = ${databaseDriver} torque.database.user = ${databaseUser} torque.database.password = ${databasePassword} torque.database.host = ${databaseHost} torque.database.schema = ${databaseSchema} torque.database.name = ${databaseName} torque.database.manualCreation = ${database.manual.creation} torque.saveJavaName = ${sameJavaName} # ------------------------------------------------------------------- # # T E M P L A T E V A R I A B L E S # # ------------------------------------------------------------------- addGetByNameMethod = true addIntakeRetrievable = false addSaveMethod = true addTimeStamp = true basePrefix = Base complexObjectModel = true overloadKeySetters = true useManagers = false useClasspath = false torque.addGetByNameMethod = ${addGetByNameMethod} torque.addIntakeRetrievable = ${addIntakeRetrievable} torque.addSaveMethod = ${addSaveMethod} torque.addTimeStamp = ${addTimeStamp} torque.basePrefix = ${basePrefix} torque.complexObjectModel = ${complexObjectModel} torque.overloadKeySetters = ${overloadKeySetters} torque.saveException = Exception torque.useClasspath = ${useClasspath} torque.useManagers = ${useManagers} torque.omzip.src.base = false torque.omzip.src.extension = false torque.omzip.bin.base = false torque.omzip.bin.extension = false torque.omzip.deleteFiles = false torque.generateDeprecated = true # ------------------------------------------------------------------- # # M I S C . S E T T I N G S # # ------------------------------------------------------------------- idTableXMLFile = documentationFormat = html initialID = 101 torque.idTableXMLFile = ${idTableXMLFile} torque.doc.format = ${documentationFormat} torque.initialID = ${initialID} # ------------------------------------------------------------------- # # C O N T R O L T E M P L A T E S # # ------------------------------------------------------------------- SQLControlTemplate = sql/base/Control.vm OMControlTemplate = om/Control.vm idTableControlTemplate = sql/id-table/Control.vm DataDTDControlTemplate = data/Control.vm DataDumpControlTemplate = data/dump/Control.vm DataSQLControlTemplate = sql/load/Control.vm DocControlTemplate = doc/Control.vm torque.template.sql = ${SQLControlTemplate} torque.template.om = ${OMControlTemplate} torque.template.idTable = ${idTableControlTemplate} torque.template.dataDtd = ${DataDTDControlTemplate} torque.template.dataDump = ${DataDumpControlTemplate} torque.template.dataSql = ${DataSQLControlTemplate} torque.template.doc = ${DocControlTemplate} torque.template.sqlDbInit = sql/db-init/Control.vm torque.template.ojb = ojb/repository/Control.vm torque.template.ojbModel = ojb/model/Control.vm # ------------------------------------------------------------------- # # C O M P I L E S E T T I N G S # # ------------------------------------------------------------------- src.dir = ${torque.java.dir} build.dest = bin/classes debug = on deprecation = off optimize = off torque.compile.src.dir = ${src.dir} torque.compile.build.dir = ${build.dest} torque.compile.debug = ${debug} torque.compile.deprecation = ${deprecation} torque.compile.optimize = ${optimize} # ------------------------------------------------------------------- # # I N C L U D E A N D E X C L U D E S E T T I N G S # # ------------------------------------------------------------------- torque.schema.sql.includes = *-schema.xml torque.schema.sql.excludes = torque.schema.doc.includes = *-schema.xml torque.schema.doc.excludes = torque.schema.create-db.includes = *-schema.xml torque.schema.create-db.excludes = torque.schema.init-sql.includes = *-schema.xml torque.schema.init-sql.excludes = id-table-schema.xml torque.schema.om.includes = *-schema.xml torque.schema.om.excludes = id-table-schema.xml torque.schema.ojb.includes = *-schema.xml torque.schema.ojb.excludes = 1.1 jakarta-commons-sandbox/periodicity/conf/build/build.torque.properties Index: build.torque.properties =================================================================== # ------------------------------------------------------------------- # # T O R Q U E C O N F I G U R A T I O N F I L E # # ------------------------------------------------------------------- # This file contains the most commonly used properties. For a # a complete list of build properties, please refer to: # http://jakarta.apache.org/turbine/torque/properties-reference.xml # ------------------------------------------------------------------- # ------------------------------------------------------------------- # # P R O J E C T # # ------------------------------------------------------------------- # This is the name of your Torque project. Your non-Java generated # files will be named using the project name selected below. If your # project=killerapp then you will have a generated: # # killerapp-schema.sql # # The custom is then to also rename your project XML schema from # project-schema.xml to killerapp-schema.xml. This is required # for a few targets such as datasql, datadump, and datadtd. # ------------------------------------------------------------------- torque.project=periodicity # ------------------------------------------------------------------- # # 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: # # axion, cloudscape, db2, db2400, hypersonic, interbase, mssql, # mysql, oracle, postgresql, sapdb, sybase # ------------------------------------------------------------------- torque.database=mysql # ------------------------------------------------------------------- # # O B J E C T M O D E L I N F O R M A T I O N # # ------------------------------------------------------------------- # These settings will allow you to customize the way your # Peer-based object model is created. # ------------------------------------------------------------------- # addGetByNameMethod # If true, Torque adds methods to get database fields by name/position. # # addIntakeRetrievable # If true, the data objects will implement Intake's Retrievable # interface # # addSaveMethod # If true, Torque adds tracking code to determine how to save objects. # # addTimeStamp # If true, Torque true puts time stamps in generated om files. # # basePrefix # A string to pre-pend to the file names of base data and peer objects. # # complexObjectModel # If true, Torque generates data objects with collection support and # methods to easily retreive foreign key relationships. # # overloadKeySetters # If false, this prevents overloading of the setter method for # primary/foreign keys. This is useful when working with broken # JavaBean implementations. # # targetPackage # Sets the Java package the om files will generated to, e.g. # "com.company.project.om". # # useClasspath # If true, Torque will not look in the <code>templatePath</code> directory, # for templates, but instead load them from the classpath, allowing you to # use Torque without extracted it from the jar. # # useManagers # If true, Torque will generate Manager classes that use JCS for caching. # Still considered experimental. # ------------------------------------------------------------------- torque.targetPackage = org.apache.torque torque.addGetByNameMethod = true torque.addIntakeRetrievable = false torque.addSaveMethod = true torque.addTimeStamp = true torque.basePrefix = Base torque.complexObjectModel = true torque.overloadKeySetters = true torque.useClasspath = false torque.useManagers = false # ------------------------------------------------------------------- # # 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. # # sameJavaName # If true, the JDBC task will set the javaName attribute for the tables # and columns to be the same as SQL name. # ------------------------------------------------------------------- torque.database.createUrl = jdbc:postgresql://127.0.0.1:5432/template1 torque.database.buildUrl = jdbc:postgresql://127.0.0.1:5432/bookstore torque.database.url = jdbc:postgresql://127.0.0.1:5432/bookstore torque.database.driver = org.postgresql.Driver torque.database.user = jvanzyl torque.database.password = torque.database.host = 127.0.0.1 torque.sameJavaName = false
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>