java - ant: handling jar whose contents have file permissions 000 -


i trying overwrite default icon of installer jar created izpack, 1 application:

<jar update="yes"   jarfile="${pwd}/dist/${release}_installer.jar">   <zipfileset src="${pwd}/dist/app.jar" includes="com/izforge/izpack/panels/**"/>   <zipfileset src="${pwd}/dist/app.jar"       includes="com/xyz/img/logo.png" fullpath="img/jframeicon.png"/> </jar> 

this task works in ordinary jar file, img folder of installer jar appears have 0-0-0 file permissions on it, such if extract (notice no rs or ws):

$ ll ---------- 1 bguiz staff  742 2004-05-29 11:39 jframeicon.png 

this means ant task above execute, fails replace required file. there way work around this?


note:

constrained using ant 1.7.1, preserve0permissions attribute of jar task unavailable.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -