[izpack-users] Problem to set a script executable

Bartz, Klaus Klaus.Bartz at coi.de
Fri Nov 24 15:22:56 CET 2006


Hi Pascal,
I think it should work...
Try an install call with
java -DTRACE=TRUE -jar install.jar
in a shell. Then some debug will be traced on stdout. May
be you can see what happend.

Cheers

Klaus 

>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Pascal
>Quesseveur
>Sent: Friday, November 24, 2006 3:08 PM
>To: izpack-users
>Subject: [izpack-users] Problem to set a script executable
>
>
>Hello,
>
>I want to set the executable permission on some installed files
>without launching them. I have tried something like this:
>
>,----
>|   <pack name="config" required="no" preselected="yes">
>|     <fileset dir="/home/test/dev"
>|      defaultexcludes="yes" targetdir="$INSTALL_PATH" >
>| 
>|  ...
>| 
>|     <parsable targetfile="$INSTALL_PATH/bin/config.sh"
>|       encoding="iso-8859-1" type="shell" />
>|     <executable targetfile="$INSTALL_PATH/bin/config.sh"
>|       os="unix" type="bin" stage="never" />
>|   </pack>
>| </packs>
>`----
>
>But it doesn't work. In the dev directory config.sh mode is 775. In the
>install directory the mode is 664.
>
>My config is the following: Linux FC3, java 1.5, IzPack 3.9.0 (build
>2006.09.25)
>
>
>-- 
>Pascal Quesseveur, quesseveur at abaksystemes.fr
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list