jvanzyl     2002/06/03 20:39:42

  Modified:    src/scripts README make-maven-lib pom.jelly
  Added:       src/scripts build.xml
  Log:
  Added an ant build file to the example so we can see the use of the
  AntBuildTag taglib in action to produce the spectacular zero-length
  'file-touched-by-ant' :-)
  
  Revision  Changes    Path
  1.2       +4 -0      jakarta-turbine-maven/src/scripts/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/scripts/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README    3 Jun 2002 22:41:16 -0000       1.1
  +++ README    4 Jun 2002 03:39:42 -0000       1.2
  @@ -8,4 +8,8 @@
   1) ./make-maven-lib
   2) ./test.sh
   
  +You should see the value of the project name and the project id. In addition
  +you should see the product of an Ant build which is a file named:
  +touched-file-by-ant.
  +
   jvz.
  
  
  
  1.3       +2 -1      jakarta-turbine-maven/src/scripts/make-maven-lib
  
  Index: make-maven-lib
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/scripts/make-maven-lib,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- make-maven-lib    3 Jun 2002 22:46:21 -0000       1.2
  +++ make-maven-lib    4 Jun 2002 03:39:42 -0000       1.3
  @@ -14,7 +14,8 @@
         maven.jar \
         velocity-1.4-dev.jar \
         xercesImpl-2.0.0.jar \
  -      xmlParserAPIs-2.0.0.jar"
  +      xmlParserAPIs-2.0.0.jar \
  +      ant-1.4.1.jar"
   
   mkdir -p $MAVEN_HOME/lib
   
  
  
  
  1.2       +2 -0      jakarta-turbine-maven/src/scripts/pom.jelly
  
  Index: pom.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/scripts/pom.jelly,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pom.jelly 3 Jun 2002 22:41:16 -0000       1.1
  +++ pom.jelly 4 Jun 2002 03:39:42 -0000       1.2
  @@ -9,4 +9,6 @@
       
     </maven:pom>
   
  +  <maven:build buildFile="build.xml"/>
  +
   </j:jelly>
  
  
  
  1.1                  jakarta-turbine-maven/src/scripts/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="maven" default="test" basedir=".">
  
    <!-- Give user a chance to override without editing this file
         (and without typing -D each time they invoke a target) -->
  
    <!-- Allow any user specific values to override the defaults -->
    <property file="${user.home}/build.properties" />
    <!-- Allow user defaults for this project -->
    <property file="build.properties" />
    <!-- Set default values for the build -->
    <property file="project.properties" />
  
    <target
      name="test">
      
      <touch file="touched-file-by-ant"/>
      
      <echo>
        Hello! I'm an Ant build being run from Jelly!
      </echo>
    
    </target>
    
  </project>
  
  
  

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

Reply via email to