[izpack-users] Reading Attributes from install.xml

Miraodb miraodb at hotmail.com
Mon Jan 9 12:09:14 CET 2006


no big deal Hal !
just send to me directly... maybe wait until next day to press the send
button ;)

fabrice
----- Original Message ----- 
From: "Hal Vaughan" <hal at thresholddigital.com>
To: <izpack-users at berlios.de>
Sent: Monday, January 09, 2006 8:07 AM
Subject: Re: [izpack-users] Reading Attributes from install.xml


> On Monday 09 January 2006 01:57 am, Hal Vaughan wrote:
> > Remember I mentioned writing a class to read attributes given to panels
in
> > install.xml?
> >
> > It's done.  It requires there to be a file /res/install.xml, which means
it
> > has to be declared as a resource in the original install.xml file
(whatever
> > it is named).  It could easily be changed to read from any XML file
> > anywhere in the install jar.
> >
> > I also edited PasswordPanel to get the panel attributes from this class
> > instead of reading install.xml directly.
> >
> > It's time for sleep, but I thought I'd mention I had this working.  I
can
> > send you the class once I've had time to clean up the code (way to many
> > debugging comments and printouts in there now!).
> >
> > I think I read somewhere that there was an intent to not let install.xml
> > get too cluttered.  Unless I missed a method somewhere (and I looked
> > carefully), the class I wrote (PanelAttributes) is the only allowance
for
> > reading the panel attributes.  If more panels are going to use this
method
> > of having attributes in the install.xml file, it seems to me it might be
a
> > good idea if either the install.xml file is automatically included OR
just
> > the <panels> section could be extracted and put in /res.
> >
> > Just some late night musings.  Let me know what you think and what I've
> > missed on this.
> >
> > Keep well,
> >
> > Hal
>
> Sorry -- this was a draft, was not supposed to go out yet.  I guess that's
> what happens when one is working at 2am when he should be asleep instead.
>
> Apologies.
>
> Hal
> _______________________________________________
> 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