Title: jython_installer-2.5rc3.jar should contain a root directory
Type: behaviour Severity: normal
Components: Installer Versions: 25rc4
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: otmarhumbel, vivek
Priority: Keywords:

Created on 2009-05-28.18:24:51 by vivek, last changed 2009-05-29.06:38:43 by otmarhumbel.

msg4740 (view) Author: Vivek Pandey (vivek) Date: 2009-05-28.18:24:50
I was trying to install jython 2.5 rc3 and after doing jar xvf, I
realized that it does not have a root directory. This is painful and a
fix will be simple enough to create the installer with a root directory
name so that when someone installs it it does not pollute the install
directory and installs everything in to something like jython-2.5rc3. 

I also wonder on the choice of packaging as a jar. Would zip packaging
not be simpler?
msg4741 (view) Author: Oti Humbel (otmarhumbel) Date: 2009-05-28.19:45:13
As documented in, the 
idea is to RUN the installation .jar, not to unpack it.

The .jar contains a MANIFEST which specifies what to do when started.

So please do:
  java -jar jython_installer-2.5rc3.jar
  java -jar jython_installer-2.5rc3.jar --help
msg4742 (view) Author: Vivek Pandey (vivek) Date: 2009-05-28.22:43:06
I am using jython to run django app. So I 
need the full jython install on which I 
can install django. Can you tell me how 
java -jar is going to  work for me?

How do I reopen this bug? I don't agree 
with your resolution.
msg4755 (view) Author: Oti Humbel (otmarhumbel) Date: 2009-05-29.06:03:41
On the command line, cd into the directory where jython_installer-
2.5rc3.jar is, and then type:
  java -jar jython_installer-2.5rc3.jar
This will open a GUI installation program, which is pretty 
straightforward to use.
E.g. it will ask you where to install Jython to.

Hope this helps (and no need to reopen),
msg4757 (view) Author: Vivek Pandey (vivek) Date: 2009-05-29.06:32:01
Ah! It is UI based installer. 

Although, I wonder on a headless system this could still be an issue but
for my purpose it just works fine:)
msg4758 (view) Author: Oti Humbel (otmarhumbel) Date: 2009-05-29.06:38:42
On headless systems, it automatically switches into console mode.
You can force this using the --console flag.
And if you are too lazy to go through all the steps, use --silent.
If you type:
  java -jar jython_installer-2.5rc3.jar --help
it prints more details about the above possibilities.

Have fun!
Date User Action Args
2009-05-29 06:38:43otmarhumbelsetmessages: + msg4758
2009-05-29 06:32:11viveksetmessages: + msg4757
2009-05-29 06:04:23otmarhumbelsetmessages: + msg4755
2009-05-28 22:43:07viveksetmessages: + msg4742
2009-05-28 19:45:13otmarhumbelsetstatus: open -> closed
resolution: invalid
messages: + msg4741
nosy: + otmarhumbel
2009-05-28 18:25:42viveksettitle: jython_installer-2.5rc3.jar should contain a rot directory -> jython_installer-2.5rc3.jar should contain a root directory
2009-05-28 18:24:51vivekcreate