I think there is a small bug in the 0.85 rc2 release.  The problem has to do 
with the target::exists function.  This is the code from my build file from 
0.84:

<ifnot 
targetexists="set-${nant.settings.currentframework}-runtime-configuration">
  <fail message="Error" />
</ifnot>

<target name="set-net-1.1-runtime-configuration">
.....
</target>

In 0.85 rc 2, if I change it to:

<if test="${not 
target::exists(set-${nant.settings.currentframework}-runtime-configuration')}">
  <fail message="Error" />
</if>

<target name="set-net-1.1-runtime-configuration">
.....
</target>

when nant.settings.currentframework is set to net-1.1, the latter <if> always 
fails.  If I remove the 'not', it passes.  This seems like the opposite of the 
desire functionality.

Am I doing something wrong?

Griffin
http://blog.griffincaprio.com/blog


-------------------------------------------------------
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-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to