Hi,
lately I've been using parallel builds quite a bit and the geotools one
indeed parallelizes
quite well... except when it breaks while running jar-collector.

The plugin, copying jar files in a central location, is not suited for
parallel, multi-process
builds.
I've tried to fix it with little success, but then it stroke me... why are
we running it at all
in a normal build?

My understanding is that the release build need it in order to push all
jars in a single
location where they can be packaged, but the normal build does not really
need it, no?

So I've made this pull request which pushes the jar-collector in a profile,
and enables
said profile in release builds:
https://github.com/geotools/geotools/pull/149

The builds should also be a bit faster as a side effect, since we avoid
some file copying
(haven't measured, hard to get a parallel build work at all with the
jar-collector
around, but without it a build with "-T2C -Dall -DskipTests" completed in
3m20se

I _believe_ this is all we need... but I'm not 100% sure.
Anyone knows of other usages of the jar collector?
Do we depend on it for anything in the documentation?

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to