Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-07 Thread Henning P. Schmiedehausen
Henri Yandell [EMAIL PROTECTED] writes: On 9/6/05, Andy Glick [EMAIL PROTECTED] wrote: Henri, I'm the glick who conversed with you on the #maven irc. I got something similar to your example to work, I think, but I'm using Maven 1.1b1 rather than Maven 1.0.1. I'm not sure why your version

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-07 Thread Henning P. Schmiedehausen
Brett Porter [EMAIL PROTECTED] writes: --=_Part_7381_9162304.1126055177768 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Looks like it is always going to be that way.

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-07 Thread Henning P. Schmiedehausen
Brett Porter [EMAIL PROTECTED] writes: --=_Part_7381_9162304.1126055177768 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Looks like it is always going to be that way.

[m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
Having some problems using dependencies/dependency/properties in the maven.xml file. Obviously I'm missing something basic :) Using maven 1.0.1. In my POM, I have the following custom property set for a dependency: dependency idoscube/id version0.2/version

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Brett Porter
Try... j:forEach var=lib items=${pom.artifacts} j:set var=dep value=${lib.dependency}/ Off the top of my head I'm not sure why this particular case it isn't working, but the above is the standard practice. - Brett On 9/7/05, Henri Yandell [EMAIL PROTECTED] wrote: Having some problems using

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
Nope, no luck. It's bizarre. If I put the following inside the forEach I get a series of trues and falses, but if I try to print the value itself out I get an empty string. ant:echo message=DEP: '${dep.getProperty('multidoc.url') != null}'/ ant:echo message=DEP:

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Brett Porter
Weird. I think we only ever test true/false existence in jelly and so we may not have realised there is a bug in that :) What about ${dep.getProperties().get('multidoc-jnr')} ? - Brett On 9/7/05, Henri Yandell [EMAIL PROTECTED] wrote: Nope, no luck. It's bizarre. If I put the following

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Andy Glick
Henri, I'm the glick who conversed with you on the #maven irc. I got something similar to your example to work, I think, but I'm using Maven 1.1b1 rather than Maven 1.0.1. I'm not sure why your version isn't working. Here are my project.xml dependencies: dependencies dependency

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
On 9/6/05, Andy Glick [EMAIL PROTECTED] wrote: Henri, I'm the glick who conversed with you on the #maven irc. I got something similar to your example to work, I think, but I'm using Maven 1.1b1 rather than Maven 1.0.1. I'm not sure why your version isn't working. Me neither, but the 1.0.1

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
On 9/6/05, Brett Porter [EMAIL PROTECTED] wrote: Weird. I think we only ever test true/false existence in jelly and so we may not have realised there is a bug in that :) What about ${dep.getProperties().get('multidoc-jnr')} ? No dice here either :) I dumped the punctuation and went straight

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Brett Porter
Looks like it is always going to be that way. http://svn.apache.org/viewcvs.cgi/maven/maven-1/core/tags/MAVEN_1_0_2/src/java/org/apache/maven/project/BaseObject.java?rev=122513view=markup The curse of Betwixt and BaseObject. It seems that properties get put in the map with - hence true for