----- Original Message -----
From: "Ugo Cei" <u.cei@cbim.it>
> Since you're using JDK 1.4...
>
> $ ./build.sh
> Buildfile: build.xml
>
> init:
>
[echo] --------------------------------------------------------------
> [echo] Setting up customized ant tasks...
> [echo] ... done.
>
[echo] --------------------------------------------------------------
> [echo] Krysalis Centipede [2002]
>
> ...
>
> [user-input] Please select a target [compile]
> compile
>
> BUILD FAILED
>
> java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy
> at JTidyTask.init(JTidyTask.java:70)
>
> this is using:
>
> java version "1.4.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
> Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
>
> under RedHat Linux 7.1.
This problem comes from the fact that all jars in ./tools/centipede/lib/
must be in the classpath.
Usually they are placed in ant/lib and that's all, but to make ant upgrade
easier, I put them in another dir.
build.bat puts these jars in the classpath, and it works.
I tried to do the same with build.sh, and it works on my machine, but mind
me, I have W200 and cygwin, and don't know if paths are treated consistently
with Linux in Cygwin.
All I know is that if I "cd" in the directory of build.sh and execute it, it
works on my machine; unfortunately, I don't have a Linux box at hand to
debug it.
Please look in build.sh and see if you can fix it, it would be great!
Thank you :-)
--
Nicola Ken Barozzi barozzi@nicolaken.com
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
|