Got the tar task working as it should (after lots of tweaking)
This commit is contained in:
parent
08996497bd
commit
87d575503b
1 changed files with 7 additions and 6 deletions
|
@ -185,13 +185,13 @@
|
|||
<!-- Packages the distribution with TAR-GZIP -->
|
||||
<!-- =================================================================== -->
|
||||
<target name="package-tgz" depends="package">
|
||||
<tar tarfile="../${Name}-${version}.tar">
|
||||
<tarfileset dir="../" mode="755">
|
||||
<include name="hop.sh"/>
|
||||
<tar tarfile="../${Name}-${version}.tar" basedir=".." excludes="**">
|
||||
<tarfileset dir=".." mode="755">
|
||||
<include name="${final.name}/hop.sh"/>
|
||||
</tarfileset>
|
||||
<tarfileset dir="../">
|
||||
<include name="**/${final.name}/**"/>
|
||||
<exclude name="hop.sh"/>
|
||||
<tarfileset dir="..">
|
||||
<include name="${final.name}/**"/>
|
||||
<exclude name="${final.name}/hop.sh"/>
|
||||
</tarfileset>
|
||||
</tar>
|
||||
<gzip zipfile="../${Name}-${version}.tar.gz" src="../${Name}-${version}.tar"/>
|
||||
|
@ -238,3 +238,4 @@
|
|||
</project>
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue