db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator build-gump.xml
Date Tue, 18 Feb 2003 20:02:04 GMT
mpoeschl    2003/02/18 12:02:03

  Added:       src/generator build-gump.xml
  Log:
  add gump build file for the generator
  
  Revision  Changes    Path
  1.1                  db-torque/src/generator/build-gump.xml
  
  Index: build-gump.xml
  ===================================================================
  <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"
        debug="false"
        deprecation="false"
        optimize="false">
        <src>
           <pathelement location="src/java"/>
        </src>
      </javac>
  
      <!-- 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