On Friday 19 October 2007 17:41:37 Justin Deoliveira wrote:
If you are using eclipse, another thing you can do is use the
-DdownloadSources=true flag when you run mvn eclipse:eclipse. This will
grab the sources as well and allow you navigate them in eclipse.
I did that, and it did download the source jars, but if I add the Geoserver
projects to Eclipse, it only shows the Geoserver stuff, not the Geotools
things. I can't import the Geotools projects from those jars either. I'm not
sure if I can step into them in the debugger, but they don't show up among
the projects. I'm currently just reading through the source, trying to get a
grip on the whole thing.
But be warned that this takes a while because it downloads sources for
all dependencies, not just geotools. Might be something you want to run
over night.
Been there, done that :).
Anyways I have found this a useful way to automatically link to the
sources of dependent libraries without having to checkout and build them.
Definitely. But you will have to do the latter if you want to change that
source.
On Friday 19 October 2007 12:22:53 Andrea Aime wrote:
Lourens Veen ha scritto:
> Quick question from a starting developer: I checked out the Geoserver
> 1.5.x code from CVS as described in the documentation, built it, ran it,
> read it, and everything is fine. During the build process, Maven
> downloaded the WARs of Geoserver's special version of Geotools
> (2.3.5-SNAPSHOT). I'd like to have the source to that in my project as
> well. How do I do that? Do I need to check it out separately, and if so
> from where and into where?
Each GeoServer branch works against an associated GeoTools branch.
This is because GeoServer is heavily dependent on GeoTools, so most
of bug fixes or feature enhancement end up involving GeoTools
modifications as well.
GeoServer 1.5.x is based on GeoTools 2.3.x that you can check out from
here: http://svn.geotools.org/geotools/branches/2.3.x/
Ah, thanks. I checked that out, wrestled my JDK into supporting JAI and
JAI-ImageIO, and got the whole thing to compile. I'm trying to import the
projects into my Eclipse workspace, but the only projects I get are
export-wizzard and foss4g, and those only seem to contain a demo.
Should I be importing these as a library? What am I missing?
Lourens
--
ir. Lourens Veen Universiteit van Amsterdam - IBED
Nieuwe Achtergracht 166
Wetenschappelijk Programmeur 1018 WV Amsterdam, The Netherlands
EcoGRID-GAN tel: 020-5257453 fax: 020-5257431