I started the tutorial in BugZilla [1]. There is a ZIP file [2] containing
the
sources AND a version of ant-testutil.jar which I used while writing the
script.
But that´s only a workaround ... ant-testutil.jar is created via "build
test-jar" which
is not part of the official binary distribution. I
--- Begin Message ---
Hello Peter,
When I was trying to follow the online tutorials, I found that, in "Developing
with Ant"->"Writing Tasks"->"Test the Task", the base class "BuildFileTest" is
not provided, also, the link given by
http://gump.covalent.net/jars/latest/ant/ant-testutil.jar [5]
This does work either. When I put it in the classpath though then it
works. I think someone should update the documentation... Atleast for
1.6.2 anyway.
Thanks Jirka
On Apr 7, 2005 2:32 PM, Peter Reilly <[EMAIL PROTECTED]> wrote:
> You need junit.jar in the right directory (lib/optional)
> Also
You need junit.jar in the right directory (lib/optional)
Also ant 1.6.3 beta has been released, you should use that.
1) tar xjf ~/uploads/apache-ant-1.6.3beta1-src.tar.bz2
2) cd apache-ant-1.6.3beta1
3) mkdir lib/optional
4) cp ~/.ant/lib/junit.jar lib/optional
5) ./build.sh test-jar
enjoy!
Peter
J
Hello all,
I have downloaded Ant 1.6.2 sources and need to build the test-jar
task so I can start writing tests for build files but it fails. First
it fails with the following error
BUILD FAILED
H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build.xml:907:H:\apache-ant-1.6.2-src\apache-ant-1.6.2\build