jvanzyl     02/04/12 06:10:33

  Modified:    .        build-bootstrap.xml
  Log:
  Adding a note as to why a temporary bootstrap maven.jar must be placed
  in ${lib.repo} during the bootstrap.
  
  Revision  Changes    Path
  1.71      +24 -4     jakarta-turbine-maven/build-bootstrap.xml
  
  Index: build-bootstrap.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/build-bootstrap.xml,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- build-bootstrap.xml       12 Apr 2002 00:00:54 -0000      1.70
  +++ build-bootstrap.xml       12 Apr 2002 13:10:33 -0000      1.71
  @@ -60,10 +60,19 @@
     <!-- ================================================================== -->
     
     <target
  -   name="bootstrap"
  -   depends="check-properties"
  -   description="--> Update local jars, generate maven's build system, generate 
maven, and setup the distributions.">
  +    name="bootstrap"
  +    depends="check-properties"
  +    description="--> Update local jars, generate maven's build system, generate 
maven, and setup the distributions.">
      
  +    <!-- Remove any old installations of Maven -->
  +    <delete dir="${maven.home}"/>
  +
  +    <!-- Remove any cruft left in build.dest -->
  +    <delete dir="target"/>
  +
  +    <!-- Remove the maven.jar from lib.repo -->
  +    <delete file="${lib.repo}/maven.jar"/>
  +
       <antcall target="update-jars"/>
       <antcall target="generate-build"/>
       <antcall target="install"/>
  @@ -215,7 +224,18 @@
         <include name="org/apache/maven/project/*"/>
         <exclude name="org/apache/maven/ProjectResolver*"/>
       </javac>
  -    
  +
  +    <!-- 
  +      After we have compiled the classes required to generate
  +      the build system we need to make a temporary bootstrap 
  +      maven.jar file and place it in lib.repo so that the generated
  +      build system will work. Maven expects the presence of
  +      ${lib.repo}/maven.jar and we want to use Maven as it
  +      is used for any normal project. Later in the build
  +      process we will replace this bootstrap version of
  +      maven.jar with the completely populated maven.jar.
  +    -->
  +
       <jar
         jarfile="${lib.repo}/maven.jar"
         basedir="${basedir}/bootstrap"
  
  
  


Reply via email to