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 11-03-2010, 04:15 AM
Member
 
Posts: 11
Default zimbra source code

hi,

I'm enable to compile the zimbra source code. There is an error saying cannot find the main method.. I want to know whether there is a way to edit and re compile the code as I wish.. and any I IDE is there to use for it..

and I want to run zimbra open source edition in tomcat server in localhost.. because I want to edit the open source edition according to our system.. and modify the system as well.. but I was enable to find the Information about that..

Anyway I was thinking on editing all the interfaces of zimbra open source edition.. and If some one knows about finding the source code of interfaces please help me to do my works.. because this is an academic purpose.

thank you..
Dinu
Reply With Quote
  #2 (permalink)  
Old 11-03-2010, 04:27 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by DinuAsa View Post
I'm enable to compile the zimbra source code. There is an error saying cannot find the main method.. I want to know whether there is a way to edit and re compile the code as I wish.. and any I IDE is there to use for it..

and I want to run zimbra open source edition in tomcat server in localhost.. because I want to edit the open source edition according to our system.. and modify the system as well.. but I was enable to find the Information about that..
You could have found that with a search of the forums, go to the wiki and search for the word 'perforce' - you'll find all you need there.

Quote:
Originally Posted by DinuAsa View Post
Anyway I was thinking on editing all the interfaces of zimbra open source edition.
I assume youll be doing that within the terms of the Licencing Terms for the Zimbra products?


Quote:
Originally Posted by DinuAsa View Post
.. and If some one knows about finding the source code of interfaces please help me to do my works.. because this is an academic purpose.
See my first reply above.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-05-2010, 12:58 AM
Member
 
Posts: 11
Default

hi Bill,

I tried out what youo are said to me to do. But still I have a problem with installing perforce because I'm not very familirer with it. I use ubuntu 10.10 and this is waht I got as error:

dinushika@dinushika-Compaq-Presario-CQ60-Notebook-PC:~$ export P4PORT=codes.zimbra.com:2666
dinushika@dinushika-Compaq-Presario-CQ60-Notebook-PC:~$ mkdir -p /home/public/p4dinushika@dinushika-Compaq-Presario-CQ60-Notebook-PC:~$ ./p4 -u public -P public1234 -c public-view sync -f //deport/zcs/BRANCH/...
bash: ./p4: No such file or directory
dinushika@dinushika-Compaq-Presario-CQ60-Notebook-PC:~$


help me to resolve this problem.

thank you
dinu
Reply With Quote
  #4 (permalink)  
Old 11-12-2010, 07:52 AM
Junior Member
 
Posts: 6
Default

Has the p4 executable permissions for your user?
Reply With Quote
  #5 (permalink)  
Old 11-14-2010, 05:43 AM
Member
 
Posts: 11
Default

Finnaly I'm able to install p4v and p4d in ubuntu.. but not in the way that you said. Now I'm enable to deport the zimbra source to preforce. Is there any way to do that??

and is there any problem without having a server?? I want to work in localhost.. and try out the source codes and customize them..

pls reply quickly...
Reply With Quote
  #6 (permalink)  
Old 11-15-2010, 02:20 AM
Moderator
 
Posts: 7,928
Default

You will need to start the Zimbra services to test; and you do not need to have a server you just need to ensure that when your notebook performs a DNS lookup for the A and MX records for your test domain they return the correct results. How much memory does your notebook have ?
__________________
Reply With Quote
  #7 (permalink)  
Old 11-15-2010, 09:56 AM
Member
 
Posts: 11
Default

1GB RAM..

Is it sufficient?? If it is not then which way is suitable for me to do this tasks.. and I've got centos installed in sun Vertual Box.. Can I work there with zimbra??

I tried out with eclipse and some extend it works but I have no clear idea about the zimbra customization with eclipse because I new to zimbra..

i have another question with the source code.. when I go through the source code and I think .JSP files should contain the user interface(view of the pages). but still I enable to get the real idea about .JSP files..
any idea??
Reply With Quote
  #8 (permalink)  
Old 11-16-2010, 06:36 PM
Elite Member
 
Posts: 338
Default

You need to know how zimbra works before modifying the source code.
1GB --> it's not sufficient. --> I suggest 2GB.
There are a litle jsp files in zimbra project --> Zimbra uses AJAX to make its interfaces.
Reply With Quote
  #9 (permalink)  
Old 11-16-2010, 10:53 PM
Member
 
Posts: 11
Default

I already use Zimbra Desktop.. your information is realy helpful to me.. thank you vwry much..

Can you say another way to test my new modifications. Because I tried several ways but all of these were not work properly. I should do all these changes to Zimbra open source collaboration suit installed in a server.
Reply With Quote
  #10 (permalink)  
Old 11-17-2010, 05:40 PM
Elite Member
 
Posts: 338
Default

Which components do you want to modify?
If you want to modify the interface, please follow these steps:
- Find the tgz file in your installation.
- unzip that file
- Modify it
- Zip it with tgz extension.
- Reupload it to your installation.
--> you'll see the changes.
I suggest you should find these file: Shares_all.js.tgz, Startup1_1_all.js.tgz,...
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.