cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent-Olivier Arsenault" <vinc...@stria.com>
Subject Re: Build fails
Date Wed, 05 Jan 2000 17:39:30 GMT
and with javac:

root@raphael cocoon]# java org.apache.tools.ant.Main dist
Buildfile: build.xml
Detected Java Version: 1.1
Project base dir set to: /usr/local/cocoon
Executing Target: prepare
Created dir: /usr/local/cocoon/build
Executing Target: prepare-src
Created dir: /usr/local/cocoon/build/src
Created dir: /usr/local/cocoon/build/classes
Copying 121 files to /usr/local/cocoon/build/src
Replacing @@version@@ --> 1.6-dev
Replacing @@year@@ --> 1999
Executing Target: compile
Compiling 105 source files to /usr/local/cocoon/build/classes
/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPGloba
lLibrary.java:15: Class org.apache.cocoon.fra
mework.DOMConvertible not found in import.
import org.apache.cocoon.framework.DOMConvertible;
       ^
/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSessi
onLibrary.java:15: Class org.apache.cocoon.fr
amework.DOMConvertible not found in import.
import org.apache.cocoon.framework.DOMConvertible;
       ^
/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPReque
stLibrary.java:15: Class org.apache.cocoon.fr
amework.DOMConvertible not found in import.
import org.apache.cocoon.framework.DOMConvertible;
       ^
/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPConte
xtLibrary.java:15: Class org.apache.cocoon.fr
amework.DOMConvertible not found in import.
import org.apache.cocoon.framework.DOMConvertible;
       ^
/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/language/java/XS
PClassLoader.java:83: Method getParent() not
found in class org.apache.cocoon.processor.xsp.language.java.XSPClassLoader.
          ClassLoader cl = getParent(); // Hmmm...
                                    ^
/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/XSPUtil.java:369
: Undefined variable or class name: URLDecode
r
    return URLDecoder.decode(text);
           ^
Note: 5 files use deprecated APIs.  Recompile with "-deprecation" for
details.
6 errors, 1 warning
BUILD FATAL ERROR: Compile failed, messages should have been provided.



----- Original Message -----
From: "Vincent-Olivier Arsenault" <vincent@stria.com>
To: <cocoon-dev@xml.apache.org>
Sent: Wednesday, January 05, 2000 12:25 PM
Subject: Build fails


>
> cvs today at 12:25
>
> compiler: jikes
> IBM JDK 1.1.8
>
> CLASSPATH=
>
/usr/java/lib/classes.zip:/usr/local/jakarta-tools/ant.jar:/usr/local/jakart
> a-tools/javac.jar:/usr/local/jakarta-tools/pr
>
ojectx-tr2.jar:/usr/local/mm.mysql.jdbc/mysql_uncomp.jar:/usr/local/fesi/fes
> i.jar:/usr/local/gnu.regexp/lib/gnu-regexp.ja
>
r:/usr/local/xalan/xalan.jar:/usr/local/xerces/xerces.jar:/usr/local/jakarta
> -tomcat/lib/servlet.jar:/usr/local/jakarta-to
>
mcat/lib/jasper.jar:/usr/local/cocoon/bin/Cocoon.jar:/usr/local/cocoon/bin/x
> tra/fop.jar:/usr/local/cocoon/bin/xtra/jndi.j
>
ar:/usr/local/cocoon/bin/xtra/ldap.jar:/usr/local/cocoon/bin/xtra/openxml-1.
> 1.jar:/usr/local/cocoon/bin/xtra/serialize.ja
>
r:/usr/local/cocoon/bin/xtra/xp.jar:/usr/local/cocoon/bin/xtra/xslp.jar:/usr
> /local/cocoon/bin/xtra/xt.jar:/usr/local/coco
> on/bin/xtra/Jindent.jar
>
> [root@raphael cocoon]# java org.apache.tools.ant.Main dist
> Buildfile: build.xml
> Detected Java Version: 1.1
> Project base dir set to: /usr/local/cocoon
> Executing Target: prepare
> Executing Target: prepare-src
> Copying 120 files to /usr/local/cocoon/build/src
> Replacing @@version@@ --> 1.6-dev
> Replacing @@year@@ --> 1999
> Executing Target: compile
> Compiling 105 source files to /usr/local/cocoon/build/classes
>
> Found 1 semantic error compiling
>
"/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/language/java/X
> SPClassLoade
> r.java":
>
>     83.           ClassLoader cl = getParent(); // Hmmm...
>
>                                    <--------->
>
> *** Error: No method named "getParent" was found in type
> "org/apache/cocoon/processor/xsp/language/java/XSPClassLoader".
>
> Found 1 semantic error compiling
>
"/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/XSPUtil.java":
>
>    369.     return URLDecoder.decode(text);
>
>                    <-------->
>
> *** Error: "URLDecoder" is either a misplaced package name or a
non-existent
> entity.
>
> Found 3 semantic errors compiling
>
"/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPGlob
> alLibrary.j
> ava":
>
>     15. import org.apache.cocoon.framework.DOMConvertible;
>
>                <---------------------------------------->
>
> *** Error: "org/apache/cocoon/framework/DOMConvertible" is either a
> misplaced package name or a non-existent entity.
>
>     38.     if (value instanceof DOMConvertible) {
>
>                                  <------------>
>
> *** Error: Type org/apache/cocoon/processor/xsp/library/DOMConvertible was
> not found.
>
>     57.     Arrays.sort(attributeNames); // Since Java2
>
>             <---->
>
> *** Error: "Arrays" is either a misplaced package name or a non-existent
> entity.
>
> Found 2 semantic errors compiling
>
"/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPSess
> ionLibrary.
> java":
>
>     15. import org.apache.cocoon.framework.DOMConvertible;
>
>                <---------------------------------------->
>
> *** Error: "org/apache/cocoon/framework/DOMConvertible" is either a
> misplaced package name or a non-existent entity.
>
>     62.     Arrays.sort(attributeNames); // Since Java2
>
>             <---->
>
> *** Error: "Arrays" is either a misplaced package name or a non-existent
> entity.
>
> Found 5 semantic errors compiling
>
"/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPRequ
> estLibrary.
> java":
>
>     15. import org.apache.cocoon.framework.DOMConvertible;
>
>                <---------------------------------------->
>
> *** Error: "org/apache/cocoon/framework/DOMConvertible" is either a
> misplaced package name or a non-existent entity.
>
>     57.     Arrays.sort(attributeNames); // Since Java2
>
>             <---->
>
> *** Error: "Arrays" is either a misplaced package name or a non-existent
> entity.
>
>    159.     Arrays.sort(attributeNames); // Since Java2
>
>             <---->
>
> *** Error: "Arrays" is either a misplaced package name or a non-existent
> entity.
>
>    297.     String header = XSPUtil.formatDate(new Date(dateHeader),
> format.trim());
>
>
> <----------------------------------------------------->
>
> *** Error: No method named "formatDate" was found in type
> "org/apache/cocoon/processor/xsp/XSPUtil".
>
>    331.     Arrays.sort(headerNames); // Since Java2
>
>             <---->
>
> *** Error: "Arrays" is either a misplaced package name or a non-existent
> entity.
>
> Found 2 semantic errors compiling
>
"/usr/local/cocoon/build/src/org/apache/cocoon/processor/xsp/library/XSPCont
> extLibrary.
> java":
>
>     15. import org.apache.cocoon.framework.DOMConvertible;
>
>                <---------------------------------------->
>
> *** Error: "org/apache/cocoon/framework/DOMConvertible" is either a
> misplaced package name or a non-existent entity.
>
>     57.     Arrays.sort(attributeNames); // Since Java2
>
>             <---->
>
> *** Error: "Arrays" is either a misplaced package name or a non-existent
> entity.
> BUILD FATAL ERROR: Compile failed, messages should have been provided.
>
>


Mime
View raw message