[izpack-users] problem creating shortcuts

Bartz, Klaus Klaus.Bartz at coi.de
Fri Aug 4 17:33:46 CEST 2006


Hi Mika,
sorry the hint with the env var was not right.
Please write a cmd (I think you are on Windows) like this
set IZ_HOME=c:\Programme\IzPack
set SOURCE=<path to the source tree>
set DEST=<path where the jar file should be stored>

java -DIZPACK_HOME=%IZ_HOME% -jar "%IZ_HOME%\lib\compiler.jar"  y:\elsewhere\install.xml -b %SOURCE% -o %DEST%\install.jar  

Also a nice week end

Klaus

>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of mika
>Sent: Friday, August 04, 2006 4:03 PM
>To: izpack-users at lists.berlios.de
>Subject: Re: [izpack-users] problem creating shortcuts
>
>
>Dear Klaus,
>
>> OK, this seems so that the compiler tries to include the dll
>> into the jar file. I hope, you have removed the "native/" prefix
>> in your <native> declaration.
>
>Yes, I have done so before I had postet the last time.
> 
>> At "normal" compiling (packaging) the dll will be copied from
>> %IZPACK_HOME%\bin\native\izpack\ShellLink.dll
>> 
>> At compiling IzPack self, the dll will be copied from its source
>> %IZPACK_HOME%\src\lib\com\izforge\izpack\util\os\ShellLink.dll
>> to the bin directory
>> %IZPACK_HOME%\bin\native\izpack\ShellLink.dll
>> This will be done with the ant task
>> generate.installer
>> in build.xml
>> 
>> If you cannot use ant and the dll is not in
>> %IZPACK_HOME%\bin\native\izpack
>> please install the sources (if not already done) and copy 
>> %IZPACK_HOME%\src\lib\com\izforge\izpack\util\os\ShellLink.dll
>> to there. If the dll is not there, install the last release of
>> IzPack.
>> 
>> Cheers
>> 
>> Klaus
>
>It seems that the environment variable IZPACK_HOME doesn't 
>affect the installer in any way.
>
>But if I copy the bin directory into mySample it works 
>perfectly, like said before.
>
>But the DLL is in the %IZPACK_HOME%\bin\native\izpack directory.
>
>
>------
>I wish you a nice weekend!
>
>Thanks,
>mika
>-- 
>
>
>Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
>"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://bat.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list