[opencms-dev] Unable to build OpenCms 5.3.5 (Ix) using JDK 1.4.2

Alexander Kandzior alex at opencms.org
Mon Jun 21 08:15:02 CEST 2004


Hello,

these issues are so far unknown, what JDK are you compiling with? 

Can you provide details about the "invalid" characters in the JavaDoc?

Also, what kind of "fix" did you use for sun.misc.BASE64Decoder? 

The OpenCms core classes already use Jdk1.4 (actually since 5.0). What makes
you think this is not so? 

Regarding the compile errors, most of them appear to be from external JARs
(e.g. org.dom4j or sun.misc). The one refereing to OpenCms classes dosn't
make sense. Are you sure your environment is set up correctly?

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of 
> david at ourbrisbane.com
> Sent: Monday, June 21, 2004 4:44 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Unable to build OpenCms 5.3.5 (Ix) 
> using JDK 1.4.2
> 
> 
> Hello,
> 
>    I have checked out a copy of open cms from the cvs 
> repositroy yesterday, and tried to build it on a redhat 
> linux box against JDK1.4.2, but get a number of complie errors.
> 
>   A number of source files had inbalid caracheters in their 
> javadoc, (which I removed)
> 
>   And a couple of files used sun.misc.BASE64Decoder, which 
> I've also fixed.
> 
>   However I am still getting a number of build errors, 
> 
>   Is there any documention to fix these errors, Also is there 
> any plans to move from jdk1.3 to jdk1.4 prior to 
> this code leaving Beta?
> 
> 
> Buildfile: build.xml
>  
> init:
>      [echo] Building OpenCms 5.3.5 (Ix)
>      [echo]  
>      [echo] OpenCms input directory is: /home/cms/cms6.0/opencms
>      [echo] OpenCms output directory is: /home/cms/cms6.0
>      [echo] Java version detected: 1.4
>      [echo] Tomcat home is: ${tomcat.home}
>      [echo] Excluding from build: org/opencms/db/oracle/**
>  
> checklibs:
>  
> compile:
>     [javac] Compiling 548 source files to 
> /home/cms/cms6.0/build/classes-core
>     [javac] 
> /home/cms/cms6.0/opencms/src/sun/misc/CharacterEncoder.java:15
> 3: warning: The class 
> `java.io.PrintStream' has been deprecated.
>     [javac]        protected PrintStream pStream;
>     [javac]                  ^
> ........
>     [javac] org/dom4j/tree/AbstractDocumentType.java:0: 
> error: non-static 
> method 
> 'org.dom4j.tree.AbstractDocumentType.getPath(org.dom4j.Element
> )' overrides static method
>     [javac] org/dom4j/tree/AbstractDocumentType.java:0: 
> error: non-static 
> method 
> 'org.dom4j.tree.AbstractDocumentType.getUniquePath(org.dom4j.E
> lement)' overrides static method ........
>     [javac] 
> /home/cms/cms6.0/opencms/src/org/opencms/importexport/CmsImpor
> tVersion4.java:113: error: Invalid 
> checked exception class `org.opencms.main.CmsException' in 
> `throws' clause. The exception must be a subclass 
> of an exception thrown by 
> `org.opencms.importexport.A_CmsImport.importResources
> (org.opencms.file.CmsObject,java.lang.String,org.opencms.repor
> t.I_CmsReport,java.security.MessageDigest,java.io
> .File,java.util.zip.ZipFile,org.dom4j.Document,java.util.Vecto
> r,java.util.Vector,java.util.Vector,java.lang.Str
> ing,java.lang.String)' from class 
> `org.opencms.importexport.A_CmsImport'.
>     [javac]        public synchronized void 
> importResources(CmsObject cms, String importPath, I_CmsReport 
> report, MessageDigest digest, File importResource, ZipFile 
> importZip, Document docXml, Vector excludeList, 
> Vector writtenFilenames, Vector fileCodes, String 
> propertyName, String propertyValue) throws CmsException {
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 




More information about the opencms-dev mailing list