Re: The good ol' JUnit problem

2005-11-04 Thread Mark Lybarger
Jon, This is a similar issue with the xalan classes in the 1.4 jdk. they're exposed directly by sun (and other jvm's) as org.apache.*. basically they just imported xalan and possibly other apache classes into the jvm. this gives your entire application (jvm) one chance to override the version u

Re: ANT todir= exception

2005-11-04 Thread Chidananda Jayakeerti
The build.xml and the trace is attached. If we confirm this as a bug, I will file a bug report. Thanks [EMAIL PROTECTED] src]$ ant -v Apache Ant version 1.6.5 compiled on June 2 2005 Buildfile: build.xml Detected Java version: 1.5 in: /usr/local/java/jdk1.5.0_05/jre Detected OS: Linux parsing buil

Re: *****spam***** Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-04 Thread Geoffrey Mitchell
XDoclet 1.2.x doesnt work on java1.5??? I had no idea - I had to stick with java1.4 on my last project. Ignorance is bliss, as they say... You got me scurrying to Google, though, and there would now appear to be an XJavaDoc snapshot release which lets you use XDoclet 1.2.x with Java 1.5.,

Re: Problem using ant, subant for Big Projects

2005-11-04 Thread Stefan Bodewig
On Fri, 4 Nov 2005, aubie au <[EMAIL PROTECTED]> wrote: > I tried by defining by taskdef in a different way and > it works now. In the task definition, I dont put > classpath and start ant -lib $MY_LIB, it works fine. >From Ant's point of view this is more or less the same. > Does that mean task

Re: Support any type inclusion

2005-11-04 Thread Stefan Bodewig
On Fri, 04 Nov 2005, Yves Martin <[EMAIL PROTECTED]> wrote: > I have tried add(DataType) but it does not work (or I made a > mistake) with Ant 1.6.5 What does "does not work" mean? Do you get an exception? Which? Or does Ant silently process your task but the add method is never called? Ste

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-04 Thread Lawrie Gallardo
Steve Loughran wrote: As and when I complete the second edition of Java development with Ant (yes, I am behind schedule), there will be some sample stuff that does it more simply. I havent written the target to zip up all the source tree to provide an example, but I could do that in the nex

Re: Problem using ant, subant for Big Projects

2005-11-04 Thread aubie au
Hi Stefan, Thanks for your quick response. I tried by defining by taskdef in a different way and it works now. In the task definition, I dont put classpath and start ant -lib $MY_LIB, it works fine. Does that mean taskdef implementation has a problem? I can live with this annoyance for now, but t

Re: Support any type inclusion

2005-11-04 Thread Matt Benson
--- Yves Martin <[EMAIL PROTECTED]> wrote: > >Hello, > > I'm writing a task in which I would like to be able > to include any 'DataType' > implementation, whatever its tag name is - exactly > the same way the > TaskContainer.addTask work but for DataType only. > > I have tried add(Data

Re: ANT todir= exception

2005-11-04 Thread Steve Loughran
Chidananda Jayakeerti wrote: Hello all, I'm new to ANT. I'm trying to generate checksum using the following syntax, throws /home/app/build.xml:110: java.lang.NullPointerException If i remove todir="${build.dest}" parameter, everything compiles. I'm using Ant 1.6.5 on Sun JDK 1.5.0_05. Any

Re: Example Ant 1.6 build files for project with multiple WAR and JAR modules?

2005-11-04 Thread Steve Loughran
Lawrie Gallardo wrote: As and when I complete the second edition of Java development with Ant (yes, I am behind schedule), there will be some sample stuff that does it more simply. I havent written the target to zip up all the source tree to provide an example, but I could do that in the ne

Support any type inclusion

2005-11-04 Thread Yves Martin
Hello, I'm writing a task in which I would like to be able to include any 'DataType' implementation, whatever its tag name is - exactly the same way the TaskContainer.addTask work but for DataType only. I have tried add(DataType) but it does not work (or I made a mistake) with Ant 1.6.

RE: delta build in ant.

2005-11-04 Thread hind.lwahhabi
Thanks Antoine, I know it won't be easy and of the top of that not only my ant scripts deal with java builds but also with non-java code...so it means that i have to dig into the deep behaviour of each specific compiler to see what happens. Thanks for sharing your thoughts. Hind Lwahhabi. ---