Hi Andrea: This one got lost in the noise; I am also in favour of this patch. The only thing I can think to add is a small note in the developers guide to the effect that geotools will target the "bin" directory.
Jody On 29/06/2009, at 2:24 AM, Andrea Aime wrote: > Hi all, > for a few days I've tried to use the eclipse plugin so that the output > directory of Eclipse is separate from the maven one. > The rationale for why this may be beneficial is explained here > (bottom of the document for a pro/cons list): > http://docs.codehaus.org/display/M2ECLIPSE/Separate+Eclipse+and+Maven+output+folders > > From where I stand the biggest pro is that I don't have to kick the > refresh in Eclipse as often and I can safely build in maven using > "mvn install" without the clean part, which is otherwise necessary > since Eclipse builds .class files also with errors. > > The latter alone shaves a few minutes out of the build, for example, > on 2.5.x (both "hot" builds, no downloads besides the usual few xml > tests downloading stuff, I guess schemas): > > mvn clean install -Dall -> 9:37s > mvn install -Dall -> 5:26s (!!!) > > The biggest downside is the extra space consumption, if I got > the script right (du -csh `find gt2.5.x/ -name "bin" -type d`) > it's 95MB thrown into the dustbin... > > I'm curious to hear other people experience and how would people feel > about having Eclipse use a separate directory by default (patch > attached for those that want to try out) > > Cheers > Andrea > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. > Index: pom.xml > =================================================================== > --- pom.xml (revisione 33374) > +++ pom.xml (copia locale) > @@ -954,6 +954,16 @@ > > > <plugins> > + <!-- Eclipse integration --> > + <plugin> > + <artifactId>maven-eclipse-plugin</artifactId> > + <configuration> > + <buildOutputDirectory>./bin</buildOutputDirectory> > + </configuration> > + </plugin> > + > + > + > <plugin> > <!-- groupId org.apache.maven.plugins is the default --> > <artifactId>maven-assembly-plugin</artifactId> > ------------------------------------------------------------------------------ > _______________________________________________ > Geotools-devel mailing list > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel