I could be wrong but can’t maven update the version number? That shouldn’t depend on svn or git should it? It should be the pom version I would guess.
Sent from my Windows 8 PC
From: Francois Prunayre <fx.prunayre@anonymised.com>
Sent: July 6, 2012 7:54:24 AM
To: Jose Garcia <jose.garcia@anonymised.com>
CC: Devel geonetwork-devel@anonymised.comge.net
Subject: Re: [GeoNetwork-devel] server.prop file
2012/7/5 Jose Garcia <jose.garcia@anonymised.com>:
Hi Francois
I updated the installer to use git information before releasing RC0.
Ok, so we also need to update version number in server.prop manually
in core-geonetwork
https://github.com/geonetwork/core-geonetwork/blob/master/web/src/main/webapp/WEB-INF/server.prop
because it will not change until the installer is built ?
Francois
Regards,
Jose García
On Thu, Jul 5, 2012 at 6:59 PM, Francois Prunayre <fx.prunayre@anonymised.com>
wrote:
Hi José,
2012/6/26 Jose Garcia <jose.garcia@anonymised.com>:
Hi
I’m updating installer script to replace some properties from svn info
command with similar information taken from git. Can anyone confirm
about
these properties from WEB-INF/server.prop:
- svn_revision
- svn_url
Are used in the code?
I don’t think. Mainly version is used to define webapp version and
trigger db update if does not match.
Did you changed it based on git info ?
Cheers.
Francois
Or are just added to this file for documentation?
Regards,
Jose García
–
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net
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/
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
–
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net
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/
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
2012/7/6 Jesse Eichar <jesse.eichar@anonymised.com>:
I could be wrong but can't maven update the version number? That shouldn’t
depend on svn or git should it? It should be the pom version I would guess.
Yep Jesse, in fact it is by overrides if server-props-overrides is
used but it's not always the case.
So we should move server.prop to webResources and use maven to
populate the version field at least by default. What do you think ?
Francois
Sent from my Windows 8 PC
From: Francois Prunayre <fx.prunayre@anonymised.com>
Sent: July 6, 2012 7:54:24 AM
To: Jose Garcia <jose.garcia@anonymised.com>
CC: Devel geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] server.prop file
2012/7/5 Jose Garcia <jose.garcia@anonymised.com>:
Hi Francois
I updated the installer to use git information before releasing RC0.
Ok, so we also need to update version number in server.prop manually
in core-geonetwork
https://github.com/geonetwork/core-geonetwork/blob/master/web/src/main/webapp/WEB-INF/server.prop
because it will not change until the installer is built ?
Francois
Regards,
Jose García
On Thu, Jul 5, 2012 at 6:59 PM, Francois Prunayre <fx.prunayre@anonymised.com>
wrote:
Hi José,
2012/6/26 Jose Garcia <jose.garcia@anonymised.com>:
> Hi
>
> I'm updating installer script to replace some properties from svn info
> command with similar information taken from git. Can anyone confirm
> about
> these properties from WEB-INF/server.prop:
>
> * svn_revision
> * svn_url
> Are used in the code?
I don't think. Mainly version is used to define webapp version and
trigger db update if does not match.
Did you changed it based on git info ?
Cheers.
Francois
> Or are just added to this file for documentation?
> Regards,
> Jose García
>
> --
> GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
> on
> GeoServer and GeoNetwork. Visit http://geocat.net for details.
> _________________________
> Jose García
> GeoCat bv
> Veenderweg 13
> 6721 WD Bennekom
> The Netherlands
> http://GeoCat.net
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
--
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net
------------------------------------------------------------------------------
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/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork