|
From: <nic...@uk...> - 2004-11-29 03:44:15
|
Hi,
I am trying to get my app working under windows and linux with the same
config & behaviour
My dir structure looks like this
{root}/MyApp.sh
{root}/MyApp.bat
{root}/wrapper/bin
{root}/wrapper/conf
{root}/wrapper/lib
1) I want my scripts are outside of bin - {root}
2) I want my running dir is outside of bin - {root}
I have modified the scripts to find the wrapper(.exe) binary & config from
where they are.
I have set the wrapper.working.dir property to ../../ - in order to make it
run in the {root} dir.
On windows my config works fine. If I leave the unmodified scripts in the
{root}/wrapper/bin everything works fine also.
But on linux, the problem I have is that the wrapper binary doesnt start in
./wrapper/bin - and hence ../../ doesnt make sense - and all paths in the
wrapper.conf are off.
What I am struggling with is how to modify the script so that it runs the
wrapper binary in the {root}/wrapper/bin dir rather than the current dir.
Thanks.
-Nick
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
**********************************************************************************************
BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Securities Services London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority.
|