unwanted countprintouts for javac, java, junit

2001-07-09 Thread Klara Ward
Maybe this isn't an ant-problem but anyway, I use ant to compile with javac and run tests with java or junit. When I run I get the usual printouts combined with a lot of lines of : [java] count = 0, total = 9 [java] count = 0, total = 123 The number of lines seemes to have something to

Re: How to use optional tasks of ant1.3

2001-07-09 Thread Klara Ward
I use the optional task junit, and what I did was place the junit.jar and optional.jar in ANT_HOME/lib - Original Message - From: geeta eknath dhane [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 11:16 AM Subject: How to use optional tasks of ant1.3 Hi, I need

Re: unwanted countprintouts for javac, java, junit

2001-07-09 Thread Klara Ward
PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 11:16 AM Subject: Re: unwanted countprintouts for javac, java, junit I think one of your jars is corrupt. I have seen this behaviour in that circumstance. Conor - Original Message - From: Klara Ward [EMAIL PROTECTED] To: ant

the ant task and targets

2001-07-10 Thread Klara Ward
If I want to use one buildfile to checkout the real buildfile and then run ant with that one, can I use the target specified running ant with the first buildfile when I run the ant task with the checkedout file? Klara

RE: Nested library directories

2001-07-11 Thread Klara Ward
Do you do something like this: classpath fileset dir=lib include name=**/*.jar/ /fileset /classpath isn't that recursive by nature, the ** can stand for anything, not just a directory? Klara -Original Message- From: Ola Sandness [mailto:[EMAIL PROTECTED]]

Another JUnitReport problem

2001-07-12 Thread Klara Ward
I use (or at least try out for a possible later need) junitreport. I've succeded in getting the TESTS-TestSuites.xml, I didn't have to add anything to my classpath (it's really non-existing on my machine, I use different classpaths for different situations) I just had to put xalan.jar and

RE: Help: comma seperated values in inlcude

2001-07-12 Thread Klara Ward
The way I understand it you can either use fileset dir=src_dir includes=**/*.jsp,**/*.html,**/*.css / or fileset dir=src_dir include name=**/*.jsp / include name=**/*.html / include name=**/*.css / /fileset Klara -Original Message- From: Rob

RE: Another JUnitReport problem

2001-07-13 Thread Klara Ward
Great, now it worked. Nice stuff that came out of it as well.. Is it possible to turn off all the output(Transform time), perhaps by a -quiet or something? Klara -Original Message- From: Stephane Bailliez [mailto:[EMAIL PROTECTED]] Sent: den 12 juli 2001 16:32 To: [EMAIL

RE: Another JUnitReport problem

2001-07-13 Thread Klara Ward
Well, my classpath is still completly empty. I got the old xalan-version like Stephane said. All I did was put xalan and xerces jars in ANT_HOME/lib -Original Message- From: Sanjay Bhatia [mailto:[EMAIL PROTECTED]] Sent: den 13 juli 2001 07:06 To: [EMAIL PROTECTED] Subject: Re:

the ant task and targets

2001-07-13 Thread Klara Ward
I tried asking this before without any answer, but I'll try agian: If I want to use one buildfile to checkout the real buildfile and then run ant with that one, can I use the target specified running ant with the first buildfile when I run the ant task with the checkedout file? something like

RE: the ant task and targets

2001-07-13 Thread Klara Ward
and targets On Fri, 13 Jul 2001, Klara Ward [EMAIL PROTECTED] wrote: I tried asking this before without any answer, but I'll try agian: I'm sure I've answered it the first time - you can always use -Dtarget=whatever on the command line when you invoke your outer build file. Another option

lastGoodBuildTime

2001-07-23 Thread Klara Ward
I know I've read this somewhere, but I can't find it when I need it. How do you set lastGoodBuildTime the first time? I get this error: clean: init: cruise-check: java.text.ParseException: Unparseable date: ${lastGoodBuildTime} at java.text.DateFormat.parse(DateFormat.java:324)

RE: Using Ant with SSH

2001-07-26 Thread Klara Ward
But I suppose the only way of doing this without human interaction is having an empty passphrase? (I tried scp:ing in an expect script to enter the passphrase automatically, but it didn't work.) Klara -Original Message- From: Filip Cruz [mailto:[EMAIL PROTECTED]] Sent: den 26 juli

JUnit tests fail - build fail

2001-08-03 Thread Klara Ward
Is there some way you can make build fail if the junit tests fail? You can set haltonfailure, bur I want to run all tests. The reason I want this is because I run cruisecontrol, and it's not really good to recieve a message build successful when tests have failed. In the java task you can set

RE: JUnit tests fail - build fail

2001-08-03 Thread Klara Ward
On Fri, 3 Aug 2001, Klara Ward [EMAIL PROTECTED] wrote: Is there some way you can make build fail if the junit tests fail? You can set haltonfailure, bur I want to run all tests. In Ant 1.4 (due to be ready rather soonish) you can set a property on test failure - add to that a fail task

RE: JUnit tests fail - build fail

2001-08-03 Thread Klara Ward
-Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: den 3 augusti 2001 08:38 To: [EMAIL PROTECTED] Subject: Re: JUnit tests fail - build fail On Fri, 3 Aug 2001, Klara Ward [EMAIL PROTECTED] wrote: Feel like giving me a short example of how to use it? Say your

RE: JUnit tests fail - build fail

2001-08-03 Thread Klara Ward
-Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: den 3 augusti 2001 11:59 To: [EMAIL PROTECTED] Subject: Re: JUnit tests fail - build fail On Fri, 3 Aug 2001, Klara Ward [EMAIL PROTECTED] wrote: I don't think I got it to work. My fault, it should have been

RE: JUnit tests fail - build fail

2001-08-03 Thread Klara Ward
and it works, I mean it runs both the tests and says BUILD FAILED if anyone of them fails. Maybe this is bcoz haltonfailure attribute's value is set to false.. Try it.. With Best Regards, Ravindra.. - Original Message - From: Klara Ward [EMAIL PROTECTED] To: [EMAIL PROTECTED

RE: JUnit tests fail - build fail

2001-08-03 Thread Klara Ward
] Subject: Re: JUnit tests fail - build fail On Fri, 3 Aug 2001, Klara Ward [EMAIL PROTECTED] wrote: I tried with failureproperty both in junit and batchtest and neither of them worked. junit.xml = project default=without-fail target name=without-fail junit failureproperty

RE: JUnit tests fail - build fail

2001-08-06 Thread Klara Ward
Aug 2001, Klara Ward [EMAIL PROTECTED] wrote: So what do you think of this... Think you've discovered a bug and provided a good testcase for it, thanks. The appended patch that fixes the problem will be committed in a few minutes. Stefan

RE: JUnit tests fail - build fail

2001-08-06 Thread Klara Ward
Just to spam this list even further I'm not sure I tried junitreport with 1.4 at all. Has anyone else tried and got it to work? Klara -Original Message- From: Klara Ward [mailto:[EMAIL PROTECTED]] Sent: den 6 augusti 2001 09:45 To: [EMAIL PROTECTED] Subject: RE: JUnit tests fail

RE: JUnit tests fail - build fail

2001-08-06 Thread Klara Ward
Now it works nice. Nice to get rid of all those Transform time... as well. Thanks everybody. Klara -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: den 6 augusti 2001 10:04 To: [EMAIL PROTECTED] Subject: Re: JUnit tests fail - build fail -

1.4Beta1 and different versions of Xalan

2001-08-09 Thread Klara Ward
Using 1.4Beta1 and running JUnitReport I get this neat little thing: [junitreport] Using Xalan version: 1.2.2 BUILD FAILED java.lang.NoClassDefFoundError: com/ibm/bsf/util/BSFEngineImpl at java.lang.ClassLoader.defineClass0(Native Method) at

stop processes

2002-09-12 Thread Klara Ward
Is there a way to stop processes from ant that you've started with ant, with java or exec? Or do you have to use kill? Klara

delete emacs ~-files does not work

2002-09-20 Thread Klara Ward
I've tried deleting the emacs ~-files with this delete task, but it won't work target name=clean delete fileset dir=${basedir} includes=**/*~/ /delete /target Any ideas why this won't work? Klara

deleting emacs ~-files does not work

2002-09-20 Thread Klara Ward
I've tried deleting the emacs ~-files with this delete task, but it won't work target name=clean delete fileset dir=${basedir} includes=**/*~/ /delete /target Any ideas why this won't work? Klara

Re: deleting emacs ~-files does not work

2002-09-20 Thread Klara Ward
) - Original Message - From: Conor MacNeill [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Friday, September 20, 2002 12:54 PM Subject: Re: deleting emacs ~-files does not work Klara Ward wrote: I've tried deleting the emacs ~-files with this delete task, but it won't work

debuglevel in javac doesn't work

2002-09-25 Thread Klara Ward
I have this target: target name=buildhello depends=initprops javac srcdir=${basedir} destdir=${basedir} debuglevel=lines,vars,source include name=Hello.java/ /javac /target and I run: $ant buildhello -verbose Apache Ant version 1.5.1beta1 compiled on August 19 2002

using the ftp task in ant via java not working

2002-09-25 Thread Klara Ward
I tried to run an ant script from java that uses the ftp task and I got: BuildException: file:k:/rockit/qa/AutomationFramework/tests/install/install.xml:16: Could not create task or type of type: ftp. when I use ant outside java with the same ant-file it works fine. I had to have

Re: using the ftp task in ant via java not working

2002-09-25 Thread Klara Ward
Well, obviuosly I had to set the classpath specifically java (with -classpath)..), ant looks at the CLASSPATH but java doesn't (right) How very smart of me.. Klara - Original Message - From: Klara Ward [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Wednesday, September 25

Stopping java processes started with ant

2002-10-16 Thread Klara Ward
The timeout in the java task seems to work by calling thread.interrupt on the thread running the actual java. Would it be possible to make some similar feature stopping the java process on your demand instead of after a timeout? I guess you would have to keep some process-id in the ant-script,

cvs CreateProcess: error=267

2002-10-28 Thread Klara Ward
I have trouble running cvs with ant When I run: target name=cvsupdate depends=init delete dir=${jpda_home}/com/ cvs cvsRoot=:pserver:klaratalvath:/cvsroot command=checkout package=ToolsJPDATest dest=${jpda_home}/ /target I get: C:\eclipse\workspace\Towerant -f

Re: cvs CreateProcess: error=267

2002-10-28 Thread Klara Ward
Yep, that solved it, couldn't there have been a better error message? or where could I have found what error 267 meant? Klara [EMAIL PROTECTED] wrote: probably your destination path doesnt exist. Pls check the jpda_home property. detlef Zitiere Klara Ward [EMAIL PROTECTED]: I have trouble

Setting environment variables with ant?

2003-01-07 Thread Klara Ward
Is it possible to set environment variables with ant? /klara -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

ant and softlinks in cygwin

2003-02-10 Thread Klara Ward
I tried to run the javac task when my javadir was a softlink made in cygwin, and it didn't work. Ant started, which it didn't when I tried having the javadir as a windows shortcut, but javac didn't work: [javac] Modern compiler is not available - using classic compiler [javac] Compiling