tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@hyperreal.org
Subject cvs commit: jakarta-tools/ant build.xml
Date Tue, 07 Dec 1999 02:23:58 GMT
stefano     99/12/06 18:23:57

  Modified:    ant      build.xml
  Log:
  cleaned it up a little and removed the multpile "main" target
  
  Revision  Changes    Path
  1.5       +14 -26    jakarta-tools/ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tools/ant/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	1999/12/01 05:37:31	1.4
  +++ build.xml	1999/12/07 02:23:55	1.5
  @@ -1,33 +1,27 @@
  -<!-- basedir attrib of project is optional -->
  +<!-- Ant own build file -->
   
  -<project name="BuildTool" default="main" basedir=".">
  +<project name="Ant" default="main" basedir=".">
  +
     <property name="dist.dir" value="${user.home}/opt" />
     <property name="package.dir" value="/home/ftp/pub/tomcat" />
   
  -  <!-- system properties can be defined here, compiler can have the values:
  -       classic, modern, jikes -->
     <property name="ant.dir" value="${dist.dir}/ant" />
     <property name="build.compiler" value="classic"/>
   
  -  <!-- need to define the default taskdefs elsewhere -->
  -
     <target name="main">
       <mkdir dir="build"/>
  -    <javac srcdir="src/main" destdir="build" classpath="lib/projectx-tr2.jar"
  -     debug="on" deprecation="on"/>
  -  </target>
  -
  -  <target name="dist" depends="main">
  -    <!-- need to make a way for a jar to include other jar files -->
  -    <jar jarfile="../ant.jar" basedir="build" items="org"
  -     manifest="src/etc/manifest"/>
  +    <javac srcdir="src/main" 
  +           destdir="build" 
  +           classpath="lib/projectx-tr2.jar"
  +           debug="on" 
  +           deprecation="on"/>
     </target>
   
     <target name="dist" depends="main">
  -     <mkdir dir="${ant.dir}" />
  -     <mkdir dir="${ant.dir}/lib" />
  -     <mkdir dir="${ant.dir}/bin" />
  -     <mkdir dir="${ant.dir}/docs" />
  +     <mkdir dir="${ant.dir}"/>
  +     <mkdir dir="${ant.dir}/lib"/>
  +     <mkdir dir="${ant.dir}/bin"/>
  +     <mkdir dir="${ant.dir}/docs"/>
        <jar jarfile="${ant.dir}/lib/ant.jar" basedir="build" items="org"  manifest="src/etc/manifest"/>
        <copyfile src="../projectx-tr2.jar" dest="${ant.dir}/lib/xml.jar"/>
        <copyfile src="build.xml" dest="${ant.dir}/lib/build.xml"/>
  @@ -37,19 +31,13 @@
        <chmod perm="+x" src="${ant.dir}/bin/ant" />
     </target>
   
  -  
     <target name="package" depends="dist" >
  -     <jar jarfile="${package.dir}/ant.zip" basedir="${ant.dir}" items="bin,lib,docs,src.zip"
/>
  +     <jar jarfile="${package.dir}/ant.zip" basedir="${ant.dir}" items="bin,lib,docs,src.zip"/>
    </target>
   
  -  <target name="install" >
  -    <!-- make symbolic link -->
  -    <!-- replace ANT_HOME in ant -->
  -  </target>
  -
     <target name="clean">
       <deltree dir="build"/>
     </target>
  -
  +  
   </project>
   
  
  
  

Mime
View raw message