RE: Question about using different jvms with ant 1.6.5

2007-03-09 Thread Bret Kumler
Not sure I understand what you mean in 1). Are you saying I need to write a customized ant task or use the jvm attribute? I'm using ant 1.6.5. Do I need to use 1.7.0? Thanks again -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 10:51 AM T

Re: Question about using different jvms with ant 1.6.5

2007-03-09 Thread Martin Gainty
Good Morning Bret- 1)Can you specify the jvm attribute to point to your own customised java class? http://ant.apache.org/manual/OptionalTasks/junit.html 2)Also set clonevm to 'false' as you wont want to propagate from JavaVM running Ant to your particular task clonevm = false 3)set fork=true to se

Question about using different jvms with ant 1.6.5

2007-03-09 Thread Bret Kumler
Here's the issue. I want to use the latest version of Selenium to test our web application, which happens to run on jdk 1.4 in tomcat. The problem is the latest version of Selenium uses jdk 1.5 Is there a way to specify different jvms in the task or the task? Are there any samples I can use?

RE: Junit test fails in ant but not in Eclipse

2007-03-09 Thread Mikael Petterson \(KI/EAB\)
Hi, I used 1.5 but got the same NullPointerException. Since I don't get it in eclipse it is hard to debug. I am thinking of using Netbeans to debug an instance of Ant. Any other ideas on how to approach? Cheers, //mikael -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAI