Tara, I set GEOSERVER_DATA_DIR in my Eclipse launch configuration.
https://www.seegrid.csiro.au/twiki/bin/view/Infosrvices/GeoserverDevelopmentSetup#Debugging_GeoServer_using_embedd

(that page needs some work)

I'm using Eclipse working sets (one each for GS and GT) and maven 
command-line.

On 13/08/10 00:02, Tara Athan wrote:
> Thanks! OK, I've got this mostly working with two workspaces, except I
> don't see instructions on how to use Start.java with a different data
> directory - is that possible? It doesn't seem to be recognising my
> GEOSERVER_DATA_DIR environment variable.
>
> Also, has anyone had success with any maven-eclipse plugin, or is it
> better to stick to the command line ( one console for geoserver, one for
> geotools ... I think I need a second monitor...)
>
> Tara
>
> Andrea Aime wrote:
>> Justin Deoliveira ha scritto:
>>> Hi Tara,
>>>
>>> Unfortunately this is the way it is usually done. Some developers in
>>> the past i believe have set up eclipse workspaces that have both
>>> geoserver and geotools in them bypassing maven. But i usually go
>>> through maven dependencies.
>>
>> So do I. I've tried to setup a single set of interconnected projects,
>> but unfortunately that does not work: in Eclipse the test dependencies
>> of a project are inherited from the dependent projects as well, and
>> there are some geotools specific test dependencies that do break
>> the GeoServer own tests, making development sort of impossible.
>>
>>> A workflow that works well for me is:
>>>
>>> * have two eclipse workspaces going at once, once for geotools and
>>> once for geoserver
>>> * make a geotoosl change
>>> * compile only teh necessary modules (-DskipTests is your friend here)
>>> * refresh your geoserver workspace
>>> * restart geoserver via Start.java
>>>
>>> I find it is not too tedious once you get used to it.
>>
>> I have a variant of this setup where I have just one Eclipse instance
>> going and two project groups, one of geotools, and for geoserver,
>> open in the same workspace. Which yeah, means you have more than 100
>> projects open in a single Eclipse instance
>>
>> Cheers
>> Andrea
>>
>>
>
>


-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to