jvanzyl     02/02/22 13:48:55

  Modified:    src/templates/build build.xml
  Log:
  - adding target that generates a gump descriptor from the maven
    project descriptor.
  
  Revision  Changes    Path
  1.6       +33 -0     jakarta-turbine-maven/src/templates/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 22 Feb 2002 02:13:46 -0000      1.5
  +++ build.xml 22 Feb 2002 21:48:55 -0000      1.6
  @@ -422,6 +422,39 @@
     </target>
   
     <!-- ================================================================== -->
  +  <!-- G U M P  D E S C R I P T O R                                       -->
  +  <!-- ================================================================== -->
  +  <!-- Converts a Maven descriptor to Gump format so that projects        -->
  +  <!-- using Maven can easily participate in Gump builds. This also       -->
  +  <!-- means that the Gump descriptor will be accurate because if         -->
  +  <!-- the project builds with Maven then the descriptor generated        -->
  +  <!-- for Gump will be correct. Distribution of responsibility.          -->
  +  <!-- ================================================================== -->
  +
  +  <target
  +    name="gump-descriptor"
  +    description="o Generate Gump descriptor from Maven descriptor">
  +
  +    <taskdef name="dvsl" classname="org.apache.tools.dvsl.DVSLTask">
  +      <classpath>
  +        <path refid="classpath"/>
  +      </classpath>
  +    </taskdef>
  +
  +    <!-- Make sure the target directory -->
  +    <mkdir dir="${docs.dest}"/>
  +
  +    <dvsl
  +      basedir="."
  +      destdir="./"
  +      extension=".xml"
  +      style="src/dvsl/gump/convert-project.dvsl"
  +      in="project.xml"
  +      out="${project}.xml"
  +    />
  +  </target>
  +
  +  <!-- ================================================================== -->
     <!-- C L E A N                                                          -->
     <!-- ================================================================== -->
   
  
  
  

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

Reply via email to