Here the gist:
For various reasons, during development of a web application I use tomcat's cross context feature. This means that specific jar files need to be in tomcat's shared lib and not in the WEB-INF/lib directory. I am trying to write a preGoal to set the war.bundle property to false on a particular dependency during development.
What I have so far is:
<j:forEach var="lib" items="${pom.artifacts}">
<j:set var="dep" value="${lib.dependency}"/> <j:if test="${dep.getProperty('war.bundle')=='true' and dep.artifactId=='bms'}"> <j:expr value="${dep.setProperty('war.bundle','false')}" />
<ant:echo>Found bms</ant:echo>
</j:if>
</j:forEach>
The j:expr line does not work and I'm not sure how one would do this.
Thanks, -Trav
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
