--
-------------------
Boaz Harel, Software Engineer
Net Dimes project, Tel Aviv University
http://www.netdimes.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
> I have a few script files that are part of my installation, which in my
> source directory are listed with rwxrwxrwx permissions. However, when
> the installer writes them on the target machine, they are written as
> rw-r--r-- (and therefore don't run.) How do I either make the installer
> preserve the permissions or, failing that, get the installer to change
> the 'execute' permission on the files once they are written?
You can use <executable> tags in your pack definitions
to specify which files are executables. The key is
to have stage="never" attribute so izpack does not execute
the file and to set keep="true" so izpack does not remove it.
For example:
<executable targetfile="$INSTALL_PATH/bin/some-secript"
os="unix" stage="never" failure="warn" keep="true"/>
--ewh