On Apr 6, 2005 4:33 PM, Matt Benson <[EMAIL PROTECTED]> wrote:
> --- Dominique Devienne <[EMAIL PROTECTED]> wrote:
>
> > The scenario you describe seem to point to file
> > selectors. In Ant, you
> > usually don't loop on dirs, doing some conditional
> > processing within the
> > loop, you select
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> The scenario you describe seem to point to file
> selectors. In Ant, you
> usually don't loop on dirs, doing some conditional
> processing within the
> loop, you select all the files to process using
> s, which with
> selectors can do this select
> From: Fermin Da Costa Gomez [mailto:[EMAIL PROTECTED]
> Maybe i did not explain my requirement well enough.
> The thing is that i am looping through a series of dirs and *if* they
> contain 1 or more TestStubs they need to be put in a suite.
> ...
> delimiter="${path.separator}" />
> ...
>
>
>
Matt Benson wrote:
--- Fermin Da Costa Gomez <[EMAIL PROTECTED]>
wrote:
Hi,
What would be the best way to do the following:
1. Going into a directory (this is ok)
2. Counting the number of files of type x (getting
files is ok, *counting* is an
issue)
With Ant 1.6.3 (now in beta) you could
Ivan Ivanov wrote:
Fermin,
you should check[1] to see the exact versions of the
third party libraries.
Thank you. I found that out by reading through the apache site and doing
some more googling.
Turns out that i needed 3 additional jars of which the Rhino one was unusal.
But, i'v got it runnin
--- Fermin Da Costa Gomez <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> What would be the best way to do the following:
> 1. Going into a directory (this is ok)
> 2. Counting the number of files of type x (getting
> files is ok, *counting* is an
> issue)
With Ant 1.6.3 (now in beta) you could do this:
Fermin,
you should check[1] to see the exact versions of the
third party libraries.
I use successfully such scripts with Eclipse, but I do
not used the ant distribution bundled with Eclipse.
Instead, I have "standalone" ant installation on my
disk and I configured Eclipse to use it. I point Ant
Hom
Thx a lot, much appreciated.
I have not been able to run it yet though because running it from
eclipse i keep on getting errors.
1st was bsf related, fixed that.
Than i got a rhino error, fixed that by stuffing the js.jar in there.
Now i get a NoSuchMethod error. Haven't done this one yet.
Well,
Hello, Fermin,
You can do 2. with javascript:
$${xmlfiles} is ${xmlfiles}
$${txtfiles} is ${txtfiles}
In fact, I often need to extract information about
files and I thought to do a "lib" of s like
the one above to improve reusability. However, I