|
From: Leif M. <le...@ta...> - 2007-03-29 23:20:15
|
Almond,
You can make references to environment variables in your wrapper.conf.
Try this:
wrapper.app.parameter.1=%WEBSERVICE_PATH%
Described in the docs here:
http://wrapper.tanukisoftware.org/doc/english/props-envvars.html
Cheers
Leif
Almond Khan wrote:
> Hi,
>
> First, thanks for this wonderful tool. It has made my life much simpler.
>
> I am using embedded tomcat and I have to pass 1st parameter as webapps
> path. For testing purpose the following works
>
> wrapper.app.parameter.1=
> C:\ncp\NCP\main\component\CPWebService\target\CPWebService-cpserver\CPWebService
>
> But I do not want to hard code the value in conf file as user could
> define its root any where. Is there any way I could define some thing
> at run time or deployment time
>
> wrapper.app.parameter.1=SOME_ENVIRONMENT_VARIABLE or RUN_TIME_VALUE
>
> Thanks,
>
> Khan
|