[izpack-devel] mutually exclusive packs

Elmar Grom elmar at grom.net
Wed Nov 8 18:52:53 CET 2006


If I understand the functionality correctly, then checking a pack with an
excludes list will uncheck all packages that are listed as excluded. Looks
ok to me.

	Elmar

-----Original Message-----
From: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of
vralev at redhat.com
Sent: Wednesday, November 08, 2006 9:20 AM
To: izpack-devel at lists.berlios.de
Subject: [izpack-devel] mutually exclusive packs


Hello everyone.

I was working on this feature these days and want to hear your comments on
the
syntax. I addes a new tag <excludes> similar to <depends>:

<pack name="1" installGroups="1" required="no">
    <depends packname="somedeppack"/>
    <excludes packname="2"/>
</pack>
<pack name="2" installGroups="1" required="no">
    <excludes packname="1"/>
</pack>

Packs declared in <excludes> are being unchecked when the parent pack is
checked. There is a compiler-time check similar to the depends' and a
runtime
check to ensure a requred pack isn't being unchecked.



_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel




More information about the izpack-devel mailing list