Hi Xavier,
I've created JIRA issue IVY-798 to deal with this.
It could be later in the day before I get a change to test your fix but
I'll get back to you.
Thanks for the quick response.
Donal.
>-----Original Message-----
>From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
>Sent: 17 April 2008 10:08
>To: ivy-user@ant.apache.org
>Subject: Re: Property expansion in <info/>
>
>On Thu, Apr 17, 2008 at 10:51 AM, Xavier Hanin <xavier.hanin@gmail.com>
>wrote:
>
>> On Thu, Apr 17, 2008 at 10:16 AM, Donal Mc Namee
>> <Donal.McNamee@vhi.ie>
>> wrote:
>>
>> > Hi All,
>> > I'm looking to use the "Extra attributes" options in the <module/>
>> > tag in an ivy.xml file
>> >
>> > But instead of something like:
>> >
>> > <info organisation="myorg" colour="blue"/>
>> >
>> > I want to use property expansions to fill out the
>attribute value. Like:
>> >
>> > <info organisation="myorg" colour="${my.colour}"/>
>> >
>> > But the property ${my.colour} never gets expanded.
>> >
>> > Is there something I should be doing or does the <info/> tag just
>> > nor support property expansion?
>>
>> property expansion is not supported in extra attributes,
>which is a shame.
>> Could you open a jira issue?
>>
>While I was looking at the code I just added variable
>expansion in extra attributes. Trunk version should now
>support what you want. Could you please confirm?
>BTW you can still open an issue to keep track of the change.
>
>Xavier
>
>>
>>
>> Xavier
>>
>>
>>
>> --
>> Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/
>> http://ant.apache.org/ivy/ http://www.xoocode.org/
>
>
>
>
>--
>Xavier Hanin - Independent Java Consultant
>http://xhab.blogspot.com/ http://ant.apache.org/ivy/
>http://www.xoocode.org/
>
|