Bugs item #1666783, was opened at 2007-02-23 07:02
Message generated for change (Comment added) made by maliger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1666783&group_id=31650
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tushar K (tusharkesare)
Assigned to: Nobody/Anonymous (nobody)
Summary: file::exists() fails
Initial Comment:
Hi,
I am using svn 1.4.2 setup.
file::exists() function is not working properly.
It always returns false irrespective of existence of file.
Can someone pls verify it??
Thanks,
Tushar
----------------------------------------------------------------------
Comment By: Martin Aliger (maliger)
Date: 2007-02-26 10:05
Message:
Logged In: YES
user_id=655297
Originator: NO
I'm using file::exists alot in my production scripts and never had a
problem with it. We are using svn 1.4.3 btw - but don't think it could
somehow influence the file:exists function.
----------------------------------------------------------------------
Comment By: Tushar K (tusharkesare)
Date: 2007-02-26 06:11
Message:
Logged In: YES
user_id=1726760
Originator: YES
Hi,
Thanx for reply.
Here is code I am using:
<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>
In any case it prints, "File does not Exist".
Version of NAnt.Core.dll present is 0.85.2478.0
I am not able to figure out what is wrong.
Thanx,
Tushar
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2007-02-25 21:00
Message:
Logged In: YES
user_id=707851
Originator: NO
svn 1.4.2 ?
It working just fine here. Do you have a simple repro that you can share ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1666783&group_id=31650
-------------------------------------------------------------------------
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