You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by pr...@apache.org on 2002/05/21 06:15:05 UTC

cvs commit: jakarta-commons-sandbox/periodicity build.xml

prickett    02/05/20 21:15:04

  Modified:    periodicity build.xml
  Log:
  Added a task to create torque properties for a postgresql database.
  
  Revision  Changes    Path
  1.24      +12 -0     jakarta-commons-sandbox/periodicity/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/build.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- build.xml	13 May 2002 06:07:08 -0000	1.23
  +++ build.xml	21 May 2002 04:15:04 -0000	1.24
  @@ -176,6 +176,18 @@
                     driver="${mysql.databaseDriver}"/>
     </target>
   
  +  <target name="create-postgresql-torque-properties">
  +    <taskdef name="torque-props" 
  +      classname="org.apache.commons.periodicity.ant.CustomizeTorquePropsTask">
  +      <classpath refid="classpath"/>
  +    </taskdef>  
  +    <torque-props original="./conf/torque/torque.properties"
  +                  custom="${build.war}/WEB-INF/conf/Torque.properties"
  +                  user="${databaseUser}" password="${databasePassword}"
  +                  url="${postgresql.databaseUrl}" 
  +                  driver="${postgresql.databaseDriver}"/>
  +  </target>
  +  
     <target name="war-build-fast" depends="core">
       <antcall target="war-no-build-fast"/>
     </target>  
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>