Re: Running junit tests fails

2003-12-13 Thread Peter B. West
J.Pietschmann wrote: Peter: I think it points to the fact that we will have to provide a custom ant build, optional.jar and library dependencies, including junit.jar. That's not necessary if people install a proper binary ant distro. It's somewhat like the FOP binary distro: we provide a

Re: Running junit tests fails

2003-12-13 Thread J.Pietschmann
Peter B. West wrote: Just had a look at the Ant binary optional.jar. It's got everything but the kitchen sink, including the junit stuff. That's what I said: they compile in everything officially supported. That's why we run with a customized ant.jar for some time. Would Maven cover the

Re: Running junit tests fails

2003-12-13 Thread Simon Pepping
On Fri, Dec 12, 2003 at 03:32:35PM +0100, Jeremias Maerki wrote: Nope. With the Ant installation (binary, I've never had to build Ant myself, yet) you get a fully operational optional.jar with has a usable JUnit task as soon as you have junit.jar in %ANT_HOME%/lib. Building FOP (HEAD)

Re: Running junit tests fails

2003-12-12 Thread Jeremias Maerki
Nope. With the Ant installation (binary, I've never had to build Ant myself, yet) you get a fully operational optional.jar with has a usable JUnit task as soon as you have junit.jar in %ANT_HOME%/lib. Building FOP (HEAD) without embedded Ant goes like this: - Install Ant binary distribution -

Re: Running junit tests fails

2003-12-12 Thread J.Pietschmann
Jeremias Maerki wrote: Nope. With the Ant installation (binary, I've never had to build Ant myself, yet) you get a fully operational optional.jar with has a usable JUnit task as soon as you have junit.jar in %ANT_HOME%/lib. The ant jar in the FOP CVS was a bit customized: Keiron moved the xslt

Re: Running junit tests fails

2003-12-10 Thread Chris Bowditch
Simon Pepping wrote: When I try to run the junit tests on the code checked out from CVS HEAD, I get a failure because ant cannot create task or type of type: junit. I do not know anything about junit. I had hoped this target would run out of the box. snip/ BUILD FAILED

Re: Running junit tests fails

2003-12-10 Thread Stan Pinte
BUILD FAILED file:/fsd/source/xml-fop/build.xml:659: Could not create task or type of type: junit. Ant could not find the task or a class this task relies upon. junit is version 3.8.1. I get the same thing, but I also dont know how to solve it. Looking in the build.xml doesnt reveal any

Re: Running junit tests fails

2003-12-10 Thread Chris Bowditch
Stan Pinte wrote: You may want to add the jar containing the junit task in the JUNIT_HOME/lib directory. Whats the name of the jar containing the junit ant task definition then? Ive added the junit.jar, there is also a test.jar and a src.jar in my junit directory (no lib sub dir though!) The

Re: Running junit tests fails

2003-12-10 Thread Stan Pinte
On Wed, 10 Dec 2003 11:44:08 +, Chris Bowditch [EMAIL PROTECTED] wrote: Stan Pinte wrote: You may want to add the jar containing the junit task in the JUNIT_HOME/lib directory. Whats the name of the jar containing the junit ant task definition then? Ive added the junit.jar, there is also a

Re: Running junit tests fails

2003-12-10 Thread Jeremias Maerki
junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib. Use JUnit 3.8.1 or later to be sure. The JUnit task is included in Ant's optional.jar but only works if junit.jar is present in %ANT_HOME%/lib. Actually, I don't understand why the JUnit suport is recognized but the test cases

Re: Running junit tests fails

2003-12-10 Thread Stan Pinte
On Wed, 10 Dec 2003 14:28:23 +0100, Jeremias Maerki [EMAIL PROTECTED] wrote: junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib. sorry for my mistake... Use JUnit 3.8.1 or later to be sure. The JUnit task is included in Ant's optional.jar but only works if junit.jar is present

Re: Running junit tests fails

2003-12-10 Thread Simon Pepping
On Wed, Dec 10, 2003 at 02:28:23PM +0100, Jeremias Maerki wrote: junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib. Use JUnit 3.8.1 or later to be sure. The JUnit task is included in Ant's optional.jar but only works if junit.jar is present in %ANT_HOME%/lib. Actually, I

Re: Running junit tests fails

2003-12-10 Thread Jeremias Maerki
Looks like it. Please download the latest Ant release and install it following Ant's installation instructions. Then use ant.bat/ant.sh to build FOP and not build.bat. Ant can be found at http://ant.apache.org. I've heard that best practice is not to bundle Ant with a project but to make an Ant

Running junit tests fails

2003-12-09 Thread Simon Pepping
When I try to run the junit tests on the code checked out from CVS HEAD, I get a failure because ant cannot create task or type of type: junit. I do not know anything about junit. I had hoped this target would run out of the box. What should I do to make it work? ./build.sh package javadocs