Ok, so tricker originally than I thought. One because loading the manfiest
entries from both jars conflict with each other, but i think i have that
one licked. The second is issue is loading the info from the web ui.
Ideally we could a similar class in gwc as the GeoTools class for providing
the version/revision info at runtime. Any objection to this Gabriel? I can
whip up a quick patch if not.
On Sat, Jul 28, 2012 at 7:08 AM, Justin Deoliveira <[email protected]>wrote:
> Nice, that should be it. Thanks Gabriel. I will do a build locally and try
> it out.
>
>
> On Fri, Jul 27, 2012 at 1:22 PM, Gabriel Roldan <[email protected]>wrote:
>
>> ok, added a Git-Revision entry to the gwc MANIFEST files just like the
>> GeoTools ones (e.g. Git-Revision:
>> 152220479ae9bbf0e76ba1d2c416b3027f9f8683).
>>
>> Is that all what's needed?
>>
>> On Fri, Jul 27, 2012 at 5:03 PM, Gabriel Roldan <[email protected]>
>> wrote:
>> > Guess we should do the same in GWC then.
>> > So far GWC jar manifests has the bellow info. It should be as easy to
>> > add git revision.
>> >
>> > Built-By: groldan
>> > Build-Jdk: 1.5.0_22
>> > Implementation-Title: org.geowebcache
>> > Implementation-Vendor: http://geowebcache.org
>> > Implementation-Version: 2012-07-26 23:49:38
>> > Specification-Title: org.geowebcache
>> > Specification-Vendor: http://geowebcache.org
>> > Specification-Version: 1.3-RC4
>> >
>> >
>> > On Fri, Jul 27, 2012 at 11:21 AM, Justin Deoliveira
>> > <[email protected]> wrote:
>> >> Definitely. To do this we need some way to pull that info out of the
>> gwc
>> >> artifacts. For GeoTools we include it in the manifest of all jars.
>> >>
>> >>
>> >> On Thu, Jul 26, 2012 at 8:21 PM, Ben Caradoc-Davies
>> >> <[email protected]> wrote:
>> >>>
>> >>> GeoServer VERSION.txt contains information that is very useful in
>> >>> identifying the GeoServer and GeoTools snapshots contained in a build:
>> >>>
>> >>> version = 2.3-SNAPSHOT
>> >>> git revision = f4823f9d60ec66ba64bde591ccd6b096fb0bc7ce
>> >>> git branch = f4823f9d60ec66ba64bde591ccd6b096fb0bc7ce
>> >>> build date = 20120727-0501
>> >>> geotools version = 9-SNAPSHOT
>> >>> geotools revision = 9b2133c0fdab0dc03800831d7e9ca759ef1f388b
>> >>>
>> >>> The programmatic interface is used to populate the About GeoServer
>> page
>> >>> with similar information.
>> >>>
>> >>> Now that GeoServer master depends on GWC snapshots, should
>> VERSION.txt and
>> >>> the About GeoServer page also contain GWC version info?
>> >>>
>> >>> Kind regards,
>> >>>
>> >>> --
>> >>> Ben Caradoc-Davies <[email protected]>
>> >>> Software Engineer
>> >>> CSIRO Earth Science and Resource Engineering
>> >>> Australian Resources Research Centre
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Justin Deoliveira
>> >> OpenGeo - http://opengeo.org
>> >> Enterprise support for open source geospatial.
>> >>
>> >
>> >
>> >
>> > --
>> > Gabriel Roldan
>> > OpenGeo - http://opengeo.org
>> > Expert service straight from the developers.
>>
>>
>>
>> --
>> Gabriel Roldan
>> OpenGeo - http://opengeo.org
>> Expert service straight from the developers.
>>
>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel