Hei,
I have tried to use cactus ant script within maven (without the
maven-cactus plugin, because I was offline and couldn't download it).
I managed to make it work.
At some point I needed to add some cactus libs (or dependencies) to the
classpath, which required me to add a particular path.
I solved it doing the following:
<j:forEach var="artifact" items="${pom.artifacts}">
<j:if test="${artifact.dependency.artifactId =='httpunit'}">
<ant:property name="httpunit.path" value="${artifact.path}"/>
<echo message="found httpunit path ${httpunit.path}"/>
</j:if>
[...]
</j:forEach>
I guess there's something cleaner allowing to access directly an
artifact given its name or id.
Any idea?
Jerome
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]