Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: eclipse

  1. #1
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default eclipse

    Are there detailed instructions somewhere about how to set up the development
    environment with eclipse ?

    I downloaded from svn co https://svn.sourceforge.net/svnroot/zimbra zimbra .

    In eclipse there are many errors and classes can't be resolved .

  2. #2
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    Guys , I just don't get what I am supposed to do once I have downloaded from svn ... the code is not operable in eclipse . Most likely I am doing something wrong but I don't know what it is . Will there be new instructions coming soon on how to use the code from svn ?

  3. #3
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    Well , got the code ( from svn ) to function on Windows/Eclipse ... Linux still a problem so I am giving up on developing on Linux ... will just develop on Windows .

  4. #4
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    I am running reset-the-world from within eclipse .... I get :


    WARN: local config file `\opt\zimbra\conf\localconfig.xml' is not readable
    WARN: while loading attrs, ignoring not .xml file: C:\Documents\versions-init.sql
    Exception in thread "main" java.io.FileNotFoundException: C:\Documents (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at com.zimbra.cs.account.AttributeManager.main(Attrib uteManager.java:589)

    The relevant line in AttributeManager is :
    os = new FileOutputStream(cl.getOptionValue('o'));

    I am running on Windows XP and I created the folder C:\Documents ... after I run reset-the-world , there is a file versions-init.sql in there . So it managed to make a file in that directory ... the directory itself is Read-Only and I haven't been able to figure out how to turn that off in XP ... but something tells me that is not the problem anyway .

    Any suggestions ?

  5. #5
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    Fix : have to create projects workspace in C:\Documents . ( I had the workspace somewhere else ) .

  6. #6
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default new error

    ant build stops at the init-wiki target :

    init-wiki:
    [echo] Initializing wiki@xp-9c2d2fac6234
    [java] ERROR: zclient.IO_ERROR (invoke Remote host closed connection during handshake, server: localhost) (cause: javax.net.ssl.SSLHandshakeException Remote host closed connection during handshake)

    Anyone seen this before ?

  7. #7
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default That may be a bug.

    Please file in bugzilla...
    Bugzilla - Wiki - Downloads - Before posting... Search!

  8. #8
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    Bugzilla asks for version ... how do I tell what version the code is ?

    There is 4.00 RC1 etc...

    Maybe I should be using some other version ?

  9. #9
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    I just tried 'EDISON' branch ... and now ant build stops when openldap is started ... can't start ... I look at the slapd.conf and the schema location is
    D:/opt/zimbra/openldap/etc/schema .... it should be C: drive ... otherwise everything else is setup for C: so why is slapd.conf created with D: ? How can I correct this ?

  10. #10
    sasha is offline Loyal Member
    Join Date
    May 2006
    Posts
    81
    Rep Power
    8

    Default

    My original error javax.net.ssl.SSLHandshakeException is fixed ... I re-installed tomcat with username/passwd : zimbra/zimbra . Maybe just the re-install did the trick . ( I ran reset-the-world so many times . )

    But now the build stops at 'inject' : Exception in thread "main" java.io.FileNotFoundException: data\soap\samplecontacts.xml ..

    I did a search and samplecontacts.xml doesn't exist on my computer ... so ...

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 01-02-2008, 03:17 PM
  2. NetBeans (6.0 - Developer) and Eclipse
    By JoshuaPrismon in forum Developers
    Replies: 1
    Last Post: 03-18-2007, 10:52 PM
  3. Setting up Eclipse for Subversion development
    By doublec in forum Developers
    Replies: 9
    Last Post: 01-29-2007, 09:04 PM
  4. Read-Only CVS Now Available
    By KevinH in forum Announcements
    Replies: 13
    Last Post: 01-09-2006, 11:46 AM

Posting Permissions

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