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

Bartz, Klaus Klaus.Bartz at coi.de
Mon Aug 7 15:42:36 CEST 2006


Hi Tino,
nice, I have hoped it.

Cheers

Klaus

>-----Original Message-----
>From: izpack-devel-bounces at lists.berlios.de
>[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of 
>Tino Schwarze
>Sent: Monday, August 07, 2006 3:33 PM
>To: izpack-devel at lists.berlios.de
>Subject: Re: [izpack-devel] IZPACK_HOME for the compiler (packager)
>
>
>On Mon, Aug 07, 2006 at 03:29:20PM +0200, Bartz, Klaus wrote:
>
>> 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.
>
>IZPACK_HOME doesn't make any sense with the standalone 
>compiler. It will
>never use it since everything it needs has to be contained in the
>standalone compiler jar (that is, it has to be accessible via
>getClass().getResourceAsStream()).
>
>I haven't looked at the code though.
>
>Tino.
>
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>http://bat.berlios.de/mailman/listinfo/izpack-devel
>



More information about the izpack-devel mailing list