[izpack-users] How to pass the information about selected packs to Ant?
Stefan.Wachter at gmx.de
Mon May 8 10:07:48 CEST 2006
thanks for the information. Can you please give some more details for
the second option? How would a custom action look like that shifts the
information about selected packs into an IzPack-Variable?
Based on my current knowledge I would implement an InstallerListener and
implement the method beforePacks. Using the
AutomatedInstallData.selectedPacks member I would define a variable
using the setVariable method of the AutomatiedInstallData object.
Do you agree with this proceeding? What kind of object is contained in
the selectedPacks member? Are there plain strings in this list?
Bartz, Klaus wrote:
> Hi Stefan,
> yes, it is possible.
> The simplest is to use the custom action
> There you need two xml files, one "normal" ant task file and
> one file which describes what to call in what manner from ant.
> The dtd of the secound file you can find at
> ,if you have installed src package of IzPack...
> There you can see, that a antcall depends on the pack. You can
> declare properties or a propertyfile here for ant. You can
> use IzPack variables at this point (normaly not in the ant
> task script).
> An other way will be to give ant a property which contains
> whether the interested pack was selected or not. For this
> you need a custom action or a custom panel to shift the
> information into a IzPack variable which you send to ant.
> The selected packs are in
>> -----Original Message-----
>> From: izpack-users-admin at berlios.de
>> [mailto:izpack-users-admin at berlios.de]On Behalf Of Stefan Wachter
>> Sent: Saturday, May 06, 2006 3:45 PM
>> To: izpack-users at berlios.de
>> Subject: [izpack-users] How to pass the information about
>> selected packs
>> to Ant?
>> Hi all,
>> I have a setup with various packs. In addition to copying the selected
>> packs, an Ant script must be run, that must do something depending on
>> the selected packs. Now my question is:
>> Is there a possibility to pass information about the selected packs to
>> an AntAction?
>> Thanks for your attention,
>> izpack-users mailing list
>> izpack-users at lists.berlios.de
> izpack-users mailing list
> izpack-users at lists.berlios.de
More information about the izpack-users