[izpack-users] On MacOS X, os="unix" packs also install

Miraodb miraodb at hotmail.com
Fri May 12 16:46:15 CEST 2006


Hi Oscar,

Try 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" required="yes">
    <description>The libraries</description>
    <fileset dir="libs-common" targetdir="/Library/Java/Extensions/"
os="mac"/>
    <fileset dir="libs-mac" targetdir="/Library/Java/Extensions/" os="mac"/>
    <fileset dir="libs-common" targetdir="$JAVA_HOME/lib/ext/"
os="windows"/>
    <fileset dir="libs-win/bin/" targetdir="$JAVA_HOME/bin/" os="windows"/>
    <fileset dir="libs-win/lib/ext/" targetdir="$JAVA_HOME/lib/ext/"
os="windows"/>
    <fileset dir="libs-common" targetdir="$JAVA_HOME/lib/ext/" os="unix"/>
    <fileset dir="libs-win/bin/" targetdir="$JAVA_HOME/bin/" os="unix"/>
    <fileset dir="libs-win/lib/ext/" targetdir="$JAVA_HOME/lib/ext/"
os="unix"/>
  </pack>
</packs>


Cheers,
Fabrice

----- Original Message ----- 
From: "Oscar Miguel Lopes Sarabando" <etoscar at ua.pt>
To: <izpack-users at lists.berlios.de>
Sent: Thursday, May 11, 2006 11:24 AM
Subject: [izpack-users] On MacOS X, os="unix" packs also install


>
> 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
>
> _______________________________________________
> 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