Carsten Ziegeler wrote:
> Hi,
> 
> you have to remove the libraries from the lib/opt directory *before*
> building cocoon. The resulting webapp should be runnable without
> any changes.

Then there are a couple of problems in the build script.

Environment: RedHat Linux 7.1, Sun JDK 1.3.1, Cocoon 2.0.2dev (snapshot 
20020220051703).

I remove everything from lib/optional, then:


$ ./build.sh
[...]
/home/ugo/download/java/xml/xml-cocoon2/tools/src/JTidyTask.java:31: 
Class org.w3c.tidy.Tidy not found in import.
import org.w3c.tidy.Tidy;
        ^
1 error

BUILD FAILED

I restore jtidy.jar to lib/optional and build again:

[...]
Compiling 141 source files to 
/home/ugo/download/java/xml/xml-cocoon2/build/cocoon/scratchpad/classes
/home/ugo/download/java/xml/xml-cocoon2/build/cocoon/scratchpad/src/org/apache/cocoon/sunshine/context/RequestSessionContext.java:69:
 
Class org.apache.cocoon.environment.http.HttpRequest not found in import.
import org.apache.cocoon.environment.http.HttpRequest;
        ^
/home/ugo/download/java/xml/xml-cocoon2/build/cocoon/scratchpad/src/org/apache/cocoon/sunshine/SunShine.java:83:
 
Class org.apache.cocoon.environment.http.HttpResponse not found in import.
import org.apache.cocoon.environment.http.HttpResponse;
        ^
Note: 8 files use or override a deprecated API.  Recompile with 
"-deprecation" for details.
2 errors, 1 warning

BUILD FAILED

Unfortunately I am not familiar enough with Ant to understand what is 
going on here.


        Ugo

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to