On Wednesday 07 January 2004 05:55 pm, Johannes Verelst wrote:
> Hi,
>
> Yesterday I've started playing with Eclipse (an open-source IDE) again,
> and I managed to get MMBase imported in it with all possible IDE features
> enabled. Besides the normal syntax highlighting and other normal IDE
> stuff, I've managed to get the following working:
> - CVS integration: you can create patches, commit, etc.
> - Remote debugging: you can set breakpoints, add watches, etc. and connect
> to your tomcat process
> - Hot Code Replacement: you can change code, and the moment you hit
> CTRL-S, the new code is sent to the JVM and loaded (you cannot add or
> delete class members, but you can change method implementation), without
> any restarting.
here a my notes about eclipse+mmbase
this "documentation is based on eclipse 2.1.1"
1/ download eclipse
2/ eclipse-JDT-2.1.1.zip (java development tools)
Window->Preferances->Java->Code Formatter
"Lime splitting" set maximum line lenght to 180
"Style" unchek "Insert tags for indentation, not spaces
Java->New Project
click Folders
keep the output folder to bin (there seems to be some problems with compiling to
build/classes
Organize imports -> number of imports neede for * 2
Team->CVS
->set the communication timeout to something like 180 mmbase cvs is very slow
Team->CVS File Content
change xsl -> ascii
add shtml ->ascii
add jsp ->ascii
Ignored Resources
add build
->open the CVS perspective and create a new repository location
host www.mmbase.org
path /usr/local/cvs
user guest
passwd guest
connection type -> pserver
select the "all" module (not the all folder) en select checkout as project
right clic on the build.xml and select run ant...
(unselect the "usage target) and select bindist
select run .. at this point eclipse sometime hangs..
after you have build sucecfully you meed to refresh the project because ant has created
a directory called build
now goto the project properties
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-vcm-home/docs/online/cvs_features2.0/cvs-faq.html#gettingStarted_3