[opencms-dev] Development Environment

Pavel Peringer pavel.peringer at qbizm.cz
Wed Aug 2 10:16:24 CEST 2006


Hello

For module development we are using Eclipse.

Opencms is separately instaled in Tomcat from opencms.war, no clean 
source build, just as the others have installed Opencms.
I have more Tomcat each with one Opencms aplication: one for 
development, one for testing, one for current web project..

I have plugin allow me start tomcat from Eclipse:
http://www.sysdeo.com/eclipse/tomcatPlugin.html
Some more info:
http://www-128.ibm.com/developerworks/library/os-ectom/
http://www.eclipse-plugins.info/eclipse/plugins.jsp?category=Tomcat

After installing this plugin, new toolbar appers in menu - Start, Stop, 
Restart Tomcat.
Configuration what Tomcat it using is from menu Windows -> Preferences 
-> Tomcat
Choose tomcat version, tomcat dir and from folder Advanced here is again 
tomcat base dir.

Creating project:
File -> New Project -> Java -> Tomcat Project
Uncheck "Use default" option and browse your tomcat aplication. On the 
next page I do not use "can update /xml.file".

Then I attach opencms source files from CVS web repository to 
opencms.jar and from external folder linking modules source files.

Problem is that JSP can not be debugged, but there is MyEclipse 
extensions allow this. Or "write, run, hope, comment" process :-)
And of cource you can use opencms ftpd or sync tool, when coding in 
Tomcat webapps /jsp folder.

HTH

Pavel Peringer

-- 
Pavel Peringer                              Qbizm technologies, a.s.
programator                                 ... the art of software.
____________________________________________________________________
www.qbizm-technologies.cz    www.qbizm.cz      www.qbizm-services.cz




More information about the opencms-dev mailing list