[opencms-dev] Unable to build OpenCms 5.3.5 (Ix) using JDK 1.4.2
david at ourbrisbane.com
david at ourbrisbane.com
Tue Jun 22 00:57:01 CEST 2004
Hi Alex,
these are the errors I got when first cecked out and built.
[root at todhunter cms]# tar -xzf opencms.tgz
[root at todhunter cms]# cd opencms
[root at todhunter opencms]# ant compile
Buildfile: build.xml
init:
[echo] Building OpenCms 5.3.5 (Ix)
[echo]
[echo] OpenCms input directory is: /home/cms/opencms
[echo] OpenCms output directory is: /home/cms
[echo] Java version detected: 1.4
[echo] Tomcat home is: /usr/local/cms/jakarta-tomcat-4.1.30
[echo] Excluding from build: org/opencms/db/oracle/**
checklibs:
compile:
[mkdir] Created dir: /home/cms/build/classes-core
[javac] Compiling 540 source files to /home/cms/build/classes-core
[javac] /home/cms/opencms/src/com/opencms/defaults/A_CmsContentDefinition.java:186: error: unrecognized
character in input stream.
[javac] * if you wish to link urls to the field entries
[javac] ^
[javac] /home/cms/opencms/src/com/opencms/defaults/A_CmsContentDefinition.java:187: error: unrecognized
character in input stream.
[javac] * @return a String with the url
[javac] ^
[javac] /home/cms/opencms/src/com/opencms/htmlconverter/CmsHtmlConverterConfig.java:521: error:
unrecognized character in input stream.
[javac] // String Chars
= ",ä,,Ä,,ö,,Ö,,ü,,Ü,,ß,ß©,©,\",",<,<,>,>,<!--,<!--,--
>,-->,,€";
[javac]
^
[javac] /home/cms/opencms/src/com/opencms/htmlconverter/CmsHtmlConverterConfig.java:522: error:
unrecognized character in input stream.
[javac] String Chars = "\",",<,<,>,>";
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/file/CmsRequestContext.java:253: error: unrecognized character
in input stream.
[javac] * to valid OpenCms filenames. Example: <code>Wste Wrter.doc -->
Wueste_Woerter.doc</code>.<p>
[javac]
^
[javac] /home/cms/opencms/src/org/opencms/file/CmsRequestContext.java:254: error: unrecognized character
in input stream.
[javac] *
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/file/CmsResourceTypeFolder.java:269: error: unrecognized
character in input stream.
[javac] // nothing to do here, because there couldnt be any Linkmanagement-Tags inside a folder-
resource
[javac]
^
[javac] /home/cms/opencms/src/org/opencms/file/CmsResourceTypeFolder.java:270: error: unrecognized
character in input stream.
[javac] return file;
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/file/I_CmsResourceType.java:136: error: unrecognized character
in input stream.
[javac] * When a resource is exported, the IDs inside the
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/file/I_CmsResourceType.java:137: error: unrecognized character
in input stream.
[javac] * link tags have to be changed to the corresponding URLs.<p>
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/lock/CmsLock.java:62: error: unrecognized character in input
stream.
[javac] * A lock that allows the user to edit the resources structure record,
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/lock/CmsLock.java:63: error: unrecognized character in input
stream.
[javac] * its resource record, and its content record.<p>
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/setup/CmsSetupWorkplaceImportThread.java:50: warning: The class
`java.io.PrintStream' has been deprecated.
[javac] public static PrintStream m_tempErr;
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/setup/CmsSetupWorkplaceImportThread.java:65: warning: The class
`java.io.PrintStream' has been deprecated.
[javac] private PrintStream m_tempOut;
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/main/OpenCmsCore.java:1561: error: Type `sun.misc.BASE64Decoder'
not found in the declaration of the local variable `dec'.
[javac] sun.misc.BASE64Decoder dec = new sun.misc.BASE64Decoder();
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/main/CmsException.java:450: warning: The class
`java.io.PrintStream' has been deprecated.
[javac] public void printStackTrace(java.io.PrintStream s) {
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/importexport/CmsImportVersion4.java:210: error: Type
`sun.misc.BASE64Decoder' not found in the declaration of the local variable `dec'.
[javac] sun.misc.BASE64Decoder dec;
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/importexport/CmsImportVersion3.java:194: error: Type
`sun.misc.BASE64Decoder' not found in the declaration of the local variable `dec'.
[javac] sun.misc.BASE64Decoder dec;
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/importexport/CmsImportVersion2.java:237: error: Type
`sun.misc.BASE64Decoder' not found in the declaration of the local variable `dec'.
[javac] sun.misc.BASE64Decoder dec;
[javac] ^
[javac] /home/cms/opencms/src/org/opencms/importexport/CmsExport.java:789: error: Type
`sun.misc.BASE64Encoder' not found in the declaration of the local variable `enc'.
[javac] sun.misc.BASE64Encoder enc = new sun.misc.BASE64Encoder();
[javac] ^
[javac] 17 errors, 3 warnings
BUILD FAILED
file:/home/cms/opencms/build.xml:220: Compile failed; see the compiler error output for details.
Total time: 9 seconds
More information about the opencms-dev
mailing list