Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-2006, 10:55 AM
Loyal Member
 
Posts: 81
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 .
Reply With Quote
  #2 (permalink)  
Old 09-13-2006, 08:35 AM
Loyal Member
 
Posts: 81
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 ?
Reply With Quote
  #3 (permalink)  
Old 09-14-2006, 09:59 PM
Loyal Member
 
Posts: 81
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 .
Reply With Quote
  #4 (permalink)  
Old 09-16-2006, 08:04 PM
Loyal Member
 
Posts: 81
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 ?
Reply With Quote
  #5 (permalink)  
Old 09-17-2006, 10:29 PM
Loyal Member
 
Posts: 81
Default

Fix : have to create projects workspace in C:\Documents . ( I had the workspace somewhere else ) .
Reply With Quote
  #6 (permalink)  
Old 09-18-2006, 01:19 PM
Loyal Member
 
Posts: 81
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 ?
Reply With Quote
  #7 (permalink)  
Old 09-18-2006, 05:21 PM
Zimbra Employee
 
Posts: 1,434
Default That may be a bug.

Please file in bugzilla...
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #8 (permalink)  
Old 09-18-2006, 08:49 PM
Loyal Member
 
Posts: 81
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 ?
Reply With Quote
  #9 (permalink)  
Old 09-19-2006, 11:20 AM
Loyal Member
 
Posts: 81
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 ?
Reply With Quote
  #10 (permalink)  
Old 09-19-2006, 11:49 AM
Loyal Member
 
Posts: 81
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 ...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.