commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prick...@apache.org
Subject cvs commit: jakarta-commons-sandbox/periodicity/conf/turbine TurbineResources.properties
Date Mon, 25 Mar 2002 09:24:17 GMT
prickett    02/03/25 01:24:17

  Modified:    periodicity build.xml
               periodicity/conf/turbine TurbineResources.properties
  Added:       periodicity/conf/build build.db.properties
                        build.jars.properties build.om.properties deps.list
  Removed:     periodicity/conf/torque build.db.properties
                        build.jars.properties build.om.properties deps.list
  Log:
  Moved the build property files that were orignally in
  jakarta-commons-sandbox/periodicity/conf/torque to
  jakarta-commons-sandbox/periodicity/conf/build
  Fixed the build file to reflect this change
  
  Added a war task that does not depend on building the jar and javadocs, this
  task assumes that they are already up to date. It is convenient for building
  the web archive when only configuration data has changed.
  
  Added a war task that builds the jar file but does not build the javadoc. It
  is useful for when you just want to test a new build with your servlet engine.
  It assumes that the javadocs are already created.
  
  Turrned off the XSLT and XMLRPC services because they were not needed yet and
  they were causing exceptions to be logged in the turbine.log file at startup.
  
  Revision  Changes    Path
  1.19      +21 -7     jakarta-commons-sandbox/periodicity/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/build.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- build.xml	25 Mar 2002 06:07:43 -0000	1.18
  +++ build.xml	25 Mar 2002 09:24:17 -0000	1.19
  @@ -17,9 +17,9 @@
     <property name="build.properties" value="build.properties"/>
     <property name="build.sysclasspath" value="first"/>
     <property file="${build.properties}"/>
  -  <property file="./conf/torque/build.om.properties"/>
  -  <property file="./conf/torque/build.db.properties"/>
  -  <property file="./conf/torque/build.jars.properties"/>
  +  <property file="./conf/build/build.om.properties"/>
  +  <property file="./conf/build/build.db.properties"/>
  +  <property file="./conf/build/build.jars.properties"/>
   
     <path id="classpath">
       <pathelement location="${xerces.jar}"/>
  @@ -82,7 +82,7 @@
       </taskdef>  
       
       <torque-om
  -      contextProperties="./conf/torque/build.om.properties"
  +      contextProperties="./conf/build/build.om.properties"
         controlTemplate="${OMControlTemplate}"
         outputDirectory="${build.src}"
         templatePath="${torque.home}"
  @@ -113,14 +113,18 @@
            basedir="${build.dest}"/>
     </target>  
     
  -  <target name="war" depends="core">
  -    <antcall target="javadoc"/>
  +  <target name="war-no-build-fast">
       <mkdir dir="${build.war}"/>
       <mkdir dir="${build.war}/WEB-INF"/>
       <mkdir dir="${build.war}/WEB-INF/lib"/>
       <mkdir dir="${build.war}/WEB-INF/conf"/>
       <mkdir dir="${build.war}/WEB-INF/templates"/>
       <mkdir dir="${build.war}/WEB-INF/templates/screens"/>
  +    <mkdir dir="${tdk.home}"/>
  +    <gunzip src="${lib.repo}/tdk-templates.tar.gz"
  +          dest="${tdk.home}/tdk-templates.tar"/>
  +    <untar src="${tdk.home}/tdk-templates.tar"
  +           dest="${tdk.home}"/>
       <copy todir="${build.war}/WEB-INF/templates/screens">
         <fileset dir="./src/velocity/test"/>
       </copy>  
  @@ -151,6 +155,16 @@
       <jar jarfile="${build.dir}/${project}.war"
            basedir="${build.war}"/>
     </target>  
  +
  +  <target name="war-build-fast" depends="core">
  +    <antcall target="war-no-build-fast"/>
  +  </target>  
  +
  +  <target name="war" depends="core">
  +    <antcall target="javadoc"/>
  +    <antcall target="war-build-fast"/>
  +  </target>  
  +     
     
     <target name="clean">
       <delete dir="${build.dir}"/>
  @@ -180,7 +194,7 @@
       <httpget
         baseUrl="http://jakarta.apache.org/turbine/jars/"
         dest="${lib.repo}"
  -      dependencyFile="conf/torque/deps.list"
  +      dependencyFile="conf/build/deps.list"
       />
     </target>  
   
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/conf/build/build.db.properties
  
  Index: build.db.properties
  ===================================================================
  # -------------------------------------------------------------------
  # 
  # P E R I O D I C I T Y  D B  C O N F I G U R A T I O N  F I L E
  # 
  # -------------------------------------------------------------------
  
  
  # -------------------------------------------------------------------
  #
  #  M Y S Q L  D A T A B A S E  S E T T I N G S
  #
  # -------------------------------------------------------------------
  
  mysql.createDatabaseUrl = jdbc:mysql://${databaseHost}/mysql
  mysql.databaseUrl = jdbc:mysql://${databaseHost}/periodicity
  mysql.databaseDriver = org.gjt.mm.mysql.Driver
  
  # -------------------------------------------------------------------
  # 
  # P O S T G R E S Q L  D A T A B A S E  S E T T I N G S
  #
  # -------------------------------------------------------------------
  
  postgresql.createDatabaseUrl=jdbc:postgresql://${databaseHost}:5432/template1
  postgresql.databaseUrl=jdbc:postgresql://${databaseHost}:5432/periodicity
  postgresql.databaseDriver=org.postgresql.Driver
  
  # Tells JDBC task that javaName attribute for the tables and columns
  # should be made same as SQL name.
  sameJavaName=false
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/conf/build/build.jars.properties
  
  Index: build.jars.properties
  ===================================================================
  lib.repo=./lib
  velocity.jar = ${lib.repo}/velocity-1.3-dev.jar
  xerces.jar = ${lib.repo}/xercesImpl-2.0.0.jar
  xmlParserAPIs.jar = ${lib.repo}/xmlParserAPIs-2.0.0.jar
  village.jar = ${lib.repo}/village-1.5.3-dev.jar
  log4j.jar = ${lib.repo}/log4j-1.1.3.jar
  commons-collections.jar = ${lib.repo}/commons-collections.jar
  commons-lang.jar = ${lib.repo}/commons-lang-0.1-dev.jar
  jdbc.jar = ${lib.repo}/jdbc2_0-stdext.jar
  junit.jar = ${lib.repo}/junit-3.7.jar
  stratum.jar = ${lib.repo}/stratum-0.1-dev.jar
  torque.jar=${lib.repo}/torque-3.0-dev.jar
  tdk.jar= ${lib.repo}/tdk.jar
  turbine.jar=${lib.repo}/turbine-2.2-b2-dev.jar
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/conf/build/build.om.properties
  
  Index: build.om.properties
  ===================================================================
  # -------------------------------------------------------------------
  # 
  # P E R I O D I C I T Y  O M  C O N F I G U R A T I O N  F I L E
  # 
  # -------------------------------------------------------------------
  
  # -------------------------------------------------------------------
  # 
  #  P E R I O D I C I T Y  P R O J E C T
  #
  # -------------------------------------------------------------------
  # This is the name of your Turbine project. Your generated sources
  # will be named using the project name selected below. If your
  # project=killerapp then you will have a generated:
  #
  # killerapp-schema.sql
  #
  # IMPORTANT!
  # This means that your project schema MUST be named
  # killerapp-schema.xml and it MUST be placed in the
  # schema directory for Torque to work property.
  #
  # The object model sources generated are independent of
  # the project name selected.
  # -------------------------------------------------------------------
  
  project = periodicity
  
  # -------------------------------------------------------------------
  #
  #  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.
  # -------------------------------------------------------------------
  # addSaveMethod=true adds tracking code to determine how to save objects
  #
  # addGetByNameMethod=true adds methods to get fields by name/position
  #
  # complexObjectModel=true generates an om with collection support
  #
  # addTimeStamp=true puts time stamps in generated files
  #
  # addIntakeRetrievable=implement Intake's Retrievable interface
  # -------------------------------------------------------------------
  
  targetPackage=org.apache.commons.periodicity.om
  basePrefix=Base
  addSaveMethod=true
  addGetByNameMethod=true
  complexObjectModel=true
  addTimeStamp=true
  addIntakeRetrievable=false
  
  # -------------------------------------------------------------------
  #
  #  D O C U M E N T A T I O   S E T T I N G S
  #
  # -------------------------------------------------------------------
  # These settings will allow you to customize the way your schema
  # documentation is created.
  # Valid formats are: html, anakia (for use with jakarta-site2)
  # -------------------------------------------------------------------
  documentationFormat=html
  
  # -------------------------------------------------------------------
  # You should NOT have to edit anything below here.
  # -------------------------------------------------------------------
  
  # -------------------------------------------------------------------
  # 
  #  T E M P L A T E  P A T H
  #
  # -------------------------------------------------------------------
  
  templatePath = templates
  
  # -------------------------------------------------------------------
  # 
  #  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
  
  # -------------------------------------------------------------------
  # 
  #  O U T P U T  D I R E C T O R Y
  #
  # -------------------------------------------------------------------
  
  outputDirectory=src
  
  # -------------------------------------------------------------------
  # 
  #  S C H E M A  D I R E C T O R Y
  #
  # -------------------------------------------------------------------
  
  schemaDirectory=schema
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/conf/build/deps.list
  
  Index: deps.list
  ===================================================================
  commons-collections.jar
  commons-lang-0.1-dev.jar
  ecs-1.4.1.jar
  jdbc2_0-stdext.jar
  junit-3.7.jar
  log4j-1.1.3.jar
  stratum-0.1-dev.jar
  torque-3.0-dev.jar
  turbine-2.2-b2-dev.jar
  velocity-1.3-dev.jar
  village-1.5.3-dev.jar
  xercesImpl-2.0.0.jar
  xmlParserAPIs-2.0.0.jar
  
  
  
  1.3       +5 -5      jakarta-commons-sandbox/periodicity/conf/turbine/TurbineResources.properties
  
  Index: TurbineResources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/conf/turbine/TurbineResources.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TurbineResources.properties	25 Mar 2002 06:07:43 -0000	1.2
  +++ TurbineResources.properties	25 Mar 2002 09:24:17 -0000	1.3
  @@ -1,5 +1,5 @@
   # -------------------------------------------------------------------
  -# $Id: TurbineResources.properties,v 1.2 2002/03/25 06:07:43 prickett Exp $
  +# $Id: TurbineResources.properties,v 1.3 2002/03/25 09:24:17 prickett Exp $
   #
   # This is the configuration file for Turbine.
   #
  @@ -37,7 +37,7 @@
   # A facility for system logging.
   services.LoggingService.system.destination.file=/logs/turbine.log
   services.LoggingService.system.className=org.apache.turbine.services.logging.FileLogger
  -services.LoggingService.system.level=INFO
  +services.LoggingService.system.level=DEBUG
   
   # A facility for the scheduler service
   # To disable started/stopped messages set the level to ERROR
  @@ -50,7 +50,7 @@
   services.LoggingService.debug.destination.file=/logs/turbine.log
   services.LoggingService.debug.destination.console=true
   services.LoggingService.debug.className=org.apache.turbine.services.logging.FileLogger
  -services.LoggingService.debug.level=INFO
  +services.LoggingService.debug.level=DEBUG
   
   # A facility for SQL query logging
   # To enable SQL query logging, set the system and sql log level to DEBUG
  @@ -431,7 +431,7 @@
   services.MimeTypeService.classname=org.apache.turbine.services.mimetype.TurbineMimeTypeService
   services.GlobalCacheService.classname=org.apache.turbine.services.cache.TurbineGlobalCacheService
   services.SchedulerService.classname=org.apache.turbine.services.schedule.TurbineSchedulerService
  -services.XmlRpcService.classname=org.apache.turbine.services.xmlrpc.TurbineXmlRpcService
  +#services.XmlRpcService.classname=org.apache.turbine.services.xmlrpc.TurbineXmlRpcService
   services.UniqueIdService.classname=org.apache.turbine.services.uniqueid.TurbineUniqueIdService
   services.UploadService.classname=org.apache.turbine.services.upload.TurbineUploadService
   services.SecurityService.classname=org.apache.turbine.services.security.db.DBSecurityService
  @@ -440,7 +440,7 @@
   services.PullService.classname=org.apache.turbine.services.pull.TurbinePullService
   #services.IntakeService.classname=org.apache.turbine.services.intake.TurbineIntakeService
   services.TemplateService.classname=org.apache.turbine.services.template.TurbineTemplateService
  -services.XSLTService.classname=org.apache.turbine.services.xslt.TurbineXSLTService
  +#services.XSLTService.classname=org.apache.turbine.services.xslt.TurbineXSLTService
   
   # Turn on the appropriate template service.
   services.VelocityService.classname=org.apache.turbine.services.velocity.TurbineVelocityService
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message