jvanzyl     2002/06/05 15:10:10

  Modified:    .        build-bootstrap.xml
  Log:
  Modified to bootstrap to produce a install structure that is like ant's
  with a bin/ directory and a lib/ directory. This is the start of a maven
  script using jelly and self contained dependencies.
  
  Revision  Changes    Path
  1.95      +30 -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.94
  retrieving revision 1.95
  diff -u -r1.94 -r1.95
  --- build-bootstrap.xml       4 Jun 2002 15:26:24 -0000       1.94
  +++ build-bootstrap.xml       5 Jun 2002 22:10:10 -0000       1.95
  @@ -296,7 +296,6 @@
     <!-- I N S T A L L                                                      -->
     <!-- ================================================================== -->
   
  - 
     <target
       name="install"
       depends="check-properties,clean,generate-build,make-maven-home-dir">
  @@ -358,6 +357,36 @@
         toDir="${maven.home}/examples"
         file="project.properties"
       />
  +
  +    <!--
  +      Make the bin/ directory where we are going to install
  +      our new maven executable scripts.
  +    -->
  +
  +    <copy todir="${maven.home}/bin">
  +      <fileset dir="src/bin"/>
  +    </copy>
  +    
  +    <chmod file="${maven.home}/bin/maven" perm="+x"/>
  +
  +    <taskdef
  +      name="create-patternset"
  +      classname="org.apache.maven.ant.CreatePatternSet">
  +      <classpath>
  +        <pathelement location="bootstrap/classes"/>
  +      </classpath>
  +    </taskdef>
  +
  +    <create-patternset
  +      listFile="jars.list"
  +      reference="install-patternset"
  +    />
  +
  +    <copy todir="${maven.home}/lib">
  +      <fileset dir="${lib.repo}">
  +        <patternset refid="install-patternset"/>     
  +      </fileset>
  +    </copy>
   
     </target>   
   
  
  
  

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

Reply via email to