Hi all,
As you all know in geoserver we stray a bit from maven convention and store
resources like property files and such under src/main/java, rather than the
maven default src/main/resources. With good reason in many
cases, notably wicket because it is handy to store the .html files alongside
their .java counterparts.
However I would like to move the GeoServerAppllcation*.properties files to
src/main/resources. The reason being because I want to use mavens resource
filtering that allows one to create placeholders in a resource file,
something like ${project.version}, and upon copying the resources to the
target directory those variables are actually resolved to values. The reason
I want to do this is to make it easy to add build information to the ui, by
adding the placeholders project.version, build.timestmap, build.revision,
etc... to the properties files.
The reason to sperate them out is to avoid running the filter over all the
other resources and sources.
Any objections?
-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
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel