Re: AW: name of running target

2004-11-18 Thread Jeffrey E Care
<[EMAIL PROTECTED]> wrote on 11/18/2004 01:44:01 PM: > Still using the project-object revealed another question: > "The field ProjectComponent.project is deprecated" says my compiler. > What should be used instead? > > I couldn't find any documentation on this issue. Please comment if this > shou

Re: AW: name of running target

2004-11-18 Thread lists
Thank you. I cannot find any entries for scriptdef- or script-task. It seems to be missing that information. However, I have helped myself by writing myself a task in Java that uses project.getOwningTarget() to set a user property: project.setUserProperty("currenttarget", this.getOwningTarget().t

Re: AW: name of running target

2004-11-18 Thread Peter Reilly
Check: http://ant.apache.org/manual/install.html#librarydependencies for bsf and rhino (javascript) - note in particular that the required rhino version is *not* the most recent one. Peter [EMAIL PROTECTED] wrote: Thank you Jan, That looks very cool. But I have a problem running it: Some jars are m

AW: name of running target

2004-11-18 Thread lists
Thank you Jan, That looks very cool. But I have a problem running it: Some jars are missing in my path and I don't know which. Do you know whicch external jars the scriptdef-task depends on? thanks, jacques ___ >Would that be ok? > > > > > > > > > > > > > >

AW: name of running target

2004-11-18 Thread Jan . Materne
Would that be ok? Jan > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 18. November 2004 12:46 > An: [EMAIL PROTECTED] > Betreff: name of

name of running target

2004-11-18 Thread lists
Hello everybody, Is there a dynamic property for the name of the current target? I would like to notify another process of the state my build is in. So What I'm looking for is something like: ... ... If possible I want to avoid to introduce a static string in every target that need to