Message3489

Author otmarhumbel
Recipients astigmatik, otmarhumbel
Date 2008-09-08.14:30:12
SpamBayes Score 0.00088854844
Marked as misclassified No
Message-id <1220884213.1.0.146095931137.issue1123@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch IMHO fixes the problem.
I manually replaced the patched jython.bat file in
jython_installer-2.5a2.jar and ran a bunch of tests:

a) installation into a directory containing no spaces (blanks):
   successful (like before)

b) installation into a directory containing a space (blank):
   successful (like before)

c) starting jython from the directory without spaces:
   successful

d) starting jython from the directory containing a space:
   successful

In addition, I tried to start jython by calling /bin/jython.bat.
The following table shows success in all combinations of set/unset
JAVA_HOME and JYTHON_HOME environment variables:

JAVA_HOME | JYTHON_HOME |  install dir   | calling /bin/jython.bat
 is set   |   is set    | contains space |     is successful
----------+-------------+----------------+------------------------
    N     |     N       |       N        |         yes
    N     |     Y       |       N        |         yes
    Y     |     N       |       N        |         yes
    Y     |     Y       |       N        |         yes
    N     |     N       |       Y        |         yes
    N     |     Y       |       Y        |         yes
    Y     |     N       |       Y        |         yes
    Y     |     Y       |       Y        |         yes
----------+-------------+----------------+------------------------
History
Date User Action Args
2008-09-08 14:30:13otmarhumbelsetmessageid: <1220884213.1.0.146095931137.issue1123@psf.upfronthosting.co.za>
2008-09-08 14:30:13otmarhumbelsetrecipients: + otmarhumbel, astigmatik
2008-09-08 14:30:13otmarhumbellinkissue1123 messages
2008-09-08 14:30:12otmarhumbelcreate