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 ?

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/Simpl
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/Simpl
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]>

Reply via email to