Re: , using trouble

2005-09-13 Thread Dominique Devienne
The time at which ${lib} is resolved is not when you refid it, but when you id it, i.e. when the control flow of Ant defines the the first time. This is when the 'lib' property must be defined in order for your path to be valid. Ensuring that a property is defined before its first use can be done

Re: , using trouble

2005-09-13 Thread Aliaksandr Voitau
It's a single build script. Though it may behave like property does, it looks really confusing, that I assign undefined property "${lib}" to pathelement's location attribute, define it later, supposing that when it will be used, e.g. referenced by id, it'll be resolved. As a result, I see inste

Re: , using trouble

2005-09-13 Thread Andrew Goktepe
It looks like the problem occurs within a single build script. The bug mentioned applies only when you make a call to another script using . On 9/13/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > > Hello Aliaksandr, > > this sounds like bug 25777, which was fixed in Ant 1.6.3, > Which v

Re: , using trouble

2005-09-13 Thread Antoine Levy-Lambert
Hello Aliaksandr, this sounds like bug 25777, which was fixed in Ant 1.6.3, Which version of ant are you using ? Cheers, Antoine http://issues.apache.org/bugzilla/show_bug.cgi?id=25777 Aliaksandr Voitau wrote: > Hi, > here is a piece of my buildfile. > > > > > > > classname="my.

Re: , using trouble

2005-09-13 Thread Andrew Goktepe
That looks like the correct behavior to me. This is analogous to properties, which are set once and cannot be changed again. On 9/13/05, Aliaksandr Voitau <[EMAIL PROTECTED]> wrote: > > Hi, > here is a piece of my buildfile. > > > > > > > classname="my.pkg.Sample"> > > > > > While t

, using trouble

2005-09-13 Thread Aliaksandr Voitau
Hi, here is a piece of my buildfile. While trying to invoke this target from java code i get the following error: taskdef class my.pkg.Sample cannot be found, although i set ${lib} from java code using setProperty(...) right before executing target "target-name". However

, using trouble

2005-09-13 Thread Aliaksandr Voitau
|Hi. While trying to invoke this target from java code i get the following error: taskdef class my.pkg.Sample cannot be found, although i set ${lib} from java code using setProperty(...) right before executing target "target-name". However, if i'll just paste content