Tara Athan ha scritto:
> 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.

I normally set -DGEOSERVER_DATA_DIR=... in the eclipse launcher,
jvm options section.

> 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...)

You need a better console. If you're on Windows try Console:
http://sourceforge.net/projects/console/

Cheers
Andrea


> 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
>>
>>
> 
> 


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

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to