[fedora-java] Compiling OpenExchange with gcj and classpath

Soumyadip Modak soumyadip at randomink.org
Fri Jul 8 19:04:08 UTC 2005


Resending to the Fedora-Java list, as my previous mail seems to have 
been rejected, and adding the OX user list:

Hello,
Recently I've been looking at OpenExchange on Fedora Core 4. I was 
hoping to utilise FC4's extensive free Java tools to build OX. OX 
configure script didn't thorw up any problems but make failed witha lot 
of errors. Can anyone please guide me how to rectify these problems to 
get a completely free groupware solution ?

Errors :  [Full list of errors at http://www.randomink.org/soumyadip/error]

Making all in javabuild
make[1]: Entering directory `/root/open-xchange-0.8.0-3/javabuild'
/usr/bin/ant -f ../build.xml
Buildfile: ../build.xml

init:

[javac]     import com.openexchange.tools.encoding.Base64;
[javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The import com.openexchange.tools.encoding.Base64 is never used

   [javac] 2. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactInsEdit.java 

   [javac]  (at line 98)
   [javac]     import sun.misc.BASE64Decoder;
   [javac]            ^^^^^^^^
   [javac] The import sun.misc cannot be resolved

   [javac]     import sun.misc.BASE64Encoder;
   [javac]            ^^^^^^^^
   [javac] The import sun.misc cannot be resolved

[javac]  (at line 546)
   [javac]     String fullcache = new BASE64Encoder().encodeBuffer(cache);
   [javac]                            ^^^^^^^^^^^^^
   [javac] BASE64Encoder cannot be resolved to a type

[javac] 6. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/groupware/ContactManagement.java 

   [javac]  (at line 85)
   [javac]     import sun.misc.BASE64Decoder;
   [javac]            ^^^^^^^^
   [javac] The import sun.misc cannot be resolved

   [javac] 24. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/ComposeMessage.java
   [javac]  (at line 383)
   [javac]     new ParserDelegator().parse(new 
StringReader(tmp_wms.getHTMLMailText().toString()),
   [javac]                           ^^^^^
   [javac] The method parse(StringReader, html2text, boolean) is 
undefined for the type ParserDelegator

[javac] 26. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
   [javac]  (at line 68)
   [javac]     import com.sun.mail.imap.IMAPFolder;
   [javac]            ^^^^^^^^^^^^
   [javac] The import com.sun.mail cannot be resolved
 
[javac] 28. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
   [javac]  (at line 180)
   [javac]     IMAPFolder fa = (IMAPFolder)imapStore.getFolder("INBOX");
   [javac]     ^^^^^^^^^^
   [javac] IMAPFolder cannot be resolved to a type

  [javac] 32. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/FolderSettings.java
   [javac]  (at line 348)
   [javac]     Rights rights = fa.myRights();
   [javac]     ^^^^^^
   [javac] Rights cannot be resolved to a type

[javac] 58. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/MessageList.java
   [javac]  (at line 72)
   [javac]     import com.sun.mail.imap.Rights;
   [javac]            ^^^^^^^^^^^^
   [javac] The import com.sun.mail cannot be resolved

[javac] 64. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/OXWorker.java
   [javac]  (at line 442)
   [javac]     String auth = "Basic " + new 
sun.misc.BASE64Encoder().encode((nasObjectOperations.getWUSObject(no).getUsername() 
+ ":" + nasObjectOperations.getWUSObject(no).getPassword()).getBytes());
   [javac]                                  ^^^^^^^^
   [javac] sun.misc cannot be resolved to a type

[javac] 80. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java 

   [javac]  (at line 50)
   [javac]     import javax.swing.text.html.HTMLEditorKit;
   [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [javac] The import javax.swing.text.html.HTMLEditorKit cannot be 
resolved

[javac] 81. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java 

   [javac]  (at line 59)
   [javac]     public class html2text extends 
HTMLEditorKit.ParserCallback {
   [javac]                                    ^^^^^^^^^^^^^
   [javac] HTMLEditorKit cannot be resolved to a type

[javac] 82. ERROR in 
/root/open-xchange-0.8.0-3/src/com/openexchange/webmail/message/html2text.java 

   [javac]  (at line 70)
   [javac]     if (tag.equals(HTML.Tag.BLOCKQUOTE)) {
   [javac]                    ^^^^^^^^^^^^^^^^^^^
   [javac] HTML.Tag.BLOCKQUOTE cannot be resolved

etc.

Thanks

-- 
Soumyadip Modak
soumyadip.modak at gmail.com
soumyadip at randomink.org
http://www.randomink.org/soumyadip




More information about the java-devel mailing list