From: <bc...@wo...> - 2000-10-31 22:22:01
|
Hi I have tried to create an installer for the current snapshot of jython. I have used the free (GPL) LiftOff program to create the self installing .class file. http://sourceforge.net/projects/liftoff/ The installer is 1.5 Mb and contains also the standard python library which have previously been distributed as pylib15x.jar ftp://jython.sourceforge.net/pub/jython/Install.class We have not made any decisions that LiftOff should be used, so please look at this as part of an evaluation of installers. I have only tested this on win2k (with jdk1.3, jdk1.1.7a & MS-jview 5.00.3229). Feedback from other platforms and JVMs is needed before we can decide whether LiftOff is useful to us. Please try the installer and post your experience, both good and bad, here on the list. Give special attention to the two generated scripts. With some luck these should work on unixes and windows. The text shown as license and readme should not be taken for anything other than examples. This also include the graphics used. I had to fix some bugs in LiftOff which occurred on windows (line-ending, slash/backslash) and LiftOff is GPL so the modified version is here: ftp://jython.sourceforge.net/pub/jython/liftoff-001031.tar.gz regards, finn |
From: Jeff T. <je...@so...> - 2000-11-01 08:19:56
|
On Tue, 31 Oct 2000, Finn Bock wrote: > Hi > > I have tried to create an installer for the current snapshot of jython. > I have used the free (GPL) LiftOff program to create the self installing > .class file. > > http://sourceforge.net/projects/liftoff/ > > The installer is 1.5 Mb and contains also the standard python library > which have previously been distributed as pylib15x.jar > > ftp://jython.sourceforge.net/pub/jython/Install.class > > We have not made any decisions that LiftOff should be used, so please > look at this as part of an evaluation of installers. > > I have only tested this on win2k (with jdk1.3, jdk1.1.7a & MS-jview > 5.00.3229). Feedback from other platforms and JVMs is needed before we > can decide whether LiftOff is useful to us. > > Please try the installer and post your experience, both good and bad, > here on the list. Give special attention to the two generated scripts. > With some luck these should work on unixes and windows. Everything went fine (rh6.0, jdk1.2.2), except the two shell scripts (jython and jythonc) were in DOS file format, and wouldn't execute: ~/jython-2.0pa0$ ./jythonc bash: ./jythonc: No such file or directory Also, the jython script had set: JAVA_HOME=/home/jeff/jdk1.2.2/jre Usually I have JAVA_HOME to /home/jeff/jdk1.2.2. I had not checked the "jre" button on the installer. The script worked okay. > > The text shown as license and readme should not be taken for anything > other than examples. This also include the graphics used. Hmm.. so the use of a GPL'ed installer won't affect jython's license? --Jeff > > I had to fix some bugs in LiftOff which occurred on windows > (line-ending, slash/backslash) and LiftOff is GPL so the modified > version is here: > > ftp://jython.sourceforge.net/pub/jython/liftoff-001031.tar.gz > > regards, > finn > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/mailman/listinfo/jython-dev > |
From: <bc...@wo...> - 2000-11-01 09:25:37
|
[Jeff Turner] >Hmm.. so the use of a GPL'ed installer won't affect jython's license? I don't think so, but I'm certainly not a license expert. The LiftOff author have answered the question here: http://www.geocrawler.com/archives/3/2137/2000/3/0/3412144/ It is my impression that we easily can comply with these requirements. The only requirement missing is to tell users (perhaps in the readme) where they can get the LiftOff sources. It was not my intention to restrict the jython's license, and if that turns out to be the case, we must look for alternative installers. LiftOff is by far the most free installer I have found. I looked at: FreeInstaller. Open source, with a license that is probably free but so long that I gave up reading it. http://www.xenonsoft.demon.co.uk/freeinstaller.html Instant installer. Almost open source. It uses some ObjectBlend classes which is not included. http://gate02.halcyonsoft.com/opensource/installer/ regards, finn |
From: Jeff T. <je...@so...> - 2000-11-01 09:49:28
|
Is an installer necessary at all? Am I right in presuming it's so every user is forced to see the CNRI license and click "okay"? I've got nothing against installers, just curious. --Jeff On Wed, 1 Nov 2000, Finn Bock wrote: > [Jeff Turner] > > >Hmm.. so the use of a GPL'ed installer won't affect jython's license? > > I don't think so, but I'm certainly not a license expert. The LiftOff > author have answered the question here: > > http://www.geocrawler.com/archives/3/2137/2000/3/0/3412144/ > > It is my impression that we easily can comply with these requirements. > The only requirement missing is to tell users (perhaps in the readme) > where they can get the LiftOff sources. > > It was not my intention to restrict the jython's license, and if that > turns out to be the case, we must look for alternative installers. > LiftOff is by far the most free installer I have found. I looked at: > > FreeInstaller. Open source, with a license that is probably free but so > long that I gave up reading it. > http://www.xenonsoft.demon.co.uk/freeinstaller.html > > Instant installer. Almost open source. It uses some ObjectBlend classes > which is not included. > http://gate02.halcyonsoft.com/opensource/installer/ > > regards, > finn > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/mailman/listinfo/jython-dev > |
From: <bc...@wo...> - 2000-11-01 10:17:54
|
[Jeff Turner] >Is an installer necessary at all? Am I right in presuming it's so every >user is forced to see the CNRI license and click "okay"? I've got nothing >against installers, just curious. Showing the license is just one of the things. Allowing users to choose a destination and generating script files is another. But giving the software a feel of being finished is IMO the most important part. So there will be an installer. The rest of us will of course continue to use the raw CVS <wink>. regards, finn |
From: <bc...@wo...> - 2000-11-01 14:43:35
|
>> Please try the installer and post your experience, both good and bad, >> here on the list. Give special attention to the two generated scripts. >> With some luck these should work on unixes and windows. [Jeff Turner] >Everything went fine (rh6.0, jdk1.2.2), except the two shell scripts >(jython and jythonc) were in DOS file format, Right, I'll fix that. >and wouldn't execute: > >~/jython-2.0pa0$ ./jythonc >bash: ./jythonc: No such file or directory This is a bit strange. The script didn't have the execute bit set? The installer does a: Runtime.getRuntime().exec("chmod 755 " + fullname ); after creating the scripts. (The old installer did a "chmod 777" but I think LiftOff is more correct here). Were there any messages shown in the console window where you started the installer? regards, finn |
From: Jeff T. <je...@so...> - 2000-11-01 15:25:22
|
On Wed, 1 Nov 2000, Finn Bock wrote: > > >> Please try the installer and post your experience, both good and bad, > >> here on the list. Give special attention to the two generated scripts. > >> With some luck these should work on unixes and windows. > > [Jeff Turner] > > >Everything went fine (rh6.0, jdk1.2.2), except the two shell scripts > >(jython and jythonc) were in DOS file format, > > Right, I'll fix that. > > >and wouldn't execute: > > > >~/jython-2.0pa0$ ./jythonc > >bash: ./jythonc: No such file or directory > > This is a bit strange. The script didn't have the execute bit set? The > installer does a: > Runtime.getRuntime().exec("chmod 755 " + fullname ); > after creating the scripts. (The old installer did a "chmod 777" but I > think LiftOff is more correct here). Were there any messages shown in > the console window where you started the installer? The execute bits were set: -rwxr-xr-x 1 jeff jeff 372 Nov 2 02:16 jython I think what happens is this: On Unix, EOL corresponds to <LF>. On Windows it corresponds to <CR><LF>. So when the script is saved in DOS file format, the first line reads: #!/bin/sh<CR><LF> The shell reads everything up to EOF *on Unix*, ie <LF>, resulting in: #!/bin/sh<CR> It then tries to find the file, and can't because of the <CR>, so it fails with the error message: bash: ./jython: No such file or directory ie, it's saying "there's no file called "/bin/sh<CR>". Rather nasty :) --Jeff > > regards, > finn > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/mailman/listinfo/jython-dev > > |
From: <bc...@wo...> - 2000-11-01 16:17:09
|
>> This is a bit strange. The script didn't have the execute bit set? The >> installer does a: >> Runtime.getRuntime().exec("chmod 755 " + fullname ); >> after creating the scripts. (The old installer did a "chmod 777" but I >> think LiftOff is more correct here). Were there any messages shown in >> the console window where you started the installer? > >The execute bits were set: > >-rwxr-xr-x 1 jeff jeff 372 Nov 2 02:16 jython > >I think what happens is this: > >On Unix, EOL corresponds to <LF>. On Windows it corresponds to <CR><LF>. >So when the script is saved in DOS file format, the first line reads: > >#!/bin/sh<CR><LF> > >The shell reads everything up to EOF *on Unix*, ie <LF>, resulting in: > >#!/bin/sh<CR> > >It then tries to find the file, and can't because of the <CR>, so it >fails with the error message: >bash: ./jython: No such file or directory > >ie, it's saying "there's no file called "/bin/sh<CR>". > >Rather nasty :) Yeah, but your explanation makes sense. Thanks. regards, finn |
From: Frode R. <fro...@er...> - 2000-11-01 09:01:39
|
Hi Finn, I try to run the installer on Mac and I got the folowing error: try path /Data1/Applications/Java/Jython/ can not get flavour null for os 'Mac_OS' exception in called method net.sourceforge.liftoff.installer.Install2.main java.lang.NullPointerException at net.sourceforge.liftoff.installer.items.InstallableContainer.initInstallable s(InstallableContainer.java:252) at net.sourceforge.liftoff.installer.items.InstallableContainer.<init>(Installa bleContainer.java:92) at net.sourceforge.liftoff.installer.Info.loadInstallerProps(Info.java:301) at net.sourceforge.liftoff.installer.Install2.<init>(Install2.java:61) at net.sourceforge.liftoff.installer.Install2.main(Install2.java:82) at Install.main(Install.java:355) at com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java) at java.lang.Thread.run(Thread.java) java.lang.reflect.InvocationTargetException Then I download liftoff-001031.tar.gz but I was not able to expand it because "zip entry is garbled". -- /Frode Reinsnes > From: bc...@wo... (Finn Bock) > Date: Tue, 31 Oct 2000 22:12:08 GMT > To: jyt...@li... > Subject: [Jython-dev] Installer test > > Hi > > I have tried to create an installer for the current snapshot of jython. > I have used the free (GPL) LiftOff program to create the self installing > .class file. > > http://sourceforge.net/projects/liftoff/ > > The installer is 1.5 Mb and contains also the standard python library > which have previously been distributed as pylib15x.jar > > ftp://jython.sourceforge.net/pub/jython/Install.class > > We have not made any decisions that LiftOff should be used, so please > look at this as part of an evaluation of installers. > > I have only tested this on win2k (with jdk1.3, jdk1.1.7a & MS-jview > 5.00.3229). Feedback from other platforms and JVMs is needed before we > can decide whether LiftOff is useful to us. > > Please try the installer and post your experience, both good and bad, > here on the list. Give special attention to the two generated scripts. > With some luck these should work on unixes and windows. > > The text shown as license and readme should not be taken for anything > other than examples. This also include the graphics used. > > I had to fix some bugs in LiftOff which occurred on windows > (line-ending, slash/backslash) and LiftOff is GPL so the modified > version is here: > > ftp://jython.sourceforge.net/pub/jython/liftoff-001031.tar.gz > > regards, > finn > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/mailman/listinfo/jython-dev > |
From: <bc...@wo...> - 2000-11-01 09:39:54
|
[Frode Reinsnes] >Hi Finn, > >I try to run the installer on Mac and I got the folowing error: > >try path /Data1/Applications/Java/Jython/ >can not get flavour null for os 'Mac_OS' I'll look into this, as well as the other problems reported. I'm not all too surprised that Mac is the least supported platform, but of course this must be corrected if we are to use LiftOff. >Then I download liftoff-001031.tar.gz but I was not able to expand it >because "zip entry is garbled". The file was also too short on the ftp. I've re-upload it, please try again. regards, finn |
From: <bc...@wo...> - 2000-11-01 10:13:16
|
[me] >The file was also too short on the ftp. I've re-upload it, please try >again. You will also need: ftp://jython.sourceforge.net/pub/jython/liftoff.props ftp://jython.sourceforge.net/pub/jython/liftoff.filelist The .props is the one to open from within the builder. regards, finn |
From: Robert W. B. <rb...@di...> - 2000-11-01 16:30:46
|
Installer test results: platforms: Linux 2.2.12 (redhad 6.1, 6.2 and 'mixed' linux) Blackdown 1.2.2 IBMJava2-13 Solaris 2.8, SunOS 5.8 Sun jdk 1.1.8 Linux: -If file already exists: error dialog is just an empty dialog box. -Generated scripts do not work- check CR-LF -frequent "Java Object Monitor Dump" after jython_template.usix_sh convert then aborts installer -jre used without jre option selected during install Solaris: -Hangs after copying of files is complete- no trace (thats odd) -Disregards selected paths and puts everything in /usr/doc/jython-2.0pa0/ -Generated scripts do not work- CR-LF? -jre set in generated scripts without jre options selected during install Note: Many linux webservers are without gui (all mine are). Is the DISPLAY (as in variable- not yelling :) necessary? Can liftOff detect and do console install for this case? I know I sound like a throw-back or gui-luddite, but I thought it worth mentioning. Is this the type of info that is helpful? Should corrected scripts be forwarded to compare with generated scripts that do not work- or are others way ahead of me? Sorry if this is nebulous- so little time :( -Robert On Tue, 31 Oct 2000, Finn Bock wrote: > Hi > > I have tried to create an installer for the current snapshot of jython. > I have used the free (GPL) LiftOff program to create the self installing > .class file. > > http://sourceforge.net/projects/liftoff/ > > The installer is 1.5 Mb and contains also the standard python library > which have previously been distributed as pylib15x.jar > > ftp://jython.sourceforge.net/pub/jython/Install.class > > We have not made any decisions that LiftOff should be used, so please > look at this as part of an evaluation of installers. > > I have only tested this on win2k (with jdk1.3, jdk1.1.7a & MS-jview > 5.00.3229). Feedback from other platforms and JVMs is needed before we > can decide whether LiftOff is useful to us. > > Please try the installer and post your experience, both good and bad, > here on the list. Give special attention to the two generated scripts. > With some luck these should work on unixes and windows. > > The text shown as license and readme should not be taken for anything > other than examples. This also include the graphics used. > > I had to fix some bugs in LiftOff which occurred on windows > (line-ending, slash/backslash) and LiftOff is GPL so the modified > version is here: > > ftp://jython.sourceforge.net/pub/jython/liftoff-001031.tar.gz > > regards, > finn > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/mailman/listinfo/jython-dev > |
From: <bc...@wo...> - 2000-11-01 18:44:38
|
[Robert W. Bill] >Installer test results: > >platforms: > Linux 2.2.12 (redhad 6.1, 6.2 and 'mixed' linux) > Blackdown 1.2.2 > IBMJava2-13 > Solaris 2.8, SunOS 5.8 > Sun jdk 1.1.8 > >Linux: > -If file already exists: error dialog is just an empty > dialog box. Ouch. I recall a lot of portability problem around modal dialogs. > -Generated scripts do not work- check CR-LF Right. Fixed in next tryout. > -frequent "Java Object Monitor Dump" after > jython_template.usix_sh convert then aborts > installer Does anyone know what causes this? > -jre used without jre option selected during install For javasofts java2 the java.home is set to .../jdk1.2.1/jre (at least on windows). So the executable used will be .../jdk1.2.1/jre/bin/java even when jre isn't selected. The jre option controls only the name of the executable, it's either java or jre. I believe the option only make sense for the jdk1.1 series. >Solaris: > -Hangs after copying of files is complete- no trace > (thats odd) A file (the README.txt) was missing from the archive. Perhaps some bad error handling caused the hang. > -Disregards selected paths and puts everything in > /usr/doc/jython-2.0pa0/ A feature that occurs when installing as root user. I have disabled this feature in the next installer. > -Generated scripts do not work- CR-LF? > -jre set in generated scripts without jre options > selected during install > >Note: Many linux webservers are without gui (all mine are). >Is the DISPLAY (as in variable- not yelling :) necessary? Can >liftOff detect and do console install for this case? I'm not sure it can detect it, but it should support some kind of non-gui mode, perhaps enable with a command line option. But LiftOff does not (yet) support non-gui installation. >I know I >sound like a throw-back or gui-luddite, but I thought it worth >mentioning. > >Is this the type of info that is helpful? Absolutely. >Should >corrected scripts be forwarded to compare with generated >scripts that do not work- or are others way ahead of me? No need so far. I'll ask if I need the necessary changes. regards, finn |