have the jsp page load a properties file which has the version within. if performance is a proven concern, have a java class load and cache the version into a singleton bean

as regards capturing the current version of a dependency, you can either define a property with the version and link the dependency's version to the property, or hmm I've another idea for the versions maven plugin

Sent from my iPod

On 24 Dec 2008, at 09:46, "Wim Deblauwe" <[email protected]> wrote:

Hi,

I have a project (war) that has an other project (swf) as a dependency. The war contains an index.jsp that refers to the swf dependency. Currently, it is hardcode like 'myflexproject-1.0-SNAPSHOT.swf'. I would like to put some
placeholder there and let maven filter this index.jsp and fill in the
correct version. Is this possible? How?

regards,

Wim

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to