AW: java.lang.ClassNotFoundException" when running junit task

2008-08-28 Thread Knuplesch, Juergen
Hello, Obviously you do not have the Testclass BaseServiceCommunicationManagerTest in the classpath. You do not do anything elementary wrong. It is "just" a classpath-problem. (Missing jars, wrong written classes esp. Upper / lowercase) This happens a lot and sometimes you loose your faith in I

RE: question about calling a java program

2008-08-28 Thread Duhra, Sarab Singh
Thanks Jan. -Sarab -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2008 9:48 PM To: user@ant.apache.org Subject: AW: question about calling a java program You could write a which takes the arguments and implements the "standard" rest. Wi

AW: question about calling a java program

2008-08-28 Thread Jan.Materne
You could write a which takes the arguments and implements the "standard" rest. With AntContrib you could do a loop over lists. Jan > -Ursprüngliche Nachricht- > Von: Duhra, Sarab Singh [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 29. August 2008 00:28 > An: user@ant.apache.org >

AW: AW: Cache test scripts?

2008-08-28 Thread Jan.Materne
1. On discussions please stay on the mailinglist. 2. No, Ant doesnt save a binary version of a parsed buildfile. Jan Von: David W [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 28. August 2008 23:10 An: Materne, Jan (RZF)

question about calling a java program

2008-08-28 Thread Duhra, Sarab Singh
Hi, I have a newbie question. I need to call a java program repetedly with different parameters. How can i do this in ant? I know there is a java task that i can use but i am not sure if i need to include it in a task. regards -Sarab

Re: AW: Cache test scripts?

2008-08-28 Thread Gabor Maghera
The type of caching you mention is done at the OS level through temporal page caching. Gabor On Thu, Aug 28, 2008 at 2:07 PM, David W <[EMAIL PROTECTED]> wrote: > I was wondering if Ant could save my "build.xml" so that Ant does not need > to load the xml file again if I want to excute the same

Re: AW: Cache test scripts?

2008-08-28 Thread David W
I was wondering if Ant could save my "build.xml" so that Ant does not need to load the xml file again if I want to excute the same xml file several times.   This may not be necessary as Ant can parse the xml file quickly. So just ignore my question.   Thanks all the same.   David --- On Wed,

Ant Thread-Context ClassLoader causing problems

2008-08-28 Thread cowwoc
Hi, My custom Ant task uses Logback under the hood. Logback uses the thread-context ClassLoader to find its configuration file (logback.xml). The problem is that Ant sets the TCCL to org.apache.tools.ant.module.bridge.AntBridge$MaskedClassLoader and that CL does not contain my task's JAR file whi

Re: java.lang.ClassNotFoundException" when running junit task

2008-08-28 Thread JOMO00
Hi, I already have great problems with ant and junit. I run ant 1.6.5 and junit 4.5 is this combination ok? Should i better use ant 1.7.0 or 1.7.1? I always get a ClassDefNotFoundException or ClassNotFoundException. I tried to put junit.jar and my source directory to classpath, but i always get a

RE: AW: java.lang.ClassNotFoundException" when running junit task

2008-08-28 Thread Martin Gainty
preferably on test.classpath Viel Gluck Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endors

Re: java.lang.ClassNotFoundException" when running junit task

2008-08-28 Thread JOMO00
my source files are in C:\Documents and Settings\heinrich\test\srcafter compilation the jar file is in C:\Documents and Settings\heinrich\test\classes while running the Junit test in this jar file the Exception is thrown. -- View this message in context: http://www.nabble.com/java.lang.ClassNotF

Re: AW: java.lang.ClassNotFoundException" when running junit task

2008-08-28 Thread JOMO00
Thanks, junit4.5.jar is in C:/Documents and Settings/heinrich. I use junit 4.5 and ant 1.6.5 is this ok? Knuplesch, Juergen wrote: > > You need junit.jar somewhere > > > -- > Jürgen Knuplesch > Geschäftsführer: Uwe Seltmann > HRB Stuttgart 17655 > USt-IdNr.: DE 811944121 > -Ursp

AW: java.lang.ClassNotFoundException" when running junit task

2008-08-28 Thread Knuplesch, Juergen
You need junit.jar somewhere -- Jürgen Knuplesch Geschäftsführer: Uwe Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121 -Ursprüngliche Nachricht- Von: JOMO00 [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 28. August 2008 09:06 An: user@ant.apache.org Betreff: Re: java.lang.Cl

AW: generate several log files for ant dynamically

2008-08-28 Thread Jan.Materne
Start Ant with "-logger" option. You could also use then a Log4J Logger ... See the manual for details. Jan > -Ursprüngliche Nachricht- > Von: arina [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 28. August 2008 09:15 > An: user@ant.apache.org > Betreff: generate several log files f

generate several log files for ant dynamically

2008-08-28 Thread arina
Hi all! I need to logging ant into different log files dynamically. Actually I can create log file inside ant task (its simple) and then I need to redirect logging output into this file. How this redirect could be done? -- View this message in context: http://www.nabble.com/generate-several-log

Re: java.lang.ClassNotFoundException" when running junit task

2008-08-28 Thread JOMO00
Hi All, I read just read the thread below. Ich have the same Exception by unsing ant and . I know there is a problem with the classpath, but I don't know what is wrong. Which *jar files do I need an my classpath?Here my script

AW: ant global properies (variable)

2008-08-28 Thread Knuplesch, Juergen
Am I right, that you use foreach from Antcontrib? I guess that foreach does a usual ant task. This task never returns any properties to the caller. It works only in one direction. You could use the antcontrib for-Task combined with the antcontrib AntFetch Task. In AntFetch (and antcallback) you