views:

17

answers:

0

Hi everyone

I'm looking for the best way to update some properties before deploying of application onto tomcat 6.

There is a jee application that's going to be installed on some Windows workstations. Few modules of the app need property update before deploying onto tomcat server. Property updater is realized as standalone java application and main aim of it is to change some absolute paths to resources in properties. It's impossible to do any changes in modules which need this properties It's impossible to update properties using startup servlet. I don't know details of property updater implementation and properties contents, but I suppose, that some paths must be rewritten before deployment.

Atm it's planned to write some .bat scripts to run update before deployment of the main app. But I think it's possible to find better solution.

Maybe there are some way to run any pre-deployment steps on tomcat? Or possibly somebody can suggest other ways for running of property updater in this case?

Thanks in advance, Yury