Never mind, needed to use .getProperty(...) :) 

-----Original Message-----
From: Jose Correia [mailto:[EMAIL PROTECTED] 
Sent: 22 June 2007 12:59 PM
Subject: Jelly question

Hi all
I'm trying to use jelly inside a maven reactor. When I iterate through a
project.xml I have the following component:
When I go through the project.xml Iam trying to identify the
"dependency" elements which have not got this subElement :
"artifact.origin" but jelly does not seem to respond to this:
<j:forEach var="dep" items="${multipoms.dependencies}">
     <j:choose trim="true">
       <j:when test="${( != null) and (not
        <j:forEach var="prop" items="${}">
          <j:set var="propArtifact" value="${prop.artifact.origin}D"/>
          <echo>testing2 ${propArtifact}</echo> 
When i do that echo, even for the top element above (the one with group
id "tools" and which has a artifact.origin) I get:  testing2 D instead
of testing2 traderootD How does one deal with a defined element with a
"." in it? Does one escape it as it seems that ${prop.artifact.origin}
doesn't do the trick....

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to