cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: Core libraries
Date Wed, 20 Feb 2002 10:19:44 GMT
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: u.cei@cbim.it


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


Mime
View raw message