jvanzyl     2002/06/06 07:10:28

  Modified:    .        build-bootstrap.xml
  Log:
  Change the bootstrap to include the jars.list in the distribution so
  that it can be used to build the classpath.
  
  Made a clean-bootstrap target that will backup your maven.home and
  lib.repo and then do the bootstrap. This should be used in
  conjunction with a clean checkout when changing anything
  in the bootstrap mechanism.
  
  Runtime tests should be added too and I will work on this
  later.
  
  Revision  Changes    Path
  1.97      +44 -1     jakarta-turbine-maven/build-bootstrap.xml
  
  Index: build-bootstrap.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/build-bootstrap.xml,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- build-bootstrap.xml       6 Jun 2002 06:21:10 -0000       1.96
  +++ build-bootstrap.xml       6 Jun 2002 14:10:28 -0000       1.97
  @@ -80,6 +80,43 @@
     </target>
   
     <!-- ================================================================== -->
  +  <!-- C L E A N  B O O T S T R A P                                       -->
  +  <!-- ================================================================== -->
  +  <!-- Remove the contents of ${maven.home} and ${lib.repo} to make       -->
  +  <!-- sure that the any bootstrap changes are working. This target       -->
  +  <!-- should be used in conjuction with a clean checkout to make         -->
  +  <!-- sure that everything is cool with the boostrap process.            -->
  +  <!-- ================================================================== -->
  +  
  +  <target
  +    name="clean-bootstrap">
  +
  +    <delete dir="${maven.home}.backup"/>
  +    <delete dir="${lib.repo}.backup"/>
  +
  +    <mkdir dir="${maven.home}.backup"/>
  +    <mkdir dir="${lib.repo}.backup"/>
  +    
  +    <copy todir="${maven.home}.backup">
  +      <fileset dir="${maven.home}"/>
  +    </copy>
  +
  +    <copy todir="${lib.repo}.backup">
  +      <fileset dir="${lib.repo}"/>
  +    </copy>
  +
  +    <delete dir="${maven.home}"/>
  +    <delete dir="${lib.repo}"/>
  +
  +    <mkdir dir="${maven.home}"/>
  +    <mkdir dir="${lib.repo}"/>
  +
  +    <antcall target="bootstrap"/>
  +
  +  </target>
  +    
  +
  +  <!-- ================================================================== -->
     <!-- D E F A U L T  B O O T S T R A P                                   -->
     <!-- ================================================================== -->
     
  @@ -137,7 +174,7 @@
         projectDescriptor="project.xml"
         listFile="jars.list"
       />
  -    
  +
     </target>    
   
     <!-- ================================================================== -->
  @@ -389,6 +426,12 @@
           <patternset refid="install-patternset"/>     
         </fileset>
       </copy>
  +
  +    <copy 
  +      file="jars.list"
  +      tofile="${maven.home}/plugins/core/jars.list" 
  +      overwrite="yes"
  +    />
   
     </target>   
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to