avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur build.xml
Date Tue, 26 Mar 2002 09:21:58 GMT
donaldp     02/03/26 01:21:58

  Modified:    .        build.xml
  Log:
  Style build file
  
  Revision  Changes    Path
  1.119     +68 -68    jakarta-avalon-excalibur/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/build.xml,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- build.xml	21 Mar 2002 14:22:13 -0000	1.118
  +++ build.xml	26 Mar 2002 09:21:58 -0000	1.119
  @@ -1,76 +1,76 @@
   <project name="Excalibur Driver Build file" default="main" basedir=".">
  -  <!-- location of intermediate products -->
  -  <property name="build.dir" value="build"/>
  -  <property name="build.reports" value="${build.dir}/reports"/>
  -  <property name="build.tests" value="${build.dir}/tests"/>
  -
  -  <target name="main" depends="mega-jar"/>
  -
  -  <!-- Build default targets of all subprojects. -->
  -  <target name="build-subprojects-dist">
  -
  -    <ant dir="all"/>
  -    <ant dir="cache"/>
  -    <ant dir="cli"/>
  -    <ant dir="extension"/>
  -    <ant dir="i18n"/>
  -    <ant dir="io"/>
  -    <ant dir="naming"/>
  -    <ant dir="tar"/>
  -  </target>
  -
  -  <!-- Build a summary test report from the results of the tests of all subprojects.
-->
  -  <target name="test-reports" depends="build-subprojects-dist">
  -
  -    <mkdir dir="${build.dir}"/>
  -    <mkdir dir="${build.tests}"/>
  -    <mkdir dir="${build.reports}"/>
  -
  -    <junitreport todir="${build.tests}">
  -      <fileset dir="${basedir}">
  -        <include name="*/build/tests/TEST-*.xml"/>
  -      </fileset>
  -      <report format="frames" todir="${build.reports}"/>
  -    </junitreport>
  -  </target>
  +    <!-- location of intermediate products -->
  +    <property name="build.dir" value="build"/>
  +    <property name="build.reports" value="${build.dir}/reports"/>
  +    <property name="build.tests" value="${build.dir}/tests"/>
  +
  +    <target name="main" depends="mega-jar"/>
  +
  +    <!-- Build default targets of all subprojects. -->
  +    <target name="build-subprojects-dist">
  +
  +        <ant dir="all"/>
  +        <ant dir="cache"/>
  +        <ant dir="cli"/>
  +        <ant dir="extension"/>
  +        <ant dir="i18n"/>
  +        <ant dir="io"/>
  +        <ant dir="naming"/>
  +        <ant dir="tar"/>
  +    </target>
  +
  +    <!-- Build a summary test report from the results of the tests of all subprojects.
-->
  +    <target name="test-reports" depends="build-subprojects-dist">
  +
  +        <mkdir dir="${build.dir}"/>
  +        <mkdir dir="${build.tests}"/>
  +        <mkdir dir="${build.reports}"/>
  +
  +        <junitreport todir="${build.tests}">
  +            <fileset dir="${basedir}">
  +                <include name="*/build/tests/TEST-*.xml"/>
  +            </fileset>
  +            <report format="frames" todir="${build.reports}"/>
  +        </junitreport>
  +    </target>
   
  -  <!-- Distribution build for all subprojects. -->
  -  <target name="dist" depends="test-reports"
  +    <!-- Distribution build for all subprojects. -->
  +    <target name="dist" depends="test-reports"
           description="Create binary distributions of all the products"/>
   
  -  <!-- Generate one mega jar-ball -->
  -  <target name="mega-jar" description="Generate one large jar for all the products">
  -    <ant dir="all" target="all"/>
  -    <ant dir="cache" target="jar"/>
  -    <ant dir="cli" target="jar"/>
  -    <ant dir="extension" target="jar"/>
  -    <ant dir="i18n" target="jar"/>
  -    <ant dir="io" target="jar"/>
  -    <ant dir="naming" target="jar"/>
  -    <ant dir="tar" target="jar"/>
  -
  -    <jlink compress="false" outfile="excalibur-all.jar">
  -      <mergefiles>
  -        <fileset dir=".">
  -          <include name="*/build/lib/*.jar"/>
  -        </fileset>
  -      </mergefiles>
  -    </jlink>
  -  </target>
  -
  -  <target name="clean">
  -    <delete dir="${build.dir}" />
  -
  -    <ant dir="all" target="distclean"/>
  -    <ant dir="cache" target="real-clean"/>
  -    <ant dir="cli" target="real-clean"/>
  -    <ant dir="extension" target="real-clean"/>
  -    <ant dir="i18n" target="real-clean"/>
  -    <ant dir="io" target="real-clean"/>
  -    <ant dir="naming" target="real-clean"/>
  -    <ant dir="tar" target="real-clean"/>
  +    <!-- Generate one mega jar-ball -->
  +    <target name="mega-jar" description="Generate one large jar for all the products">
  +        <ant dir="all" target="all"/>
  +        <ant dir="cache" target="jar"/>
  +        <ant dir="cli" target="jar"/>
  +        <ant dir="extension" target="jar"/>
  +        <ant dir="i18n" target="jar"/>
  +        <ant dir="io" target="jar"/>
  +        <ant dir="naming" target="jar"/>
  +        <ant dir="tar" target="jar"/>
  +
  +        <jlink compress="false" outfile="excalibur-all.jar">
  +            <mergefiles>
  +                <fileset dir=".">
  +                    <include name="*/build/lib/*.jar"/>
  +                </fileset>
  +            </mergefiles>
  +        </jlink>
  +    </target>
  +
  +    <target name="clean">
  +        <delete dir="${build.dir}" />
  +
  +        <ant dir="all" target="distclean"/>
  +        <ant dir="cache" target="real-clean"/>
  +        <ant dir="cli" target="real-clean"/>
  +        <ant dir="extension" target="real-clean"/>
  +        <ant dir="i18n" target="real-clean"/>
  +        <ant dir="io" target="real-clean"/>
  +        <ant dir="naming" target="real-clean"/>
  +        <ant dir="tar" target="real-clean"/>
   
  -  </target>
  +    </target>
   
   </project>
   
  
  
  

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


Mime
View raw message