Thanks for your idea Nillehammer

But unfortunately this has already been done.

Regards 

Thomas

Thomas BELOT
thomas.be...@santeos.com
Tél :   +33 (0)3 20 60 93 81
Fax :   +33 (0)3 20 60 82 18


-----Message d'origine-----
De : nillehammer [mailto:tapestry.nilleham...@winfonet.eu] 
Envoyé : jeudi 11 août 2011 13:41
À : users@tapestry.apache.org
Objet : Re: Is there a way to change "tapestry.application-version" value 
without redeploying the webapp ?

Hi,
if you have used contributeApplicationDefaults in your AppModule, no.

But you can externalize the values to web.xml by providing context
parameters with appropriate name. The context parameters will be picked up
by tapestry during startup.

So first delete the code in AppModule and then write the paramters into
web.xml. For tapestry.application-version this would be:
<context-param>
  <param-name>tapestry.application-version</param-name>
  <param-value>YORVERSION</param-value>
<context-param>
Now, when you change this value in web.xml a context reload is necessary,
but no redeployment.

-----
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Is-there-a-way-to-change-tapestry-application-version-value-without-redeploying-the-webapp-tp4688726p4689241.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to