[email protected] ha scritto:
> 
> Hello dev list,
> 
> I'm looking for some method to setup geoserver to run in eclipse with 
> the oracle ng plugin.  I'm new to doing this -- I've managed to get 
> geoserver working within eclipse, but I don't know how to integrate 
> geotools with that so that I can attach to the ng source code.  Is there 
> documentation maintained somewhere on getting this to work?  (It would 
> also be nice if I could figure out how to jump into the source of 
> gwc...which doesn't seem to be available.)

Unfortunately this escapes me as well, afaik there is no known way
to have both GeoTools and GeoServer loaded in the same Eclipse in
a way that there is a direct project dependency between GeoServer
and GeoTools modules (all attempts so far resulted in a messed up
classpath that prevents running GeoServer).

If all you want is just to go step by step in the source, use
mvn eclipse:eclipse -DdownloadSource
and maven will download source attachments for all jars.

What I usually do is to do mvn eclipse:eclipse in both Geotools
and GeoServer source trees and load them both, knowing that
GeoServer projects are not directly attached to the GeoTools
ones (e.g., a modification in the GeoTools code during a GS debug
session won't be applied directly, you'll have to stop GS,
rebuild the modified GT module, restart).

Painful... so what I do usually is to debug GeoServer until I
figure out the problem, then write a test case in GeoTools
that reproduces it, fix it, make sure the test case now passes,
and retest in GeoServer to make sure the issue is really gone.

Hope this helps
Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to