Re: [SEC=UNCLASSIFIED] Junit test fails in ant but not in Eclipse

2007-03-14 Thread SHANKAR S
re junit tests executed in ant? > > Anyone knows if the jvm is restarted per suite or something. Since there > must be differences in what objects are still in the environment. > All ideas and hints are greatly appreciated! > > Cheers, > > //mikael >

RE: Junit test fails in ant but not in Eclipse

2007-03-09 Thread Mikael Petterson \(KI/EAB\)
ailto:[EMAIL PROTECTED] Sent: den 9 mars 2007 08:32 To: Ant Users List Subject: RE: Junit test fails in ant but not in Eclipse Hi, So it could be that Eclipse uses these libraries in the classpath when executing tests but ant isn't? I tried running ant with -debug but I could not see any more t

RE: Junit test fails in ant but not in Eclipse

2007-03-08 Thread Mikael Petterson \(KI/EAB\)
Mock objects. Cheers, //mikael Ps. I will try to execute ant with 1.5 ( even if code compiles with 1.3.1). -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: den 7 mars 2007 16:11 To: Ant Users List Subject: RE: Junit test fails in ant but not in Eclipse I found

RE: Junit test fails in ant but not in Eclipse

2007-03-07 Thread Brown, Carlton
mehow putting them on your system classpath? -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 9:57 AM To: Ant Users List Subject: RE: Junit test fails in ant but not in Eclipse Hi, Thanks for reply. When I ran in Eclipse I did use &q

Re: Junit test fails in ant but not in Eclipse

2007-03-07 Thread Peter Reilly
-Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: den 7 mars 2007 15:36 To: Ant Users List Subject: RE: Junit test fails in ant but not in Eclipse These things almost always come down to classpath but it's hard to tell without more info. In particular I fo

RE: Junit test fails in ant but not in Eclipse

2007-03-07 Thread Mikael Petterson \(KI/EAB\)
is usually classpath dependt. Is it the order in the classpath or is there some actual lib missing? Cheers, //mikael -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: den 7 mars 2007 15:36 To: Ant Users List Subject: RE: Junit test fails in ant but not in Eclipse Th

RE: Junit test fails in ant but not in Eclipse

2007-03-07 Thread Brown, Carlton
mand line? -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 5:57 AM To: user@ant.apache.org Subject: Junit test fails in ant but not in Eclipse Hi, I run a junit test ( junit 3.8.1 in both) in Eclipse it works just fine. Then I

Junit test fails in ant but not in Eclipse

2007-03-07 Thread Mikael Petterson \(KI/EAB\)
Hi, I run a junit test ( junit 3.8.1 in both) in Eclipse it works just fine. Then I run the test in Ant using: The test fails with an NullPointerException.