Bonio Lopez wrote:
> Hi  Gary,
> I tested you approach and it works and does what I needed.
> In master build file I include for all targets following:
>       <property name="tmp" value="${base_dir}\\build.inc"/>
>       <include buildfile="${project::get-base-directory()}\build.inc"
> unless="${file::exists(property::get-value('tmp'))}"/>
>       <include buildfile="${tmp}"
> if="${file::exists(property::get-value('tmp'))}"/>    
>   
I'm not sure what the intent of property::get-value is, but it's not 
needed here.  It works to write:

    if="${file::exists(tmp)}"

and likewise for the unless case.

Gary



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to