Bugs item #1178810, was opened at 2005-04-07 15:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1178810&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Gary Feldman (garyfx)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution task tries to validate file before checking conds

Initial Comment:
The solution task is checking for the existence of the
solutionfile before it has evaluated the conditional
controls, and thus fails if the doesn't exist, even if
there is an if attribute to prevent the failure.

Example, assuming "foo.bar" doesn't exist:

<target name="all">
  <!-- This task is skipped correctly with no messages -->
  <copy file="foo.bar" tofile="bar.foo" 
        if="${file::exists('foo.bar')}" />
  <!-- This task causes the build to fail -->
  <solution solutionfile="foo.bar" 
        if="${file::exists('foo.bar')}" 
        configuration="Release" />
</target>

I've tried this with 0.85.1865.0; nightly; 2/8/2005.

Gary

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1178810&group_id=31650


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to