Changeset 1292 for trunk/build.xml


Ignore:
Timestamp:
08/18/06 12:27:17 (14 years ago)
Author:
curtis
Message:

More hacks to avoid problems with disappearing file permissions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r1289 r1292  
    313313      includes="*.txt *.cpp *.m plugins/*.txt"/> 
    314314    <!-- HACK - copy does not preserve permissions; chmod them back --> 
    315     <chmod perm="ugo+x"> 
     315    <chmod perm="+x"> 
    316316      <fileset dir="${visbio.macosx-dir}" 
    317317        includes="visbio omeul VisBio.app/Contents/MacOS/JavaApplicationStub"/> 
     
    320320      <fileset dir="${jar.dir}" includes="visbio.jar ${visbio.classpath}"/> 
    321321    </copy> 
     322<!-- 
    322323    <tar destfile="${dist.dir}/visbio${visbio.version}_macosx.tar.gz" 
    323324      basedir="${dist.dir}/visbio/macosx" compression="gzip"/> 
     325--> 
     326    <!-- HACK - tar does not preserve permissions; use exec instead --> 
     327    <exec executable="tar"> 
     328      <arg line="czf ${dist.dir}/visbio${visbio.version}_macosx.tar.gz -C ${dist.dir}/visbio/macosx VisBio"/> 
     329    </exec> 
    324330  </target> 
    325331 
     
    336342      includes="*.txt *.cpp *.m plugins/*.txt"/> 
    337343    <!-- HACK - copy does not preserve permissions; chmod them back --> 
    338     <chmod perm="ugo+x"> 
     344    <chmod perm="+x"> 
    339345      <fileset dir="${visbio.linux-dir}" includes="visbio omeul"/> 
    340346    </chmod> 
     
    347353      <arg line="xzf dist/jre-linux.tar.gz -C ${visbio.linux-dir}"/> 
    348354    </exec> 
     355<!-- 
    349356    <tar destfile="${dist.dir}/visbio${visbio.version}_linux.tar.gz" 
    350357      basedir="${dist.dir}/visbio/linux" compression="gzip"/> 
     358--> 
     359    <!-- HACK - tar does not preserve permissions; use exec instead --> 
     360    <exec executable="tar"> 
     361      <arg line="czf ${dist.dir}/visbio${visbio.version}_linux.tar.gz -C ${dist.dir}/visbio/linux visbio${visbio.version}"/> 
     362    </exec> 
    351363  </target> 
    352364 
     
    363375      includes="*.txt *.cpp *.m plugins/*.txt"/> 
    364376    <!-- HACK - copy does not preserve permissions; chmod them back --> 
    365     <chmod perm="ugo+x"> 
     377    <chmod perm="+x"> 
    366378      <fileset dir="${visbio.nojre-dir}" includes="visbio omeul"/> 
    367379    </chmod> 
     380<!-- 
    368381    <tar destfile="${dist.dir}/visbio${visbio.version}.tar.gz" 
    369382      basedir="${dist.dir}/visbio/nojre" compression="gzip"/> 
     383--> 
     384    <!-- HACK - tar does not preserve permissions; use exec instead --> 
     385    <exec executable="tar"> 
     386      <arg line="czf ${dist.dir}/visbio${visbio.version}.tar.gz -C ${dist.dir}/visbio/nojre visbio${visbio.version}"/> 
     387    </exec> 
    370388  </target> 
    371389 
Note: See TracChangeset for help on using the changeset viewer.