[Geoserver-devel] Changing the default output directory of Eclipse in GeoServer as well

Hi all,
I was wondering about making the same change we did in Geotools
into GeoServer as well. It really improved both my maven and
Eclipse experience a lot (Eclipse projects do not pop up all
red on first start, maven builds a lot faster).

What do you think?
I'm ok with having the output go into target/bin if people do
prefer so btw.

Cheers
Andrea

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

Sounds good to me.

Jody

On Wed, Jul 1, 2009 at 6:13 PM, Andrea Aime<aaime@anonymised.com> wrote:

Hi all,
I was wondering about making the same change we did in Geotools
into GeoServer as well. It really improved both my maven and
Eclipse experience a lot (Eclipse projects do not pop up all
red on first start, maven builds a lot faster).

What do you think?
I'm ok with having the output go into target/bin if people do
prefer so btw.

Cheers
Andrea

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

------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Andrea Aime wrote:

What do you think?
I'm ok with having the output go into target/bin if people do
prefer so btw.

Or even target/eclipse or target/eclipse/bin or target/eclipse/classes if you want to be obvious and scoped by IDE.

But before you do this, lets get some feedback from the GeoTools side.

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

Ben Caradoc-Davies wrote:

But before you do this, lets get some feedback from the GeoTools side.

I am getting unit test failures in Eclipse. (They pass in maven).

Did you consider what happens to maven testResources?

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

Ben Caradoc-Davies ha scritto:

Ben Caradoc-Davies wrote:

But before you do this, lets get some feedback from the GeoTools side.

I am getting unit test failures in Eclipse. (They pass in maven).

Did you consider what happens to maven testResources?

What are the tests that are breaking for you and what makes you think
it's due to the test resources?

Cheers
Andrea

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

+1

Andrea Aime wrote:

Hi all,
I was wondering about making the same change we did in Geotools
into GeoServer as well. It really improved both my maven and
Eclipse experience a lot (Eclipse projects do not pop up all
red on first start, maven builds a lot faster).

What do you think?
I'm ok with having the output go into target/bin if people do
prefer so btw.

Cheers
Andrea

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

+1
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

-------------------------------------------------------

On Thu, Jul 2, 2009 at 2:11 AM, Justin Deoliveira<jdeolive@anonymised.com> wrote:

+1

Andrea Aime wrote:

Hi all,
I was wondering about making the same change we did in Geotools
into GeoServer as well. It really improved both my maven and
Eclipse experience a lot (Eclipse projects do not pop up all
red on first start, maven builds a lot faster).

What do you think?
I'm ok with having the output go into target/bin if people do
prefer so btw.

Cheers
Andrea

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Andrea Aime ha scritto:

Hi all,
I was wondering about making the same change we did in Geotools
into GeoServer as well. It really improved both my maven and
Eclipse experience a lot (Eclipse projects do not pop up all
red on first start, maven builds a lot faster).

What do you think?
I'm ok with having the output go into target/bin if people do
prefer so btw.

Answering myself, the same problem noted in GeoTools with SPI
would present itself in GeoServer if we add this and
any module adds applicationContext.xml files in the test
directory and in the main directory at the same time.

And there is a module doing that:

find . -regex ".*src/\(test\|main\)/java/applicationContext.xml"
./src/main/src/main/java/applicationContext.xml
./src/wcs1_1/src/main/java/applicationContext.xml
./src/wcs/src/main/java/applicationContext.xml
./src/wfs/src/main/java/applicationContext.xml
./src/community/web2/core/src/main/java/applicationContext.xml
./src/community/web2/wcs/src/main/java/applicationContext.xml
./src/community/web2/wfs/src/main/java/applicationContext.xml
./src/community/web2/wms/src/main/java/applicationContext.xml
./src/community/web2/demo/src/main/java/applicationContext.xml
./src/community/upload/src/main/java/applicationContext.xml
./src/community/statusreporter/core/src/main/java/applicationContext.xml
./src/community/Issues/src/main/java/applicationContext.xml
./src/community/printing/src/main/java/applicationContext.xml
./src/community/importer/src/main/java/applicationContext.xml
./src/community/QueryUsers/src/main/java/applicationContext.xml
./src/community/geoxacml/src/main/java/applicationContext.xml
./src/community/kml-ows5/src/main/java/applicationContext.xml
./src/community/preferences/core/src/main/java/applicationContext.xml
./src/community/preferences/web/src/main/java/applicationContext.xml
./src/community/rest/src/main/java/applicationContext.xml
./src/community/proxy/src/main/java/applicationContext.xml
./src/community/wps/src/main/java/applicationContext.xml
./src/community/geosync/src/main/java/applicationContext.xml
./src/community/web-security/src/main/java/applicationContext.xml
./src/community/hello/src/main/java/applicationContext.xml
./src/community/dds/src/main/java/applicationContext.xml
./src/community/geosearch/src/main/java/applicationContext.xml
./src/rest/src/main/java/applicationContext.xml
./src/rest/src/test/java/applicationContext.xml
./src/gwc/src/main/java/applicationContext.xml
./src/extension/wfsv/src/main/java/applicationContext.xml
./src/extension/ogr/src/main/java/applicationContext.xml
./src/extension/validation/src/main/java/applicationContext.xml
./src/extension/imagemap/src/main/java/applicationContext.xml
./src/extension/h2/src/main/java/applicationContext.xml
./src/wms/src/main/java/applicationContext.xml
./src/legacy/main/src/main/java/applicationContext.xml
./src/legacy/wcs/src/main/java/applicationContext.xml
./src/legacy/wfs/src/main/java/applicationContext.xml
./src/legacy/web/src/main/java/applicationContext.xml
./src/legacy/wms/src/main/java/applicationContext.xml

(hint, look for rest)

So I guess we're back to square one, and I won't
commit the patch on eclipse

Cheers
Andrea

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