AW: possible to recurse through directory to see if a file exists in a subdirectory

2010-08-12 Thread Jan.Materne
>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 ...

RE: Set property using part of a filename

2010-08-12 Thread Jonathan Rosenberg
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

Set property using part of a filename

2010-08-12 Thread Bailey, Darragh
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

possible to recurse through directory to see if a file exists in a subdirectory

2010-08-12 Thread Mario Madunic
(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

Re: Can ant run non-JUnit tests that can produce Junit xml formatted output?

2010-08-12 Thread tabber
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