[izpack-devel] IZPACK_HOME for the compiler (packager)

Bartz, Klaus Klaus.Bartz at coi.de
Mon Aug 7 15:29:20 CEST 2006


Hi all,
yesterday there was a problem thread on the user list
(problem creating shortcuts) which was based on a 
missing IZPACK_HOME. I do not know why anything run,
but the handling of the home dir was really not
optimal.
I have just checked in a patch into trunk. Now
with the "normal" compiler

1. the -DIZPACK_HOME procedure works already
2. there is no the comandline argument -h "Path"
3. If 1. and 2. are not exist or take no valid path
   the compiler tries to resolve the path depending
   on the jar file or class path which contains the
   Compiler class file.
4. If 1. - 3. results no valid path, an exception 
   will be thrown.

A valid path is a path where the subpath
bin/native/izpack/ShellLink.dll exist.

With the standalone-compiler only 1. and 2. will
be perfomed. If no valid path was found "." will
be assumed. If this is not correct, please fix it
(the person who knows where the IZPACK_HOME path
should link using the standalone-compiler).
See CompilerConfig.java line 1896.

Cheers 

Klaus



More information about the izpack-devel mailing list