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-myrmidon build.xml
Date Sat, 04 May 2002 03:43:11 GMT
donaldp     02/05/03 20:43:11

  Modified:    .        build.xml
  Log:
  Change the build file to use less antcalls, less style tasks and have private targets prefixed
with "-"
  
  Submitted by: Dominique Devienne
  
  Revision  Changes    Path
  1.15      +30 -40    jakarta-ant-myrmidon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/build.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- build.xml	30 Apr 2002 05:09:18 -0000	1.14
  +++ build.xml	4 May 2002 03:43:11 -0000	1.15
  @@ -41,74 +41,64 @@
       </target>
   
       <target name="jars" description="Builds the jars for all projects">
  -        <antcall target="for-all-projects">
  +        <antcall target="-for-all-projects">
               <param name="build-subproject.target" value="jars"/>
           </antcall>
       </target>
       <target name="clean" description="Cleans all projects">
  -        <antcall target="for-all-projects">
  +        <antcall target="-for-all-projects">
               <param name="build-subproject.target" value="clean"/>
           </antcall>
       </target>
       <target name="rebuild" description="Rebuilds all projects">
  -        <antcall target="for-all-projects">
  +        <antcall target="-for-all-projects">
               <param name="build-subproject.target" value="rebuild"/>
           </antcall>
       </target>
       <target name="recompile" description="Rebuilds all projects">
  -        <antcall target="for-all-projects">
  +        <antcall target="-for-all-projects">
               <param name="build-subproject.target" value="recompile"/>
           </antcall>
       </target>
       <target name="test" description="Runs unit tests for all projects">
  -        <antcall target="for-all-projects">
  +        <antcall target="-for-all-projects">
               <param name="build-subproject.target" value="test"/>
           </antcall>
       </target>
       <target name="dist-lite" description="Creates a minimal distribution">
  -        <antcall target="for-all-projects">
  +        <antcall target="-for-all-projects">
               <param name="build-subproject.target" value="dist-lite"/>
           </antcall>
       </target>
       <target name="dist" description="Creates the distribution">
  -        <antcall target="for-all-projects">
  +        <antcall target="-for-all-projects">
               <param name="build-subproject.target" value="dist-lite"/>
           </antcall>
       </target>
   
  -    <target name="for-all-projects">
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="buildtools"/>
  -        </antcall>
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="api"/>
  -        </antcall>
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="aut"/>
  -        </antcall>
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="container"/>
  -        </antcall>
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="framework"/>
  -        </antcall>
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="antlib"/>
  -        </antcall>
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="ant1compat"/>
  -        </antcall>
  -        <antcall target="call-project-target">
  -            <param name="build-subproject.project" value="myrmidon"/>
  -        </antcall>
  -    </target>
  -
  -    <target name="call-project-target">
  -        <style in="${build-subproject.project}/project.xml"
  -               out="${build-subproject.project}/${buildfile.name}"
  -               style="${build.xsl}"
  -               processor="trax" />
  -        <ant dir="${build-subproject.project}"
  +    <target name="-for-all-projects" depends="build-files">
  +        <ant dir="buildtools"
  +             antfile="${buildfile.name}"
  +             target="${build-subproject.target}"/>
  +        <ant dir="api"
  +             antfile="${buildfile.name}"
  +             target="${build-subproject.target}"/>
  +        <ant dir="aut"
  +             antfile="${buildfile.name}"
  +             target="${build-subproject.target}"/>
  +        <ant dir="container"
  +             antfile="${buildfile.name}"
  +             target="${build-subproject.target}"/>
  +        <ant dir="framework"
  +             antfile="${buildfile.name}"
  +             target="${build-subproject.target}"/>
  +        <ant dir="antlib"
  +             antfile="${buildfile.name}"
  +             target="${build-subproject.target}"/>
  +        <ant dir="ant1compat"
  +             antfile="${buildfile.name}"
  +             target="${build-subproject.target}"/>
  +        <ant dir="myrmidon"
                antfile="${buildfile.name}"
                target="${build-subproject.target}"/>
       </target>
  
  
  

--
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