You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@locus.apache.org on 2000/12/05 10:18:54 UTC

cvs commit: jakarta-ant/proposal/myrmidon build.xml

donaldp     00/12/05 01:18:54

  Modified:    proposal/myrmidon build.xml
  Log:
  Continued developing myrmidon
  * simplified logging interface to be independent of org.apache.log
  * made it so that you no longer need to build a classpath and hand it to ant!!!
  * added ant-call task
  
  Revision  Changes    Path
  1.2       +21 -3     jakarta-ant/proposal/myrmidon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2000/12/04 13:37:25	1.1
  +++ build.xml	2000/12/05 09:18:53	1.2
  @@ -156,11 +156,13 @@
              optimize="${optimize}"
              deprecation="${deprecation}" />
   
  +<!--
       <copy todir="${build.classes}">
         <fileset dir="${build.src}">
  -        <exclude name="**/*.properties"/>
  +        <include name="**/*.properties"/>
         </fileset>
       </copy>
  +-->
   
       <mkdir dir="${build.classes}/TASK-LIB"/>
       <copy file="${build.src}/org/apache/ant/tasks/core/taskdefs.properties" 
  @@ -175,8 +177,24 @@
          ===================================================================
     -->
     <target name="jar-ant" depends="compile">
  -    <jar jarfile="${build.lib}/ant.jar" basedir="${build.classes}">
  +    <jar jarfile="${build.lib}/ant.jar" 
  +         basedir="${build.classes}" 
  +         manifest="${manifest.dir}/ant-manifest.mf">
  +      <include name="org/apache/ant/launcher/*" />
  +    </jar>
  +  </target>
  +
  +  <!--
  +       ===================================================================
  +                          Creates the myrmidon.jar file
  +       ===================================================================
  +  -->
  +  <target name="jar-myrmidon" depends="compile">
  +    <jar jarfile="${build.lib}/myrmidon.jar" 
  +         basedir="${build.classes}" 
  +         manifest="${manifest.dir}/myrmidon-manifest.mf">
         <include name="org/apache/ant/**" />
  +      <exclude name="org/apache/ant/launcher/*" />
         <exclude name="org/apache/ant/tasks/**" />
         <exclude name="org/apache/ant/convert/core/**" />
       </jar>
  @@ -200,7 +218,7 @@
                             Creates the distribution
          ===================================================================
     -->
  -  <target name="dist" depends="jar-ant,jar-core">
  +  <target name="dist" depends="jar-ant,jar-core,jar-myrmidon">
       <mkdir dir="${dist.dir}"/>
       <mkdir dir="${dist.bin}"/>
       <mkdir dir="${dist.lib}"/>