> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Steve Jansen > Sent: vrijdag 3 december 2004 17:19 > To: [EMAIL PROTECTED] > Subject: [nant-dev] <include> task question > > Hi again, > > I have a question about the <include> task and the > project::get-buildfile-path() function. > > I would like to know if there is a way to get the path of an included > build file, rather than the containing build file, from withing the > included file. > > Example: > > C:\folder\project.build > ----------------------- > <project> > <include buildfile="..\include.build" /> > </project> > > C:\include.build > ----------------------- > <project> > <echo message="${project::get-buildfile-path()}" /> > </project> > > > In this case, the message display is "C:\folder\project.build", but, I > need to find a way to have a function return "C:\include.build". > > Any suggestions?
As far as I know this is not possible. Ian: do you have anything to add to this ? Gert ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers