[izpack-users] How to pass the information about selected packs to Ant?
Bartz, Klaus
Klaus.Bartz at coi.de
Mon May 8 09:21:51 CEST 2006
Hi Stefan,
yes, it is possible.
The simplest is to use the custom action
AntActionInstallerListener
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
$IzPackInstallation/src/dtd/event/antaction.dtd
,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
idata.selectedPacks
Cheers
Klaus
>-----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,
>--Stefan
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://lists.berlios.de/mailman/listinfo/izpack-users
>
More information about the izpack-users
mailing list