Re: should ant 'id' value be a static string

2009-12-21 Thread Raja Nagendra Kumar
Also, if one uses id as ${foo}, I am not sure if there a way to refer this.. as in all other places using ${foo} would get resolved to a value. Another point, not sure, if Bugs discovered at very late stages can be considered as BC in order to consider the fixes for the same. Pl. see if this co

Re: AW: AW: should ant 'id' value be a static string

2009-12-21 Thread Matt Benson
Well, theoretically if some user were using a ${foo} construct as an explicit id, then yes, that would break BC, but I would imagine such situations to be extremely rare and wouldn't have a problem with adding property expansion to the id attribute. -Matt On Dec 21, 2009, at 7:27 AM, wrot

AW: AW: should ant 'id' value be a static string

2009-12-21 Thread Jan.Materne
>As one kind of resolutions work and not other one.. for id's. >Jan pl. let me know why such design.. Not sure, was before my time (2003) ;-) Changing that would on the other hand break backwards compatibility. Jan - To unsub

RE: AW: should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Yep.. this approach works.. Thank you tom for this tip. As one kind of resolutions work and not other one.. for id's. Jan pl. let me know why such design.. Below is the example.. -- View this message in context: http://old.nabble.com/should-a

RE: AW: should ant 'id' value be a static string

2009-12-18 Thread Dalton, Tom
[mailto:nagendra.r...@tejasoft.com] Sent: 18 December 2009 14:48 To: user@ant.apache.org Subject: Re: AW: should ant 'id' value be a static string Nope.. that is surprising jan.. why such restriction.. I see the need for dynamic naming for id's, this approach could reduce passing of

Re: AW: should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Nope.. that is surprising jan.. why such restriction.. I see the need for dynamic naming for id's, this approach could reduce passing of few parameters to macros specially which depend on class path and source path used to compile the java classes etc. Regards, Nagendra -- View this message i

AW: should ant 'id' value be a static string

2009-12-18 Thread Jan.Materne
ja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] >Gesendet: Freitag, 18. Dezember 2009 13:37 >An: user@ant.apache.org >Betreff: should ant 'id' value be a static string > > >Hi, > >I am trying to set the path property id to be dynamic i.e id is >app.${mod

should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Hi, I am trying to set the path property id to be dynamic i.e id is app.${module.id}.sp where module.id value should be taken the the final path id should be app.tejasoft.sp. However the echo says that path not found. Is it expected that path id's or any ids to be always static.. Are I am doing