Problems with JUnit and classpath

2004-02-10 Thread DDU DUQUENNOY Didier
Hi, I'm facing a classpath problem with JUnit: My script is built this way : Some of my tests need some classes from weblogic.jar (6.1 at this time). So If don't mention weblogic.jar in the cla

RE: Java and Clearcase

2004-02-10 Thread Anderson, Rob (Global Trade)
I suggest that you download the source for ant and look at the existing clearcase tasks as examples. Your code below is missing some things line import statements, package definition and methods. -Rob Anderson -Original Message- From: Tomar Ajay singh (DS/ESQ2) [mailto:[EMAIL PROTECTED

Re: [Ant 1.6.0] problem with task

2004-02-10 Thread Stefan Bodewig
On Tue, 10 Feb 2004, DDU DUQUENNOY Didier <[EMAIL PROTECTED]> wrote: > I checked that both ant-xalan1.jar and ant-xalan2.jar are in the lib > directory of Ant 1.6.0. Do you have any idea? Xalan-J itself is missing. Do you have a xalan.jar in the lib directory of your 1.5.3 installation? Stefan

[Ant 1.6.0] problem with task

2004-02-10 Thread DDU DUQUENNOY Didier
Hi, I'm using the task this way: I have both Ant 1.5.3-1 ant Ant 1.6.0 installed on my PC running W2000, but none is in the path, so I can decide which one to run. I also added junit.jar in both lib directory. This is the 3.8.1 revision bundled with Ecl

RE: No deprecation warnings with javac

2004-02-10 Thread Grenner Daniel
This is probably due to a bug in javac, where deprecations are not reported on files when they are compiled at the same time. The bug should be fixed in Java 1.4.2. The different developers probably have different java versions on their path. See http://developer.java.sun.com/developer/bugParade/b

jspc task and the classpath

2004-02-10 Thread Mariano Benitez
Do I need to include always the ant.jar in the classpath that I use to invoke jspc? If I don't do it I get [jspc] Compiling 32 source files/w/MT/local/build/portaladmin/jsp.precompilation [jasperc] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/AntClassLoad

Java and Clearcase

2004-02-10 Thread Tomar Ajay singh (DS/ESQ2)
Title: Java and Clearcase Hello, I would like to invoke cleartool command from my java code. Do you have any example how to do that? I tried executing the program below but it is giving Null Pointer Exception. public class ClearTest extends ClearCase{             public s

No deprecation warnings with javac

2004-02-10 Thread Kevin Steppe
I am not getting deprecation warning in the "build" target but I do in the "build-test" target, yet they look the same to me. There are 230 classes under /src and 27 under /test. Just to be sure, I've intentionally placed calls in both /src and /test to a deprecated method. The deprecated me

RE: Comment in my Ant build structure please? and

2004-02-10 Thread Dominique Devienne
> From: Daniel Zapata [mailto:[EMAIL PROTECTED] > Why are you putting build.xmls in directories under /src? > -Original Message- > From: Baz ¤Ñª° [mailto:[EMAIL PROTECTED] > Is it such a bad design that nobody wants to comment? :(( I'm sure it's not a bad design. But everybody's situation