>I need to find out if a certain file with a standard naming
>convention exists in a subdirectory. I would like to either
>have the directory path output to either the screen or a txt
>file. Either is okay.
Quick idea is something like
You have to search for the right mapper ...
I would use the task from ant-contrib:
--
Jonathan Rosenberg
Founder & Executive Director, Tabby's Place
http://www.tabbysplace.org/
-Original Message-
From: Bailey, Darragh [mailto:dbai...@hp.com]
Sent: Thursday, August 12, 2010 2:32 PM
To: Ant Users List
Subject: Set property using
Basically I'm looking to extract the version of a package file from the
filename. So far I've come up with the following, but I'm just wondering if
this is the best way to accomplish what I want, given that it seems a bit of a
kludge to use the pathconvert task to extract a string from filenam
(Using ANT 1.8, WinXP)
I need to find out if a certain file with a standard naming convention exists
in a subdirectory. I would like to either have the directory path output to
either the screen or a txt file. Either is okay.
More details.
I'll have a root dir I'm working with
Files/
And ben
Thank you for the suggestion, Stefan!
I have 2 more questions...
1) You suggested 'another one would be to write your own task that wraps
the exec invocation itself.' -- I am wondering what benefit it will be to do
this?
2) Currently our tests are run using a shell script on Linux/solaris boxe