Thanks for the suggestion; I will take a look at the scriptselector you
mention. In the meantime I came up with a solution that uses just existing
ant and ant-contrib constructs. Here it is in case others are interested:
/>
My humblest apologies--I did not state my problem clearly. I want to find a
set of files whose contents (not the file name) includes a string based on
the name of the file containing it. That is, for each file path/xxx.yyy, I
want to know if the file contains a string like this:
"See doc page at
Yes I have tried "containsregexp". As far as I could tell, there is no way
to parameterize the regexp within the fileset, so that does not work.
[EMAIL PROTECTED] writes:
Have you tried
http://ant.apache.org/manual/CoreTypes/selectors.html#regexpselect ?
Then you got the 'problem' of correct
I am ant-challenged today: I want to find a set of files in a tree matching
a given regular expression. The catch is that the regexp is not constant,
but is a function of the file name. I have tried permutations of
pathconvert, for loops, and loadfile, filterchain, and linecontainsregexp,
stu
First, I am not sure where I would specify those properties (as I am not
sure how ant is providing a classpath to Junit) so I have not been able to
try your suggestion.
More importantly, though, your comment does not address my main conundrum,
which is: why does the junit call work fine if I s
I have a 2000+ line Ant file that has been working fine for a long time.
I also have a moving target in that I frequently make minor tweaks as I find
something I missed.
The problem that I have just started seeing is that junit is failing every
test saying it cannot find my classes when I buil