Hey Edward, It really depends on what revision of GeoServer you are building at. The latest on the stable and master branches (currently versioned 2.3-SNAPSHOt and 2.4-SNAPSHOT) follow the latest on the geotools stable and master branches (currently 9-SNAPSHOT and 10-SNAPSHOT).
Any numbered geoserver release will be built against a numbered geotools release, but it can depend. The projects generally follow the same release cycle so they are consistent most of the time but there is nothing stopping a geotools release to occur without a geoserver one. All that said. The easiest way to find out the geotools version is to look in the root geoserver pom. Near the end there is a property defining the geotools version. For example on master: https://github.com/geoserver/geoserver/blob/master/src/pom.xml#L1459 And on the latest stable released version (2.3.3). https://github.com/geoserver/geoserver/blob/2.3.3/src/pom.xml#L1480 So i would look there and figure out what geotools release you need to build. If its a numbered version it will correspond to a tag in the geotools repository. Then check out and build locally from that tag. Hope that wasn't too long winded :) On Wed, Jul 3, 2013 at 1:16 PM, Edward Judge <[email protected]> wrote: > Hi Justin, > > Yea, I have noticed that my geotools build is 9.2 and the one that > geoserver uses is 9.1. I see both in my maven repository. > Is there a geoserver version that uses 9.2 or can the version be > overridden when I build geoserver? This sounds like it could be the issue. > I've done ""mvn eclipse:eclipse" and restarted Eclipse many times with no > difference in behavior. > > Thanks, > > *Edward Judge* > > Software Engineer > IBM Software Group, Information Management > INZA SW Development > ------------------------------ > Phone: 508-382-4166 IBM Marlborough > E-Mail: [email protected] Marlborough, MA 01752 USA > ------------------------------ > > > > > > From: Justin Deoliveira <[email protected]> > To: Edward Judge/Marlborough/IBM@IBMUS, > Cc: "[email protected]" < > [email protected]> > Date: 07/03/2013 02:49 PM > Subject: Re: [Geoserver-users] Debugging geoserver/geotools source > ------------------------------ > > > > Hi Edward, > > Posting here is fine but you may want to post to * > [email protected]*<[email protected]>for > future dev questions. > > As for your question, if you have built geotools locally you should have > the source attachments for all the jars in the local maven repository. > Might be good to just double check this. > > Other thing would be to ensure the versions match up. So the version of > geotools you built locally is the one that is actually being depended on by > geoserver. > > Other than that you may need to another "mvn eclipse:eclipse" in geoserver > just to kick the project settings. And perhaps a restart of eclipse. I have > found myself doing this when it doesn't automatically pick up source > attachments. > > -Justin > > > > On Wed, Jul 3, 2013 at 12:06 PM, Edward Judge > <*[email protected]*<[email protected]>> > wrote: > Not sure if this is the correct forum but I am trying to debug some > geotools code used by geoserver. I have followed these instructions: > * > ** > http://docs.geoserver.org/latest/en/developer/quickstart/index.html#quickstart > *<http://docs.geoserver.org/latest/en/developer/quickstart/index.html#quickstart> > > Geoserver starts up fine and I can debug (set breakpoints and walk > through) most of the geoserver code but can't get past the Eclipse "Source > not found" error when stepping into a geotools function. I have built the > geotools code myself and I am trying to debug that. I am a novice when it > comes to Eclipse so I could be missing something very basic. Any > suggestions? > > Thanks, > * > Edward Judge* > > Software Engineer > IBM Software Group, Information Management > INZA SW Development > ------------------------------ > Phone: *508-382-4166* <508-382-4166> IBM Marlborough > E-Mail: *[email protected]* <[email protected]> Marlborough, MA 01752 > USA > ------------------------------ > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > * > **http://p.sf.net/sfu/windows-dev2dev*<http://p.sf.net/sfu/windows-dev2dev> > _______________________________________________ > Geoserver-users mailing list* > **[email protected]*<[email protected]> > * > **https://lists.sourceforge.net/lists/listinfo/geoserver-users*<https://lists.sourceforge.net/lists/listinfo/geoserver-users> > > > > > -- > Justin Deoliveira > OpenGeo - *http://opengeo.org* <http://opengeo.org/> > Enterprise support for open source geospatial. > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial.
<<image/gif>>
<<image/gif>>
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
