Helmut, This is not possible right now, and I'm not sure if its really worth the effort. What exactly do you need it for ?
Thanks, Gert ----- Original Message ----- From: "Helmut Dipper" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 10, 2004 2:04 PM Subject: [Nant-users] get name of current target > Hello, > > I use a nightly build (July 04) of nant-0.8.5. > > My build-script has following structure: > > <?xml version="1.0"?> > <project name="..." default="..."> > <!-- begin global section --> > <include buildfile="..."/> > ... > <property name="..." value="..."/> > ... > <!-- end global section --> > > <target name="..."> > </target> > ... > </project> > > Within the "gobal section" I want to retrieve > the name of the target currently to be build. > The function "target::get-current-target" > grumbles "No target is being executed." > > How can I get the name of the target to be build? > > Best regards > Helmut Dipper > > -- > ---------------------------------------------- > Helmut Dipper | SICAD Utilities GmbH > phone: +49 89 45026 320 | Postfach 830754 > fax: +49 89 45026 316 | D-81707 Muenchen > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users