Hi.
I would like to make a suggestion of how to improve installation of the Genero products. Basically, I would like to be able to install the same way as I can install Informix Dynamic Server (IDS).
1. Use softlinks to point to current FGLDIR (example) and have your
FGLDIR=/opt/Genero/runtime or whatever.
$ ls -l /opt
lrwxrwxrwx 1 root root 20 2009-03-10 10:53 Genero -> /opt/Genero.2.11.05/
drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.05
1. Copy the current FGLDIR to a new directory:
$ cp -r -p /opt/Genero.2.11.05 /opt/Genero.2.11.11
$ ls -l /opt
lrwxrwxrwx 1 root root 20 2009-03-10 10:53 Genero -> /opt/Genero.2.11.05/
drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.05
drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.11
2. Now, while the sytem is running you can install all your new stuff to /opt/Genero.2.11.11/[gas|runtime|development] You should be able to overrwrite all files except
as.xcf and the env* scritps, as these are something you might have modified (similiar to onconfig). I think 4js should just supply as.xcf.std and env*.std
3. When you have finished installing everything while the system is running (Dev. + Runtime + gas etc.) and check if everything looks OK you can minimize downtime by shutting everything down (gas etc) and
$ rm /opt/Genero
$ ln -s /opt/Genero.2.11.11 /opt/Genero
$ ls -l /opt
lrwxrwxrwx 1 root root 19 2009-03-10 11:09 Genero -> /opt/Genero.2.11.11
drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.05
drwxr-xr-x 6 snorri snorri 4096 2008-03-05 16:55 Genero.2.11.11
Then you have FGLDIR pointing to the newest version.
Currently this approach doesn't work because you can not have the installation directory (in this case /opt/Genero.2.11.11/runtime) different from FGLDIR (/opt/Genero/runtime)
Any comments on this?
Best regards,
-Snorri