[Webware-devel] Improvement of launch scripts

2005-09-09 Thread Christoph Zwerschke
Problem 1: The AppServer and AppServer.bat shell skripts do not work if they are not started from their containing directories. Particularly, I cannot used "startproc" to start the AppServer script. Suggestion for improvement: Add this to AppServer: cd $(dirname $0) Add this to AppServer.bat

Re: [Webware-devel] Improvement of launch scripts

2005-09-10 Thread Jason Hildebrand
Hi Christoph, Both of your suggestions sound good to me. peace, Jason On Fri, 2005-09-09 at 12:24 +0200, Christoph Zwerschke wrote: > Problem 1: > The AppServer and AppServer.bat shell skripts do not work if they are > not started from their containing directories. Particularly, I cannot > used

Re: [Webware-devel] Improvement of launch scripts

2005-09-14 Thread Seth Remington
On Fri, 2005-09-09 at 12:24 +0200, Christoph Zwerschke wrote: > Problem 1: > The AppServer and AppServer.bat shell skripts do not work if they are > not started from their containing directories. Particularly, I cannot > used "startproc" to start the AppServer script. > > Suggestion for improvem

Re: [Webware-devel] Improvement of launch scripts

2005-09-14 Thread Christoph Zwerschke
I think both of these suggestions would be good improvements. The only input I would have would be to also handle the -l or --library option that adds a lib/ directory to the Python path... sys.path.append(os.path.join(appWorkPath, 'lib')) That makes sense, I will take heed of that: The lib dir

Re: [Webware-devel] Improvement of launch scripts

2005-09-14 Thread Ian Bicking
On the general subject of a launch script, I've attached a Launch.py replacement that I've been using. I'm not using it much anymore, since I'm not using Webware (at least this version of Webware), but it's worked okay in the past (maybe the attempt to kill existing app servers is too aggressi

Re: [Webware-devel] Improvement of launch scripts

2005-09-14 Thread Christoph Zwerschke
Ian Bicking wrote: > On the general subject of a launch script, I've attached a Launch.py replacement that I've been using. Thanks. I will try to integrate this and the other changes until next week. -- Chris --- SF.Net email is sponsored