jvanzyl 2002/06/06 07:09:00
Modified: src/templates/build/plugins/core build-init.xml
Removed: src/templates/build/plugins/core init.properties
Log:
Using jars.list for creating the maven-classpath.
Revision Changes Path
1.6 +15 -14
jakarta-turbine-maven/src/templates/build/plugins/core/build-init.xml
Index: build-init.xml
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/core/build-init.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build-init.xml 6 Jun 2002 13:29:10 -0000 1.5
+++ build-init.xml 6 Jun 2002 14:09:00 -0000 1.6
@@ -6,7 +6,7 @@
Based on src/templates/build/build-init-target v1.37
author: dion
- version: $Id: build-init.xml,v 1.5 2002/06/06 13:29:10 dion Exp $
+ version: $Id: build-init.xml,v 1.6 2002/06/06 14:09:00 jvanzyl Exp $
-->
<project name="maven-init" default="verify-project">
@@ -35,21 +35,22 @@
We don't want to make a big JAR containing everything so we
are creating a special maven-classpath reference which is
used by the maven operations.
-
- To totally eliminate duplication of this list of files, and remove
- the jars.list file, the bootstrap process needs to be updated so that the
- following target:task pairs no longer need jars.list
- 1) update-jars:get-list
- 2) phase2-compile:create-classpath
- 3) dist:create-patternset
- 4) project-map:create-classpath (see 2)
- 5) generate-build:create-build-system
-->
- <path id="maven-classpath">
- <fileset dir="${lib.repo}" includes="${maven.jars.list}" />
- </path>
-
+ <taskdef
+ name="create-classpath"
+ classname="org.apache.maven.ant.CreateClasspath">
+ <classpath>
+ <pathelement location="${lib.repo}/maven.jar"/>
+ </classpath>
+ </taskdef>
+
+ <create-classpath
+ listFile="${maven.home}/plugins/core/jars.list"
+ reference="maven-classpath"
+ baseDir="${lib.repo}"
+ />
+
<!-- define maven taskdefs, as taskdefs are not yet inheritable? -->
<taskdef resource="maven-taskdefs.properties">
<classpath refid="maven-classpath" />
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>