[izpack-users] Multiple ProcessPanels

jschnitter jeff.schnitter at workday.com
Wed Oct 25 22:09:21 CEST 2006


Is it possible to have multiple ProcessPanels in an install?  Based on my
informal testing, I believe the answer is no.  Can anyone confirm?

Here's what I'm trying to achieve. We have a frequent build process of our
product.  To run our product, you launch 3 java processes.  When we run the
install, I want to first shutdown the Java processes if they are running,
install the product and then restart the processes.

I'd like to have something that looks like this:

  <resources>
	<res id="start_servers"   src="ProcessPanel.StartServers.xml"/>
	<res id="stop_servers"   src="ProcessPanel.StopServers.xml"/>
    </resources>
    
    <panels>
        <panel classname="HelloPanel"/>
        <panel classname="TargetPanel"/>
        <panel classname="ProcessPanel" id="stop_serversl"/>
        <panel classname="PacksPanel"/>
        <panel classname="InstallPanel"/>
        <panel classname="ProcessPanel" id="start_serversl"/>
        <panel classname="FinishPanel"/>
    </panels>

Here's what I've found:

1) You can have multiple ProcessPanels defined in your <panels> tag.
2) The ProcessPanels only use definitions in a file named
ProcessPanel.Spec.xml.
3) The existence of an id attribute for the panel is ignored.

I can probably get this to work by defining some files as <executable> in my
<pack>
sections, but I like the visibility to the user that ProcessPanel provides,
showing
what's being run and the output in the window.

If the answer is that IzPack does not currently support this behavior, would
it be a
resonable feature for a future release?

BTW . . . kudos and thanks to the development team.  I've been working with
the product for
just a few weeks and really like it.  I love the simiplicity of the XML
development structure.  
Great job!

Thanks,

Jeff Schnitter

-- 
View this message in context: http://www.nabble.com/Multiple-ProcessPanels-tf2509838.html#a6999338
Sent from the izpack users mailing list archive at Nabble.com.




More information about the izpack-users mailing list