This bit from project.xml:
<dependencies>
<maven:pom var="pom"
projectDescriptor="${basedir}/../view/project.xml"/>
<j:forEach var="dep" items="${pom.dependencies}">
<j:if test="${dep.getProperty('war.bundle')=='true'}">
<dependency>
<id>${dep.id}</id>
<groupId>${dep.groupId}</groupId>
<version>${dep.version}</version>
</dependency>
</j:if>
</j:forEach>
</dependencies>
And this bit from maven.xml:
<goal name="foo">
<j:forEach var="dep" items="${pom.dependencies}">
<echo message="${dep.id}"/>
</j:forEach>
</goal>
Doesn't produce what I was hoping for. That is, I want this project's
project.xml to include in its dependencies everything marked 'war.bundle'
in ../view/project.xml. The 'foo' goal doesn't show any such thing.
Is a completely stupid thing to do or am I just doing it the wrong way?
Thanks,
J
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]