cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <baro...@nicolaken.com>
Subject Re: [WARN] Build with 'compile' target fails
Date Thu, 24 Jan 2002 19:51:57 GMT
From: "Piroumian, Konstantin" <KPiroumian@flagship.ru>


> Something's went wrong in the latest updates. Build 'compile' fails with:
>
>      [echo] Building with Ant version 1.4.1 compiled on October 11 2001
>      [echo] using build file D:\Java\repository\xml-cocoon2\build.xml
>      [echo] --------------------------------------------------------------
>     [javac] Compiling 1 source file to
> D:\Java\repository\xml-cocoon2\tools\anttasks
>     [javac] D:\Java\repository\xml-cocoon2\tools\src\JTidyTask.java:31:
> Class org.w3c.tidy.Tidy not found in import.
>     [javac] import org.w3c.tidy.Tidy;
>     [javac]        ^
>     [javac] 1 error

All builds work correctly if you use build.sh or build.bat in root cocoon
dir.
In fact, in one of the latest updates, new targets were added with new
tasks, and of these, JTidyTask, uses jTidy, as the stacktrace clearly
indicates. JTidy jar is copied in the tools/lib dir with xerces and xalan
now:
(build.bat)...
copy lib\optional\jtidy*.jar tools\lib
...

If you use build.xml directy just copy the jTidy jar in tools/lib from
lib/optional and all should compile.

--
Nicola Ken Barozzi                 xml-cocoon@nicolaken.com
These are the days of miracle and wonder...
          ...so don't cry baby, don't cry...
                                                  Paul Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message