Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Odd Behavior

Odd Behavior

2007-01-04       - By Steve Loughran
Reply:     <<     21     22     23     24  

Alasdair Young wrote:
> Fixed it. (I spent 2 hours on this, and just after I hit send, I realise
> that there was one more place to check :)
>
> cruise control has a cruisecontrol/lib directory with ant.jar in it. You
> need to ensure that ant.jar, ant-junit.jar and junit.jar are all the
> right versions and are all present in this directory.
>
> - alasdair
>

aah. thats annoying.

1. stick a <diagnostics> task into the build file so that it runs under
CC. This is the same as running  -diagnostics on the command line, and
shows you what ant things is going wrong, and what the build thinks its
environment is.

2. upgrade (both versions) to ant1.7, which has better diagnostics when
things dont load, and which can load junit off the <junit> code
classpath, so you dont need it in ant home any more.

-steve


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.