Dear Chris,
Thanks for fixing this, I just tried the bat file and it works great!
And your right in a production environment you really don't need the
appserver.bat file, I only use it when I'm going to do some active
development, where I really want to see the console (it great to send
print statements to) and to temporarily turn autoreload on. just as an
aside I generally add three more bat files to my app folder:
stopService.bat
AppServerService.py stop
start-restartService.bat
AppServerService.py restart
runAppserver.bat
AppServerService.py stop
AppServer.bat AppServer.AutoReload=1
I know the three are pretty simple and totally not needed, but their
just really nice shortcuts to keep things simple for me.
Again thanks for fixing the argument problem.
Jose
Christoph Zwerschke wrote:
Jose Galvez wrote:
For windows rather then using a bat file to start the appserver how
about using an executable?
I would not like to resort to making AppServer.bat a binary file just
because of that small problem. Actually, you don't even need the
AppServer.bat file in a productive environmen;, you can either start
Launch.py directly or use AppServerService.py. You only need it during
development for the AutoReload mechanism.
Anyway, I just have improved the AppServer.bat and Launch.py scripts.
You can now do
AppServer.bat AppServer.AutoReload=1
or
AppServer.bat "AppServer.AutoReload=1"
both will work. You can also do
AppServer.bat -u -O AppServer.AutoReload=1
and the -u and -O options will be passed to the Python interpreter,
not to the Launch script.
The script uses features of the cmd.exe shell, but falls back to
ordinary dos shell if these are not available.
Let me know whether this works for you as well.
-- Christoph
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss