> Ugo Cei wrote: > > > 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 > Ok, this is a dependency from the build system and not Cocoon to jtidy. I personally don't like this, but it's in there...so a workaround for you is to copy the jtidy.jar into the tools/lib directory before building - now you can remove if from lib/optinal again.
> 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/sr c/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/sr c/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 > Ah, these are problems of some components in the scratchpad area which you not need for a "core" cocoon as scratchpad indicates that they might disappear, change etc. AFAIK, the only solution for this is to remove the src directory from the scratchpad directory before building. I know this is not very pleasant and should be fixed somehow. Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]