# ------------------------------------------------------------------- # Copyright 2002-2004 The Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------- # ------------------------------------------------------------------- # P L U G I N P R O P E R T I E S # ------------------------------------------------------------------- # Torque plugin properties # # $Id$ # # DO NOT EDIT THIS FILE - If you need to change the values found # in this file, override them in your project.properties or # build.properties file. # ------------------------------------------------------------------- # ------------------------------------------------------------------- # # B A S I C P R O P E R T I E S # # ------------------------------------------------------------------- torque.project = torque #torque.database = postgresql torque.targetPackage = org.apache.torque torque.runOnlyOnSchemaChange = true # ------------------------------------------------------------------- # # D I R E C T O R I E S # # ------------------------------------------------------------------- torque.output.dir = ${maven.build.dir} torque.schema.dir = ${maven.src.dir}/schema torque.templatePath = ${maven.src.dir}/torqueTemplates torque.doc.dir = ${torque.output.dir}/doc/schema torque.java.dir = ${maven.src.dir}/java torque.ojb.dir = ${maven.src.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 # # ------------------------------------------------------------------- #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 = username #torque.database.password = password #torque.database.host = 127.0.0.1 #torque.database.schema = #torque.database.name = torque.database.manualCreation = false torque.saveJavaName = false # ------------------------------------------------------------------- # # T E M P L A T E V A R I A B L E S # # ------------------------------------------------------------------- torque.addGetByNameMethod = true torque.addIntakeRetrievable = false torque.retrievableInterface = org.apache.turbine.om.Retrievable torque.addSaveMethod = true torque.addTimeStamp = true torque.basePrefix = Base torque.complexObjectModel = true torque.saveException = Exception torque.useClasspath = true torque.useManagers = false torque.objectIsCaching = true 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 # # ------------------------------------------------------------------- # ID Broker Default Values torque.idTableXMLFile = torque.initialID = 101 torque.initialIDValue = 1000 torque.initialIDStep = 10 # Doc settings torque.doc.format = html torque.doc.html.normalFont = font-family: Verdana; font-size: 10pt; torque.doc.html.fkColor = afe295 # ------------------------------------------------------------------- # # C O N T R O L T E M P L A T E S # # ------------------------------------------------------------------- torque.template.sql = sql/base/Control.vm torque.template.om = om/Control.vm torque.template.idTable = sql/id-table/Control.vm torque.template.dataDtd = data/Control.vm torque.template.dataDump = data/dump/Control.vm torque.template.dataSql = sql/load/Control.vm torque.template.doc = doc/Control.vm 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 # # ------------------------------------------------------------------- torque.compile.src.dir = ${torque.java.dir} torque.compile.build.dir = $bin/classes torque.compile.debug = on torque.compile.deprecation = off torque.compile.optimize = off # ------------------------------------------------------------------- # # 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.createdb.includes = *-schema.xml torque.schema.createdb.excludes = torque.schema.initsql.includes = *-schema.xml torque.schema.initsql.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 =