[izpack-devel] Patch 2/6 patch against the current trunk
Markus Schlegel
markus.schlegel at pulinco.com
Wed Jan 10 17:12:38 CET 2007
Here it is...
Markus
-----Original Message-----
From: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of Julien Ponge
Sent: Tuesday, January 09, 2007 8:40 AM
To: izpack-devel at lists.berlios.de
Subject: Re: [izpack-devel] Next release will be 3.10.0
Hi Markus,
> 2/6 "loose"-feature fix: pending. The "loose"-feature does simply not
> work correct without this patch, can not live without this fix.
I am interested to merge this one, but the last version of the patch did
not apply against the source code. I would be happy to try again if you
could update it. I should have told you, but got stuck by other work
duties then holidays.
Original message:
=================
------------------------------------------------------------------------
--------
From: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of Markus
Schlegel
Sent: Thursday, December 07, 2006 7:23 PM
To: izpack-devel at lists.berlios.de
Subject: [izpack-devel] Patch 2/6: "loose"-function to work with
relativepaths
The "loose"-Option of Packs worked with absolute file path's, while the
Dokumentation stated, that one should take care of the relative file
path's. I have now included a fix, that stores only the relative
filepath in the serialized data and which restores the filepath at
Installationtime based on the location of the jar-file (and if that
fails the current working directory) and the provided relative path of
the PackFile. With this fix, I am now able to define a privately bundled
JRE as "loose" and provide it with the installer-executable (Launch4j)
on a CD. Clients without a preinstalled JRE use this bundled JRE to
start the installer and the Installer will then copy the JRE into the
installdirectory.
I can hardly imagine a usecase, where the absolute path to the file at
packaging time should also be used at installation time. So I guess the
old behavior is just a bug. If not, we should discuss how the
"loose"-feature should work.
Markus
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: loose_patch_1.txt
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070110/4e072f57/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: loose_patch_2.txt
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070110/4e072f57/attachment-0001.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: loose_patch_3.txt
Url: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070110/4e072f57/attachment-0002.txt
More information about the izpack-devel
mailing list