ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon build.xml
Date Sat, 02 Feb 2002 15:46:10 GMT
donaldp     02/02/02 07:46:10

  Modified:    proposal/myrmidon build.xml
  Log:
  Use antlib (and thus xdoclet) to generate the ant librarys
  
  Revision  Changes    Path
  1.46      +23 -82    jakarta-ant/proposal/myrmidon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/build.xml,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- build.xml	2 Feb 2002 14:00:09 -0000	1.45
  +++ build.xml	2 Feb 2002 15:46:10 -0000	1.46
  @@ -352,45 +352,29 @@
         <include name="org/apache/myrmidon/*" />
       </jar>
   
  -    <jar jarfile="${build.lib}/core.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/core/**" />
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="core-ant-descriptor.xml"/>
  -      </zipfileset>
  -    </jar>
  -
  -    <jar jarfile="${build.lib}/archive.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/archive/**" />
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="archive-ant-descriptor.xml"/>
  -      </zipfileset>
  -    </jar>
  -
  -    <jar jarfile="${build.lib}/cvslib.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/cvslib/**" />
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="cvslib-ant-descriptor.xml"/>
  -      </zipfileset>
  -    </jar>
  -
  -    <jar jarfile="${build.lib}/nativelib.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/nativelib/**" />
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="nativelib-ant-descriptor.xml"/>
  -      </zipfileset>
  -    </jar>
  -
  -    <!--
  -    <jar jarfile="${build.lib}/vfile.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/vfile/**" />
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="vfile-ant-descriptor.xml"/>
  -      </zipfileset>
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-roles.xml">
  -        <include name="vfile-ant-roles.xml"/>
  -      </zipfileset>
  -    </jar>
  -    -->
  +    <ant antfile="antlib.xml">
  +      <property name="antlib.name" value="core"/>
  +    </ant>
  +
  +    <ant antfile="antlib.xml">
  +      <property name="antlib.name" value="archive"/>
  +    </ant>
  +
  +    <ant antfile="antlib.xml">
  +      <property name="antlib.name" value="cvslib"/>
  +    </ant>
  +
  +    <ant antfile="antlib.xml">
  +      <property name="antlib.name" value="nativelib"/>
  +    </ant>
  +
  +    <ant antfile="antlib.xml">
  +      <property name="antlib.name" value="security"/>
  +    </ant>
  +
  +    <ant antfile="antlib.xml">
  +      <property name="antlib.name" value="runtime"/>
  +    </ant>
   
       <jar jarfile="${build.lib}/selftest.atl"
            basedir="${build.classes}"
  @@ -408,49 +392,6 @@
         <include name="org/apache/antlib/selftest/extension1/**" />
       </jar>
   
  -    <jar jarfile="${build.lib}/security.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/security/**"/>
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="security-ant-descriptor.xml"/>
  -      </zipfileset>
  -    </jar>
  -
  -    <jar jarfile="${build.lib}/runtime.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/runtime/**"/>
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="runtime-ant-descriptor.xml"/>
  -      </zipfileset>
  -    </jar>
  -
  -    <jar jarfile="${build.lib}/ant1.atl" basedir="${build.classes}">
  -      <include name="org/apache/antlib/ant1/**"/>
  -      <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
  -        <include name="ant1-ant-descriptor.xml"/>
  -      </zipfileset>
  -    </jar>
  -
  -  </target>
  -
  -  <target name="xdoclet">
  -    <path id="xdoclet.classpath">
  -      <pathelement location="lib/xdoclet.jar"/>
  -      <pathelement location="lib/log4j-core.jar"/>
  -      <path refid="project.class.path"/>
  -    </path>
  -    <taskdef name="xdoclet"
  -           classname="xdoclet.DocletTask"
  -           classpath="lib/xdoclet.jar"/>
  -    <xdoclet sourcepath="${java.dir}"
  -              destdir="${build.dir}"
  -              classpathref="xdoclet.classpath">
  -      <fileset dir="${java.dir}">
  -        <include name="**/*.java" />
  -      </fileset>
  -      <template templateFile="${manifest.dir}/core-ant-descriptor.template"
  -                destinationfile="core-ant-descriptor.xml"/>
  -      <template templateFile="${manifest.dir}/builtin-ant-roles.template"
  -                destinationfile="builtin-ant-roles.xml"/>
  -    </xdoclet>
     </target>
   
     <!-- Compiles and runs the unit tests -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message