Joe,
Put quotes around the argument to exists() if you are specifying a literal file
name. Leave off the quotes of the argument is a property name that needs to be
evaluated to get the file name.
Merrill
---
SF email is sponsored by - The I
---
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
Joe,
What
you want to do is this:
HTH,
Felice
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Joe
UchytilSent: Tuesday, February 22, 2005 7:58 AMTo:
nant-users@lists.sourceforge.netSubject: [Nant-users]
file::exists() problem
[Nant-users]
file::exists() problem
How do I use the task to check
for the existence of a file where the file name is stored in a property?
The documentation shows
...
but trying to do the following does not
seem to work.
It appears that the ${file.to.check} is
not exp
How do I use the task to check for the existence of
a file where the file name is stored in a property?
The documentation shows
...
but trying to do the following does not seem to work.
It appears that the ${file.to.check} is not expanded but
taken literally
A