jvanzyl 02/02/22 09:09:33
Modified: . build.xml
Log:
- add a task to convert a maven project descriptor to a gump descriptor
so the project can participate in gump.
Revision Changes Path
1.7 +26 -0 jakarta-turbine-maven/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.xml 20 Feb 2002 22:50:12 -0000 1.6
+++ build.xml 22 Feb 2002 17:09:33 -0000 1.7
@@ -23,6 +23,9 @@
<pathelement location="${dvsl.jar}" />
<pathelement location="${dom4j.jar}" />
<pathelement location="${gnu.regex.jar}" />
+
+ <pathelement location="${dvsl.jar}" />
+ <pathelement location="${commons-collections.jar}" />
</path>
<!-- ================================================================== -->
@@ -43,6 +46,29 @@
name="usage">
<echo message="use -projecthelp to see the available targets"/>
+ </target>
+
+ <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-maven.xml"
+ out="jakarta-turbine-maven.xml"
+ />
</target>
<!-- ================================================================== -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>