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

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Gary Feldman (garyfx)
>Assigned to: Gert Driesen (drieseng)
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

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

>Comment By: Gert Driesen (drieseng)
Date: 2005-04-08 18:11

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs.

Thanks for the report !

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

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