Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 7 of 7
  1. #1
    vitch Guest

    Default Compilation error with ANT (RESOLVED pb with last mail.jar)

    Hi,

    I tried to install last openxchange release 0.8.6-5 on debian Sarge.
    I have in my lib dir this jar :
    debian:/opt/open-xchange/lib# ls -l
    total 7330
    -rw-r--r-- 1 root staff 56290 2007-10-17 11:05 activation.jar
    -rw-r--r-- 1 root staff 30117 2002-11-06 06:10 commons-cli-1.0.jar
    -rw-r--r-- 1 root staff 46725 2004-07-11 00:13 commons-codec-1.3.jar
    -rw-r--r-- 1 root staff 53082 2007-02-14 05:34 commons-fileupload.jar
    -rw-r--r-- 1 root staff 225375 2007-10-31 15:35 commons-httpclient-2.0.2.jar
    -rw-r--r-- 1 root staff 87776 2007-10-20 00:35 commons-io.jar
    -rw-r--r-- 1 root staff 31605 2006-11-30 16:26 commons-logging.jar
    -rw-r--r-- 1 root staff 126474 2006-11-30 16:26 concurrent.jar
    -rw-r--r-- 1 root staff 172713 2004-12-23 22:08 jakarta-slide-webdavlib-2.1.jar
    -rw-r--r-- 1 root root 30384 2007-04-07 11:33 jcharset.jar
    -rw-r--r-- 1 root staff 435347 2007-05-30 19:23 jcs-1.2.7.9.2.jar
    -rw-r--r-- 1 root staff 153253 2004-09-10 00:32 jdom.jar
    -rw-r--r-- 1 root root 40309 2007-10-31 16:30 json.jar
    -rw-r--r-- 1 root staff 112249 2006-05-02 21:54 junit-4.1.jar
    -rw-r--r-- 1 root staff 371264 2007-10-17 11:07 mail.jar
    -rw-r--r-- 1 root staff 456729 2006-05-30 23:34 mysql-connector-java-3.1.13-bin.jar
    -rw-r--r-- 1 root staff 849471 2007-06-30 14:44 org.eclipse.osgi_3.2.2.ox.jar
    -rw-r--r-- 1 root staff 3733422 2007-06-26 22:11 saxon8.jar
    -rw-r--r-- 1 root staff 31362 2007-10-31 14:51 servlet-api-2.4.jar
    -rw-r--r-- 1 root staff 230640 2006-02-27 20:37 spring-beans_1.2.7.jar
    -rw-r--r-- 1 root staff 121409 2006-02-27 20:37 spring-core_1.2.7.jar
    -rw-r--r-- 1 root staff 51286 2007-05-04 22:49 tnef.jar
    Java version :
    debian:/home/dwl/oxcvs/open-xchange# java -version
    java version "1.5.0_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)
    debian:/home/dwl/oxcvs/open-xchange# javac -version
    javac 1.5.0_13
    javac: no source files
    Usage: javac <options> <source files>....
    When i start to compile :

    debian:/home/dwl/oxcvs/open-xchange# ant -Dlib.dir=/opt/open-xchange/lib install
    Buildfile: build.xml

    prepare:

    patchVersionJava:
    [copy] Copying 1 file to /home/dwl/oxcvs/open-xchange/src/com/openexchange/server

    compile:
    [javac] Compiling 1063 source files to /home/dwl/oxcvs/open-xchange/build
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/mail/utils/StorageUtility.java:204: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] final IMAPProtocol p = fld.getProtocol();
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/IMAPCommandsCollection.java:184: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] final IMAPProtocol p = imapFolder.getProtocol();
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/IMAPCommandsCollection.java:237: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] final IMAPProtocol p = imapFolder.getProtocol();
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/IMAPCommandsCollection.java:522: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] final IMAPProtocol p = imapFolder.getProtocol();
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/IMAPCommandsCollection.java:622: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] final IMAPProtocol p = imapFolder.getProtocol();
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/IMAPCommandsCollection.java:699: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] final IMAPProtocol p = imapFolder.getProtocol();
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/command/FetchIMAPCommand.java:886: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] if (imapFolder.getProtocol().isREV1()) {
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/command/FetchIMAPCommand.java:902: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] command.append(craftHeaderCmd(imapFolder.getProtoc ol(), hdrs));
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/search/IMAPSearch.java:144: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] final int[] matchSeqNums = imapFolder.getProtocol().search(searchTerm);
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/spam/SpamHandler.java:181: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] imapFolder.getProtocol().uidexpunge(toUIDSet(msgUI Ds));
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/spam/DefaultSpamHandler.java:104: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] spamFolder.getProtocol().uidexpunge(toUIDSet(msgUI Ds));
    [javac] ^
    [javac] /home/dwl/oxcvs/open-xchange/src/com/openexchange/imap/spam/SpamAssassinSpamHandler.java:195: getProtocol() has private access in com.sun.mail.imap.IMAPFolder
    [javac] spamFolder.getProtocol().uidexpunge(toUIDSet(msgUI Ds));
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 12 errors

    BUILD FAILED
    /home/dwl/oxcvs/open-xchange/build.xml:116: Compile failed; see the compiler error output for details.

    Total time: 19 seconds
    I don't understand where i have any errors and i don't know where i can read log file ...

    Please help me !

    regards
    Last edited by vitch; 11-01-2007 at 07:01 PM. Reason: resolved

  2. #2
    vitch Guest

    Default REsolved

    The pb is last mail.jar. I have downloaded the last mail.jar and i haved compil errors. And i just try with the mail.jar where you can found in http://213.239.220.146/~mbraun/ox/de...an_etch.tar.gz.

    And compilation working great !!
    Very thanks man !!

  3. #3
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    OK, good to know... Thanks

  4. #4
    Join Date
    Feb 2007
    Posts
    22

    Default

    Quote Originally Posted by vitch View Post
    The pb is last mail.jar. I have downloaded the last mail.jar and i haved compil errors. And i just try with the mail.jar where you can found in http://213.239.220.146/~mbraun/ox/de...an_etch.tar.gz.

    And compilation working great !!
    Very thanks man !!
    Hi same problem here. unfortunately, the link does not work.
    Can you please repost
    Thank you very much
    Cheers
    MCS

  5. #5
    vitch Guest

  6. #6
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    the link has been cut by the forum i guess, this is the correct URL for all installers, please not that those dependency do not hold all files because some are taken from the distribution repository:

    Code:
    http://213.239.220.146/~mbraun/ox/

  7. #7
    Join Date
    Feb 2007
    Posts
    22

    Default

    Quote Originally Posted by Martin Braun View Post
    Hi,

    the link has been cut by the forum i guess, this is the correct URL for all installers, please not that those dependency do not hold all files because some are taken from the distribution repository:

    Code:
    http://213.239.220.146/~mbraun/ox/
    Thank you, all sorted. It works with javamail 1.4, but not 1.4.1

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •