[jboss-cvs] jboss-seam/build ...
Peter Muir
peter at bleepbleep.org.uk
Sun Nov 18 15:00:55 EST 2007
User: pmuir
Date: 07/11/18 15:00:55
Modified: build utilities.build.xml
Log:
Move eclipse classpath generation to java class and support attaching of sources from maven repo
Revision Changes Path
1.13 +12 -18 jboss-seam/build/utilities.build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: utilities.build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/build/utilities.build.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- utilities.build.xml 5 Oct 2007 20:46:50 -0000 1.12
+++ utilities.build.xml 18 Nov 2007 20:00:55 -0000 1.13
@@ -36,6 +36,18 @@
</sequential>
</macrodef>
+ <macrodef name="dependenciesWithSources">
+ <attribute name="id" />
+ <attribute name="scope" />
+ <attribute name="pom" />
+ <sequential>
+ <artifact:dependencies pathId="@{scope}.@{id}.path" filesetId="@{scope}.@{id}.fileset" versionsId="@{scope}.@{id}.versions" useScope="@{scope}" sourcesFilesetId="@{scope}.@{id}.source.fileset">
+ <pom file="@{pom}" />
+ <remoterepository refid="local.repository" />
+ </artifact:dependencies>
+ </sequential>
+ </macrodef>
+
<macrodef name="install">
<attribute name="pom" default="" />
<attribute name="jar" default="" />
@@ -107,24 +119,6 @@
</sequential>
</macrodef>
- <macrodef name="eclipseClasspath">
- <attribute name="file" />
- <attribute name="tofile" />
- <attribute name="filterProperty" />
- <element name="classpath.element" implicit="true" />
- <sequential>
- <pathconvert property="eclipse.entries" pathsep=""/> <classpathentry kind="lib" path="">
- <classpath.element />
- </pathconvert>
- <copy overwrite="true" tofile="@{tofile}">
- <fileset file="@{file}" />
- <filterset>
- <filter token="@{filterProperty}" value="<classpathentry kind="lib" path="${eclipse.entries}"/>" />
- </filterset>
- </copy>
- </sequential>
- </macrodef>
-
<macrodef name="maven">
<attribute name="target" />
<attribute name="basedir" />
More information about the jboss-cvs-commits
mailing list