that's weird.

In that case, getArtifactId() is probably better as it is less likely
to just stop working in the future.

- Brett


On Fri, 17 Dec 2004 16:34:21 -0500, Helck, Christopher <[EMAIL PROTECTED]> 
wrote:
> Thanks, I was just about to answer my own question. After much playing
> and googling I found this:
> 
> <j:forEach items="${plugin.getDependencies()}" var="dep">
>   <echo>Yeah! ${plugin.getDependencyPath(dep.artifactId())}</echo>
> </j:forEach>
> 
> As a Java programmer putting the parenthesis makes sense. Don't know if
> it is a Jelly bug.
> 
> -chris
> 
> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 4:18 PM
> To: Maven Users List
> Subject: Re: How do jelly nested variables work?
> 
> I think this is just a bug in the version of jelly being used. The
> latter should work AFAICT. Try this:
> 
> <j:set var="dai" value="${dep.artifactId}" />
> <echo>${plugin.getDependencyPath(dai)}</echo>
> 
> On Fri, 17 Dec 2004 15:15:33 -0500, Helck, Christopher <[EMAIL PROTECTED]>
> wrote:
> >
> > How do I handle nested variables? Suppose I have
> >
> > <j:forEach items="${plugin.getDependencies()}" var="dep">
> >   <echo>This does not work:
> > ${plugin.getDependencyPath(${dep.artifactId})}</echo>
> >   <echo>Niether does this:
> > ${plugin.getDependencyPath(dep.artifactId)}</echo>
> > </j:forEach>
> >
> > Thanks,
> > C. Helck
> >
> > The information contained in this e-mail is confidential. This e-mail
> > is intended only for the stated addressee.  If you are not an
> > addressee, you must not disclose, copy, circulate or in any other way
> > use or rely on the information contained in this e-mail. if you have
> > received this e-mail in error, please inform us immediately and delete
> 
> > it and all copies from your system.
> >
> > EBS Dealing Resources International Limited. Registered address: 10
> > Paternoster Square, London EC4M 7DY, United Kingdom. Registered number
> 
> > 2669861.
> >
> > EBS Dealing Resources, Inc, registered in Delaware. Address: 535
> > Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper
> > Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.
> >
> > EBS Dealing Resources Japan Limited, a Japanese Corporation. Address:
> > Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo
> > 104-0033, Japan.
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to