D.Nunes wrote: > Hi All, > > I'm trying (did it already) to mount a geoserver 1.7.2 project at eclipse. > > In the web module, i ran test class and the jetty is running successfully. > The issue is, i use Oracle database, so, in this geoserver (running from > eclipse), the datastore doesn't have "Oracle" option. In a normal situation, > i have to copy ojdbc and gt-oralce-plugin jar files into lib folder. There > is any way i could have the oracle datastore in the geoserver running at > jetty. > > As i want to have the oracle source in my project, how can i add some > geotools modules to my geoserver project? If it is possible to run in real > time at jetty?
Never managed to have GeoServer modules depend live on the GeoTools ones, there are some test dependencies propagating from the GeoTools modules that make it impossible to startup GeoServer (unfortunately eclipse does not have a concept of a test vs compile dependency and propages them all without discrimination). What I usually do is to create a configuration that uses the oracle jars: mvn eclipse:eclipse -Poracle then reload the geoserver projects in eclipse and eventually fix the missing oracle driver jar. That allows me to debug, but not to develop the oracle stuff live against geoserver. What I do is to debug until I find the problem I'm looking for, then I switch to geotools, write a test case, fix the issue, build, and double check it's fixed in geoserver as well. Cheers Andrea ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel