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:
<!-- This task is skipped correctly with no messages -->
<copy file="foo.bar" tofile="bar.foo"
<!-- This task causes the build to fail -->
I've tried this with 0.85.1865.0; nightly; 2/8/2005.
Log in to post a comment.