RE: junitreport problem

2005-04-07 Thread Donald Strong
There are several groups of tests but the largest is about 1.4 Mb in 260 junit xml files. Donald. -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: Thursday, 7 April 2005 4:29 PM To: Ant Users List Subject: RE: junitreport problem Hi, Thnaks for taking

RE: Question regarding Ant custom task

2005-04-07 Thread Rainer Noack
Hi srikrishna, 1. What do you mean with a "global variable" in Java? 2. You can use Project.createTask("mail") to create a mailtask. 3. Another way (easier): set a ant-property with the value of j from inside your javacode and call the mailtask from your build script depending on the existence

Question regarding Ant custom task

2005-04-07 Thread Srikrishna_Parthasarathy
I have a Java class with couple of public methods. When this method is called in a target task . public String statcollection(){ if (j>0){ System.out.println("Problem with the messages"); System.out.println("The number of messages in the queue since "

Re: Having trouble with syntax

2005-04-07 Thread Antoine Levy-Lambert
Hello Bohra, Try Antoine > Hello all, > > I am trying to selectively delete 80% of a directory > tree with the following calls: > > > > > > > > > And I am ending up deleting too much. > > What I want to do is NOT delete the contents of the > WEB-INF

Having trouble with syntax

2005-04-07 Thread Ninju Bohra
Hello all, I am trying to selectively delete 80% of a directory tree with the following calls: And I am ending up deleting too much. What I want to do is NOT delete the contents of the WEB-INF directory NOR its sub-directories. Any suggestions.

RE: NoClassDefFoundError: org/apache/tools/ant/launch/Launcher

2005-04-07 Thread mickeydog
that's the problem...thanks On Thu, 2005-04-07 at 15:31 +0100, Keith Hatton wrote: > Possibly ANT_HOME is wrong. > > Should be ANT_HOME=/usr/share/ant <== note, no /bin > > Then you'll need to change your path so that it is ANT_HOME/bin and so > on. > > Hope this helps > Keith > > > -Orig

RE: NoClassDefFoundError: org/apache/tools/ant/launch/Launcher

2005-04-07 Thread Keith Hatton
Possibly ANT_HOME is wrong. Should be ANT_HOME=/usr/share/ant <== note, no /bin Then you'll need to change your path so that it is ANT_HOME/bin and so on. Hope this helps Keith -Original Message- From: mickeydog [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 14:30 To: user@ant.apache.o

NoClassDefFoundError: org/apache/tools/ant/launch/Launcher

2005-04-07 Thread mickeydog
I am having trouble installing ANT. I am getting the exception below. I've tried various fixes, but no dice. Any suggestions? # ant -version Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher # ant --noconfig -version Exception in thread "main" java.la

Re: problems building ant-testutil.jar

2005-04-07 Thread Jiri Prazak
This does work either. When I put it in the classpath though then it works. I think someone should update the documentation... Atleast for 1.6.2 anyway. Thanks Jirka On Apr 7, 2005 2:32 PM, Peter Reilly <[EMAIL PROTECTED]> wrote: > You need junit.jar in the right directory (lib/optional) > Also

Re: problems building ant-testutil.jar

2005-04-07 Thread Peter Reilly
You need junit.jar in the right directory (lib/optional) Also ant 1.6.3 beta has been released, you should use that. 1) tar xjf ~/uploads/apache-ant-1.6.3beta1-src.tar.bz2 2) cd apache-ant-1.6.3beta1 3) mkdir lib/optional 4) cp ~/.ant/lib/junit.jar lib/optional 5) ./build.sh test-jar enjoy! Peter J

problems building ant-testutil.jar

2005-04-07 Thread Jiri Prazak
Hello all, I have downloaded Ant 1.6.2 sources and need to build the test-jar task so I can start writing tests for build files but it fails. First it fails with the following error BUILD FAILED H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build.xml:907:H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build

Re: absolute path

2005-04-07 Thread Antoine Levy-Lambert
Inside ant you can resolve a full path by doing this somejar.path=${somejar.path}" > > --- Rodolfo García Esteban/CYII > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I need to specify a absolute path, not relative to > > base, how can I do? > > Depends on the context. You will have to explai

RE: absolute path

2005-04-07 Thread Roberto Juarez
Hi Rodolfo, I am afraid I need a better explanation of what you are trying to accomplish. You may respond in Spanish to my personal email, if you want. Cheers, Roberto. > -Mensaje original- > De: Rodolfo García Esteban/CYII [SMTP:[EMAIL PROTECTED] > Enviado el: jueves, 07 de abril