[izpack-users] Copying packs depending on variable's value

Dennis Reil Dennis.Reil at reddot.de
Mon Jan 15 12:07:56 CET 2007


First, you have to define a resource named conditions.xml referencing a
xml file with the conditions specs.

If you want to install pack database.mysql if a variable CHOSEN_DATABASE
has a value of mysql, then you'll have to write the following:

<conditions>
<condition type="variable" id="install.mysql">
   <name>CHOSEN_DATABASE</name>
   <value>mysql</value>
</condition>

<packcondition packid="database.mysql" conditionid="install.mysql"/>
</conditions>

This will disable the pack database.mysql if the variable
CHOSEN_DATABASE is unequal to mysql.

Hope, this answers your question. There will be some documentation of
the condition-feature soon.

Regards,
   Dennis

> 
> Hi, 
> 
> I Have taken latest trunk version of IZPack. 
> In versions.txt, it has been mentioned that it has facility to copy
> packs depending on some variable,s  value. 
> Could you please explain how can i do this? 
> 
> 
> 
> Regards
> Sonal B Deshpande
> Tata Consultancy Services
> Mailto: sonal.deshpande at tcs.com
> Website: http://www.tcs.com
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
-- 



More information about the izpack-users mailing list