Checking a file exists

View: New views
3 Messages — Rating Filter:   Alert me  

Checking a file exists

by breako :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Does Ant have a command which will check if a file exists?
Thanks

RE: Checking a file exists

by Shawn Castrianni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

<available> task will do it.

---
Shawn Castrianni

-----Original Message-----
From: breako [mailto:alex.staveley@...]
Sent: Tuesday, June 17, 2008 9:57 AM
To: user@...
Subject: Checking a file exists


Hi,
Does Ant have a command which will check if a file exists?
Thanks
--
View this message in context: http://www.nabble.com/Checking-a-file-exists-tp17912750p17912750.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient.  Any review, use, distribution, or disclosure by others is strictly prohibited.  If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Checking a file exists

by Scot P. Floess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

<available  property = "some-property"  file = "some-file"  value =
"some-value"/>

or

<available  property = "some-property"  file = "some-file"/>

works too :)

Substitute appropriate property name and file above :)

On Tue, 17 Jun 2008, breako wrote:

>
> Hi,
> Does Ant have a command which will check if a file exists?
> Thanks
> --
> View this message in context: http://www.nabble.com/Checking-a-file-exists-tp17912750p17912750.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

LightInTheBox - Buy quality products at wholesale price