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
These things almost always come down to classpath but it's hard to tell without more info. In particular I found that Java 1.3 and 1.4 are missing a lot of libs needed to run junit, but Java 1.5 already comes with everything. When you say you ran it in Eclipse, did you simply select "run as juni