Issue437792

classification
Title: No shell script when installed in cygwin
Type: rfe Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: otmarhumbel Nosy List: bckfnn, mlh, otmarhumbel, pedronis
Priority: normal Keywords:

Created on 2001-07-02.00:37:19 by mlh, last changed 2007-01-09.22:13:41 by otmarhumbel.

Messages
msg2998 (view) Author: Magnus Lie Hetland (mlh) Date: 2001-07-02.00:37:19
I just installed Jython in cygwin; it created two nice DOS batch files called
jython.bat and jythonc.bat... And I don't mind that it thinks I'm using DOS
simply because I'm on a Windows machine, but I _would_ like it to create
some shell scripts that I can actually use :)

(It's not a big deal for me to make them myself, of course - it just seems that
the installer should have done it.)
msg2999 (view) Author: Finn Bock (bckfnn) Date: 2001-07-02.04:31:35
Logged In: YES 
user_id=4201

I think it is beyond what the installer can detect 
automaticly. I tried running this script to see if there 
was anything which could be used to detect the shell 
envirnment. I couldn't find anything.

import java
p = java.lang.System.getProperties()
for k in p.keys():
  print k, p[k]

But it can be added as an command line option to the 
installer.

I'll turn this report into a feature request so we do 
forget about it.
msg3000 (view) Author: Samuele Pedroni (pedronis) Date: 2002-01-03.17:03:32
Logged In: YES 
user_id=61408

In the installation of a program of mine,
I explicitly present checkboxex for creating
windows respectively unix flavor scripts,
they are set according to what is detected,
but the user can change the settings ...
A command line switch is also OK, but who reads the 
installation instructions <wink> 
msg3001 (view) Author: Oti Humbel (otmarhumbel) Date: 2006-08-28.20:51:30
Logged In: YES 
user_id=105844

One stragegy would be to issue a
  sh -c env
command from java, and if it returns normal the chance is
high that there is some kind of unix like shell installed.
We would then create the unix like start scripts, too.

In the meantime, on my machine,
  HUO@BISONNB0171 /etc/huo/jython
  $ ./jython.bat
does the job for me under cygwin.
msg3002 (view) Author: Oti Humbel (otmarhumbel) Date: 2007-01-09.22:13:41
Revision 3046 implements this feature.
See: http://jython.svn.sourceforge.net/viewvc/jython?view=rev&revision=3046
History
Date User Action Args
2001-07-02 00:37:19mlhcreate