Re: Counting files in a dir

2005-04-06 Thread Fermin Da Costa
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

Re: Counting files in a dir

2005-04-05 Thread Fermin Da Costa Gomez
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

Re: Counting files in a dir

2005-04-05 Thread Fermin Da Costa Gomez
add the third party jars from $HOME/.ant/lib in the classpath. Thx again, Fermin DCG HTH Ivan [1]http://ant.apache.org/manual/install.html#librarydependencies --- Fermin Da Costa <[EMAIL PROTECTED]> wrote: Thx a lot, much appreciated. I have not been able to run it yet though because run

Re: Counting files in a dir

2005-04-05 Thread Fermin Da Costa
the one above to improve reusability. However, I wrote > an ordinary Ant task that does the job, because it is > easier for me to deploy (plus I am not very good at > javascript). You can see this task at [1]. > > HTH > Ivan > > [1]http://marc.theaimsgroup.com/?l=ant-user&a

Counting files in a dir

2005-04-04 Thread Fermin Da Costa Gomez
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) 3. Depending on the count do something (break out of the target) Items 2. and 3. are bugging me somewhat (esp the coun

Re: Cannot find type issue (solved)

2005-04-04 Thread Fermin Da Costa
On Apr 3, 2005 6:09 PM, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: Thx 4 the reply, > add the attribute srcdir="src" to your javac invocation. This did not wotk because i was calling a main within a class that in turn starts a compilation. My fault because i did not supply the actual ant ta

Cannot find type issue

2005-04-01 Thread Fermin Da Costa
Hi, Following i'v got a trace from the ant compilation i'm doing on some test classes. The 'normal' classes have all been compiled prior to the test-class run. As one can see the 'normal' classes can be found on the classpath (as echoed) fullRACCompilation: [echo] New Classpath: ... C:/eclip

Re: NoClassDefFoundError for class that is on the classpath?

2005-04-01 Thread Fermin Da Costa
On Apr 1, 2005 9:05 AM, James Abley <[EMAIL PROTECTED]> wrote: > On Thu, 2005-03-31 at 15:25, Fermin Da Costa wrote: > > On Thu, 31 Mar 2005 09:04:17 -0500, Doklovic, Jonathan > > <[EMAIL PROTECTED]> wrote: > > > What does your entry look like? > > I

Re: NoClassDefFoundError for class that is on the classpath?

2005-03-31 Thread Fermin Da Costa
On Thu, 31 Mar 2005 09:04:17 -0500, Doklovic, Jonathan <[EMAIL PROTECTED]> wrote: > What does your entry look like? I'm assuming y'r referring to the code that actually calls the class. ...