Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

<?xml version = '1.0' encoding = 'windows-1252'?>

<!--Ant buildfile generated by Oracle JDeveloper 10g-->
<!--Generated 20/04/2006 11:59:08-->
<project name="Archive" default="make" basedir=".">

   <!--Set the JDeveloper home directory-->
   <property name="jdev.home" value="$JAVA_HOME"/>

   <!--Set the output directories-->
   <property name="compile.outdir" value="classes"/>
   <property name="javadoc.outdir" value="javadoc"/>

   <!--Set the classpath-->
   <path id="classpath">
      <pathelement location="classes12.jar"/>
   </path>

   <!--Set the source path-->
   <property name="src.dir" value=""/>
   <path id="srcpath">
      <pathelement location="${src.dir}"/>
   </path>

   <target name="init">
      <tstamp/>
   </target>

   <target name="compile" depends="init">
      <mkdir dir="${compile.outdir}"/>
      <!--Compile Java source files-->
      <javac destdir="${compile.outdir}" includeAntRuntime="off" target="1.5">
         <classpath refid="classpath"/>
         <src refid="srcpath"/>
         <include name="com/erggroup/generate_release_notes/ReleaseNotesQuery.java"/>
         <include name="com/erggroup/generate_release_notes/IntItem.java"/>
      </javac>
      <jar destfile="gen_rel_notes.jar" basedir="classes" manifest="Manifest.txt">
                  <fileset dir="${compile.outdir}">
                          <include name="**/*.class"/>
                  </fileset>
      </jar>
   </target>

   <target name="doc" depends="init">
      <mkdir dir="${javadoc.outdir}"/>
      <!--Create Javadoc-->
      <javadoc sourcepathref="srcpath" classpathref="classpath" destdir="${javadoc.outdir}" version="false" author="false" encoding="Cp1252" additionalparam="-J-Xmx32m">
         <package name="com.erggroup.generate_release_notes"/>
      </javadoc>
   </target>

   <target name="clean">
      <!--Delete output directories-->
      <delete dir="${compile.outdir}"/>
      <delete dir="${javadoc.outdir}"/>
   </target>

   <target name="make" depends="compile"/>

   <target name="rebuild" depends="clean,compile"/>

   <target name="all" depends="compile,doc"/>

</project>