[izpack-users] On MacOS X, os="unix" packs also install
Oscar Miguel Lopes Sarabando
etoscar at ua.pt
Thu May 11 11:24:17 CEST 2006
Hi!
I'd like to start by thanking everyone involved in IzPack!
It really is a great, flexible installer!
Although my needs are quite basic as of now, I've run into
a problem. I specify my packs on the install.xml file like
this:
<packs>
<pack name="Base" required="yes">
<description>The base files</description>
<file src="main/Progressor.jar"
targetdir="$INSTALL_PATH" />
<file src="main/ProgressorButler.jar"
targetdir="$INSTALL_PATH" />
<file src="main/config_pb"
targetdir="$INSTALL_PATH"/>
</pack>
<pack name="Libs-Mac" required="yes" os="mac">
<description>The libraries for
Mac</description>
<fileset dir="libs-common"
targetdir="/Library/Java/Extensions/"/>
<fileset dir="libs-mac"
targetdir="/Library/Java/Extensions/"/>
</pack>
<pack name="Libs-Win" required="yes"
os="windows">
<description>The libraries for
Win</description>
<fileset dir="libs-common"
targetdir="$JAVA_HOME/lib/ext/"/>
<fileset dir="libs-win/bin/"
targetdir="$JAVA_HOME/bin/"/>
<fileset dir="libs-win/lib/ext/"
targetdir="$JAVA_HOME/lib/ext/"/>
</pack>
<pack name="Libs-Linux" required="yes" os="unix">
<description>The libraries for
Linux</description>
<fileset dir="libs-common"
targetdir="$JAVA_HOME/lib/ext/"/>
<fileset dir="libs-win/bin/"
targetdir="$JAVA_HOME/bin/"/>
<fileset dir="libs-win/lib/ext/"
targetdir="$JAVA_HOME/lib/ext/"/>
</pack>
</packs>
Trouble is, on MacOS X, both os="mac" and os="unix"
defined packs appear on the Packs Panel and are
installed... am I doing something really wrong? I searched
the mailling list and found some references to this
problem, but no solutions. I also tried the <os> tag with
family="unix", but results are the same.
Can anyone help me? Thanks!
--
Óscar Sarabando
More information about the izpack-users
mailing list