avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/all build.xml
Date Sat, 27 Apr 2002 11:17:26 GMT
jefft       02/04/27 04:17:26

  Modified:    all      build.xml
  Log:
  Comment out bits that were breaking since the main code and docs have
  emigrated.
  
  Revision  Changes    Path
  1.149     +27 -6     jakarta-avalon-excalibur/all/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/build.xml,v
  retrieving revision 1.148
  retrieving revision 1.149
  diff -u -r1.148 -r1.149
  --- build.xml	25 Apr 2002 09:21:01 -0000	1.148
  +++ build.xml	27 Apr 2002 11:17:26 -0000	1.149
  @@ -211,7 +211,11 @@
       </target>
   
       <!-- Compiles all of the tests after copying them into a new src directory -->
  -    <target name="compile-tests" depends="compile, dependencies-test">
  +    <target name="compile-tests" depends="compile, dependencies-test"
  +        if="do.tests">
  +        <!-- target's 'if' added to disable this target, since there are no
  +             tests left.  Remove if any are added (JT) -->
  +
           <!-- Copy over all of the tests applying test filters -->
           <mkdir dir="${build.testsrc}"/>
           <copy todir="${build.testsrc}">
  @@ -254,8 +258,8 @@
       </target>
   
       <!-- Run all of the tests and generate an html report -->
  -    <target name="test" depends="check"/>
  -    <target name="check" depends="compile-tests" description="perform unit tests">
  +    <target name="test" depends="check" if="do.tests"/>
  +    <target name="check" depends="compile-tests" description="perform unit tests" if="do.tests">
           <mkdir dir="${build.testdocs}"/>
           <mkdir dir="${build.reports}"/>
   
  @@ -520,19 +524,28 @@
   
           <mkdir dir="${dist.docs}"/>
           <mkdir dir="${dist.javadocs}"/>
  +        <!-- 
           <mkdir dir="${dist.docs}/test"/>
   
  +        No more tests (JT)
           <copy todir="${dist.docs}/test">
               <fileset dir="${build.testdocs}"/>
           </copy>
  +        -->
   
  +        <!--
  +        No more docs (JT)
           <copy todir="${dist.docs}">
               <fileset dir="${build.docs}"/>
           </copy>
  +        -->
   
  +        <!--
  +        No more main javadocs (JT)
           <copy todir="${dist.javadocs}">
               <fileset dir="${build.javadocs}"/>
           </copy>
  +        -->
   
           <copy todir="${dist.dir}">
               <fileset dir=".">
  @@ -572,13 +585,19 @@
               <fileset dir="${src.dir}"/>
           </copy>
   
  +        <!--
  +        No more main docs (JT)
           <copy todir="${src.dist.docs}">
               <fileset dir="${build.docs}"/>
           </copy>
  +        -->
   
  +        <!--
  +        No more main javadocs (JT)
           <copy todir="${src.dist.javadocs}">
               <fileset dir="${build.javadocs}"/>
           </copy>
  +        -->
   
           <copy todir="${src.dist.dir}">
               <fileset dir=".">
  @@ -588,8 +607,10 @@
               </fileset>
           </copy>
   
  -
  +        <!--
  +        No more main code (JT)
           <fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java" eol="lf"/>
  +        -->
   
           <chmod dir="${src.dist.dir}" perm="go-rwx" />
   
  @@ -610,7 +631,7 @@
               <fileset dir="${docs.dir}"/>
           </copy>
   
  -        <zip file="${dist.base}/${dist.name}-bin.zip"
  +        <zip zipfile="${dist.base}/${dist.name}-bin.zip"
               basedir="${dist.name}/.."
               includes="${dist.name}/**"/>
   
  @@ -636,7 +657,7 @@
   
           <delete dir="${src.dist.dir}"/>
   
  -        <zip file="${dist.base}/${dist.name}-src.zip"
  +        <zip zipfile="${dist.base}/${dist.name}-src.zip"
               basedir="${dist.name}/.."
               includes="${dist.name}/**"/>
   
  
  
  

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