>
> <target name="build">
> <property name="filepath" value="c:\mallow.exe"/>
> <echo message="${filepath}"/>
> <if test="${file::exists('${filepath}')}">
> <echo message="File Exists"/>
> </if>
> <if test="${not file::exists('${filepath}')}">
> <echo message="File does not Exist"/>
> </if>
> </target>
>
I think, we should throw a warning, if the expression contains "${"
substring. Its common newbie bug, so we could notify that even that its not
clean solution...
Just mine 1c.
Martin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers