Hi, since I'm waiting for the merge of the core grid coverage elements to complete, I thought to spend some time looking at the build.
What bugs me is that we do have 48 modules around, yet most of the build time is spent in a few of them, nominally: * 1/4 of the time is main * 1/4 of the time is epsg-hsql * 1/10 is the indexed shapefile module (if you want a more precise account, go to the bottom of this mail, I've marked with stars the module that do take long to build). Now, it's in our interest to keep test code coverage high, but also to keep build relatively fast so that people can build frequently. I still don't know about main and indexed shapefile, but I have some ideas about epsg-hsql. In my opinion, most of the unit test time is spent checking the database contents, because the test goes thru every single row of the most important tables in the database (the DefaultDataSourceTest). Now, this is important, but it's also something that needs to be done only once, when the database is updated. So, my tiny proposal for the moment is to move these tests "offline", aka, to mark them as something that must be run under release, but not for every build. Martin, what do you think? Cheers Andrea [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] Geotools 2 ............................................ SUCCESS [1.469s] [INFO] Maven plugins for Geotools 2 .......................... SUCCESS [0.016s] [INFO] JAR files collector ................................... SUCCESS [3.219s] [INFO] Geotools modules ...................................... SUCCESS [0.156s] [INFO] Referencing services .................................. SUCCESS [22.234s] [INFO] API interfaces ........................................ SUCCESS [2.953s] [INFO] Sample data module .................................... SUCCESS [4.110s] [INFO] Grid Coverage module .................................. SUCCESS [11.453s] [INFO] JJTree and JavaCC compilers plugin .................... SUCCESS [0.297s] **** [INFO] Main module ........................................... SUCCESS [2:31.140s] [INFO] Geotools extensions ................................... SUCCESS [0.078s] [INFO] Brewer module ......................................... SUCCESS [3.282s] [INFO] Feature Based Graphs and Networks ..................... SUCCESS [18.093s] [INFO] Geotools plugins ...................................... SUCCESS [0.172s] **** [INFO] EPSG Authority Service using HSQL database ............ SUCCESS [2:28.313s] [INFO] OpenOffice IDL to Java ................................ SUCCESS [0.265s] [INFO] UNO packager for OpenOffice addins .................... SUCCESS [0.282s] [INFO] Bridges to OpenOffice suite ........................... SUCCESS [2.531s] ** [INFO] Shapefile module ...................................... SUCCESS [25.172s] *** [INFO] Indexed shapefile module .............................. SUCCESS [51.797s] [INFO] Render ................................................ SUCCESS [1.718s] [INFO] Renderer optimized for shapefiles ..................... SUCCESS [11.094s] [INFO] Swing widgets ......................................... SUCCESS [8.781s] [INFO] RMI compiler (rmic) ................................... SUCCESS [0.563s] [INFO] SVG support ........................................... SUCCESS [1.187s] [INFO] WorldImage datasource module .......................... SUCCESS [6.563s] ** [INFO] ArcGrid datasource module ............................. SUCCESS [22.062s] [INFO] DB2 Spatial Extender module ........................... SUCCESS [2.985s] [INFO] EPSG Authority Service using WKT file ................. SUCCESS [7.219s] [INFO] GML module ............................................ SUCCESS [0.765s] [INFO] Directory module ...................................... SUCCESS [1.094s] [INFO] EPSG Authority Service using MS-Access database ....... SUCCESS [0.469s] [INFO] EPSG Authority Service using PostgreSQL database ...... SUCCESS [0.828s] [INFO] GeoMedia datastore implementation ..................... SUCCESS [0.687s] ** [INFO] GeoTIFF grid coverage exchange module ................. SUCCESS [14.860s] [INFO] GTopo30 datasource module ............................. SUCCESS [6.031s] [INFO] HSQL datasource module ................................ SUCCESS [10.219s] [INFO] ImageMosaic datasource module ......................... SUCCESS [12.953s] [INFO] MapInfo MIF format module ............................. SUCCESS [10.937s] [INFO] MySQL DataStore Implementation ........................ SUCCESS [0.891s] [INFO] PostGIS module ........................................ SUCCESS [3.891s] [INFO] TIGER/Line 2000 datastore implementation .............. SUCCESS [0.484s] [INFO] VPF Plugin ............................................ SUCCESS [3.437s] [INFO] Web Map Server client ................................. SUCCESS [4.579s] [INFO] WFS client module ..................................... SUCCESS [13.171s] [INFO] Geotools demos and examples ........................... SUCCESS [0.125s] [INFO] Property File Demo DataStore .......................... SUCCESS [3.688s] [INFO] Data Access Examples .................................. SUCCESS [0.531s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10 minutes 19 seconds [INFO] Finished at: Sat Jul 15 16:57:47 CEST 2006 [INFO] Final Memory: 16M/29M [INFO] ------------------------------------------------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
