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?

Thanks,
Steve




-------------------------------------------------------
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

Reply via email to