Automatic installation script gets broken by quickstarts pack installation. All the other packs are marked for exclusion from installation once quickstarts are included.
reproduce
- select to install quickstart examples from the list of runtime configuration tasks
- finish the installation, choose to generate automatic installation scrip by the end of the installation procedure
- see the generated automatic installation script
actual
All packs except quickstarts are marked as excluded.
<com.izforge.izpack.panels.TreePacksPanel id="TreePacksPanel"> <pack index="0" name="Red Hat JBoss Enterprise Application Platform" selected="false"/> <pack index="1" name="AppClient" selected="false"/> <pack index="2" name="Bin" selected="false"/> <pack index="3" name="XMLs and XSDs" selected="false"/> <pack index="4" name="Domain" selected="false"/> <pack index="5" name="Domain Shell Scripts" selected="false"/> <pack index="6" name="Modules" selected="false"/> <pack index="7" name="Standalone" selected="false"/> <pack index="8" name="Standalone Shell Scripts" selected="false"/> <pack index="9" name="Welcome Content" selected="false"/> <pack index="10" name="Quickstarts" selected="true"/> </com.izforge.izpack.panels.TreePacksPanel>
Since only AppClient and Xmls packs are optional, only these two are actually excluded once user tries to use such a auto.xml file (rest of the packs is forced installed)
expected
<com.izforge.izpack.panels.TreePacksPanel id="TreePacksPanel"> <pack index="0" name="Red Hat JBoss Enterprise Application Platform" selected="true"/> <pack index="1" name="AppClient" selected="false|true"/> - depends on users selection <pack index="2" name="Bin" selected="true"/> <pack index="3" name="XMLs and XSDs" selected="false|true"/> - depends on users selection <pack index="4" name="Domain" selected="true"/> <pack index="5" name="Domain Shell Scripts" selected="true"/> <pack index="6" name="Modules" selected="true"/> <pack index="7" name="Standalone" selected="true"/> <pack index="8" name="Standalone Shell Scripts" selected="true"/> <pack index="9" name="Welcome Content" selected="true"/> <pack index="10" name="Quickstarts" selected="true"/> </com.izforge.izpack.panels.TreePacksPanel>
Regression against 6.4.0