Hi all,
Recently on geoserver-devel we have been discussing adding some versioning
information to build artifacts. This is most important for geoserver when it
comes to nightly builds because currently when someone grabs a nightly build
they really have no idea what version of geotools is included in it. I would
think conveying such information would be of use to any project that depends
on geotools, not just geoserver.
So, I would like to make some modifications to the geotools build process to
add this information. Things to capture at this point are the svn revision,
the build timestamp, and the project version. Open to ideas of what else to
include.
So the main idea will be to add this information to the manifest of each
individual jar file that gets created. So a resulting manifest would look
like this:
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: jdeolive
Build-Jdk: 1.5.0_19
Project-Version: 2.7-SNAPSHOT
Build-Timestamp: 20101116-1134
Svn-Revision: 36212
The second part is to add VERSION.txt file to all the build release
artifacts. Which will look something like this:
version: 2.7-SNAPSHOT
svn revision: 36212
build date : 20101116-1134
What do people think. I created a patch here that does the work:
http://jira.codehaus.org/browse/GEOT-3319
Thanks.
-Justin
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel