Sorry for reply that took so long... > From: Malcolm Thorns [mailto:[EMAIL PROTECTED]] > > > I'm new to Cocoon and building as per instructions - the build is failing > with the same error every time (shown below). > > Can anyone please tell me what the errors are ?
... if you did not yet figured out this - that's because you are compiling JDK1.3 code with JDK1.2 compiler. Try latest CVS version of Cocoon - it should compile with JDK1.2 now (however, I did not tested it - so get back here if more compilation errors exist). Vadim > > Thanks, > > Malcolm Thorns > > > ./build.sh -Dinclude.webapp.libs=yes webapp > > ................ > > Compiling 3 source files to /opt/cocoon-2.0.1/build/cocoon/classes > /opt/cocoon-2.0.1/build/cocoon/src/org/apache/cocoon/util/NetUtils.java: 85: > Exce > ption java.lang.Exception must be caught, or it must be declared in the > throws c > lause of this method. > return java.net.URLDecoder.decode( path ); > ^ > /opt/cocoon-2.0.1/build/cocoon/src/org/apache/cocoon/components/crawler/ Simp > leCo > coonCrawlerImpl.java:426: Method getPath() not found in class java.net.URL. > URL links_url = new URL(url, url.getPath() > ^ > /opt/cocoon-2.0.1/build/cocoon/src/org/apache/cocoon/components/crawler/ Simp > leCo > coonCrawlerImpl.java:427: Method getPath() not found in class java.net.URL. > + ((url.getPath().indexOf("?") == -1) ? "?" : "&") > ^ > /opt/cocoon-2.0.1/build/cocoon/src/org/apache/cocoon/components/search/S impl > eLuc > eneXMLIndexerImpl.java:130: Method getPath() not found in class > java.net.URL. > URL contentURL = new URL(url, url.getPath() > ^ > /opt/cocoon-2.0.1/build/cocoon/src/org/apache/cocoon/components/search/S impl > eLuc > eneXMLIndexerImpl.java:131: Method getPath() not found in class > java.net.URL. > + ((url.getPath().indexOf("?") == -1) ? "?" : "&") > ^ > 5 errors > > BUILD FAILED > > /opt/cocoon-2.0.1/build.xml:787: Compile failed, messages should have been > provi > ded. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>