db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: jakarta-turbine-torque build-gump.xml
Date Sat, 04 Jan 2003 14:34:22 GMT
mpoeschl    2003/01/04 06:34:22

  Modified:    .        build-gump.xml
  Log:
  add resources to the generated jar to make the jetspeed build work
  
  Revision  Changes    Path
  1.4       +15 -15    jakarta-turbine-torque/build-gump.xml
  
  Index: build-gump.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/build-gump.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build-gump.xml	7 May 2002 19:19:31 -0000	1.3
  +++ build-gump.xml	4 Jan 2003 14:34:22 -0000	1.4
  @@ -1,19 +1,13 @@
  -<!--
  -
  -  WARNING: This file is generated! Do not edit by hand!
  -  
  --->
  -
   <project name="maven" default="jar" basedir=".">
   
     <target
       name="jar">
  -    
  +
       <property name="build.dir" value="target"/>
       <property name="build.dest" value="${maven.build.dir}/classes"/>
  -    
  +
       <mkdir dir="${maven.build.dest}"/>
  -    
  +
       <javac
         destdir="${maven.build.dest}"
         excludes="**/package.html"
  @@ -25,12 +19,18 @@
         </src>
       </javac>
   
  -    <jar
  -      jarfile="${maven.build.dir}/${maven.final.name}.jar"
  -      basedir="${maven.build.dest}"
  -      excludes="**/package.html"
  -    />
  -    
  +    <!-- copy database.dtd to the right place -->
  +    <copy file="src/dtd/database.dtd"
  +          todir="${maven.build.dest}/org/apache/torque/engine/database/transform"/>
  +    <!-- copy default.properties to the right place -->
  +    <copy file="src/conf/default.properties"
  +          todir="${maven.build.dest}/org/apache/torque"/>
  +
  +    <!-- build the jar incl. the templates -->
  +    <jar jarfile="${maven.build.dir}/${maven.final.name}.jar">
  +      <fileset dir="${maven.build.dest}" excludes="**/package.html"/>
  +      <fileset dir="src/templates"/>
  +    </jar>
     </target>
   
   </project>
  
  
  

Mime
View raw message