3.
Setting up the development environment
Up one level
Details on how to set up a development environment for the GeoNetwork opensource project (under development!)
here are the TortoiseCVS settings for GeoNetwork retrieval from CVS for GeoNetwork…Protocol: Password server (:pserver:)
Protocol parameters:
Server: geonetwork.cvs.sourceforge.net
Port:
Repository folder: /cvsroot/geonetwork
User name: anonymous
Module: geonetwork
Using the above, I was able to retrieve (via context-menu right-click in Windows Explorer) the source.
However, as I stated, Eclipse is my preferred IDE – and so I prefer to use that as my CVS/checkout tool. I don’t believe it is necessary to install/configure TortoiseCVS if you plan to use Eclipse. To open and configure Eclipse for the GeoNetwork project, open Eclipse and use the following steps…
create a new project (File/New Project/CVS/Checkout project from CVS)
set ‘Host’ to geonetwork.cvs.sourceforge.net
set ‘Repository path’ to /cvsroot/geonetwork
set ‘User’ to anonymous
leave ‘Password’ blank
set ‘Connection type’ to pserver
check ‘Use default port
click Next
You should now be able to click on ‘Use an existing module…” and it will load the module names.
select ‘geonetwork’ from the modules
click Next
click “Check out as a project in the workspace” and set ‘Project Name’ to geonetwork
click Next
Choose your workspace location (for reference, I use e:\BlueNet\geonetwork)
Click Next
Select the ‘tag’ (this is the CVS’s ‘marked code’ that you want. Typically this will be HEAD)
Click Finish
The IDE should now be busy for a while, checking out the files from the CVS at SourceForge.
I also found it useful to retrieve ‘jeeves’ (upon which geonetwork is dependant) from SourceForge via CVS. To import Jeeves into your Eclipse project , follow the above steps (from “create a new project”), replacing ‘geonetwork’ with “jeeves”
If you wish to retrieve the JDOM code/binaries (another code dependency), you can visit www.jdom.org -- you might like to add the JAR file (if you download the binary only) as a dependency (external JAR) to the geonetwork project.
by
Jeroen Ticheler
—
last modified
2007-03-14 02:52
Creative Commons - http://creativecommons.org/licenses/by/2.5/