Re: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104865067609362&w=2
1. Ok, lib/core/util.concurrent-1.3.1.jar has been added to fix this. (I'd added 1.3.2 locally and that also works). 2. I had a look at build.xml and figured out that I need: ./build.sh \ -Dinclude.webapp.libs=yes \ -Dexclude.webapp.samples=yes \ -Dexclude.webapp.documenation=yes \ -Dexclude.webapp.javadocs=yes \ -Dexclude.scratchpad=yes \ -Dexclude.webapp.scratchpad=yes \ -Dexclude.webapp.idldocs=yes \ war to build a minimal cocoon.war. This works fine. (got a runtime error (when running cocoon) when I also tried -Dexclude.deprecated=yes). Cheers, Neil Bacon -----Original Message----- From: Geoff Howard [mailto:[EMAIL PROTECTED] Sent: Wednesday, 26 March 2003 3:06 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Cocoon-2.1-dev build fails Neil, I can't reproduce this problem. I did build clean and excluded xmldb block via local.blocks.properties. The build ran fine, and cocoon started up with no error (in jetty, but still...). After trying a fresh cvs update, and a build clean if you still have this problem can you specify what other blocks you're excluding if any and how to reproduce the no class def error (like what samples page?). Also, since you obviously have both tomcat and jetty ready to go, can you try it in jetty (cocoon.bat servlet). Geoff > -----Original Message----- > From: neil [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 5:22 PM > To: Cocoon-Users (E-mail) > Subject: Re: Cocoon-2.1-dev build fails > > > Re: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104862608911688&w=2 > > I like the way the build tries to let you include just what you > want, but there > are a few little problems with it. Yesterday I checked out the > CVS HEAD and now > using jdk-1.4.1, windows2000/cygwin ... > > 1. > I tried excluding blocks I don't need by using > local.blocks.properties, but when I ran > cocoon (in tomcat-4.1.18) I got: > > java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/Executor > at org.apache.cocoon.Cocoon.contextualize(Cocoon.java:204) > at > org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet > .java:1304) > at > org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:505) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapp > er.java:934) > > It seems that src/blocks/xmldb/lib/xmldb-api-20011111.jar > includes the package > EDU/oswego/cs/dl/util/concurrent which is referenced elsewhere. > So the xmldb block > cannot be excluded. > > 2. > I tried to exclude samples and docs: > > ./build.sh -Dinclude.webapp.libs=yes \ > -Dexclude.webapp.samples=yes \ > -Dexclude.webapp.documenation=yes \ > -Dexclude.webapp.javadocs=yes war > > and got: > > Writing: C:\cocoon-2.1\build\webapp\WEB-INF\cocoon.xconf > > scratchpad-samples: > Copying 57 files to C:\cocoon-2.1\build\webapp\samples > Copied 1 empty directory to C:\cocoon-2.1\build\webapp\samples > Copying 87 files to C:\cocoon-2.1\build\webapp\samples > > BUILD FAILED > file:///C:/cocoon-2.1/build.xml:637: IOException: > java.io.FileNotFoundException: > C:\cocoon-2.1\build\webapp\samples\samples.xml (The system > cannot find the file > specified) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]