diff options
author | Sven Gothel <[email protected]> | 2011-02-23 18:14:53 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-23 18:14:53 +0100 |
commit | 1c88fd2534220a5e8eda1b4f0861ca23a9e3ef31 (patch) | |
tree | e69d54266dbcf6dc3aeb7e781249058935749ae5 /make/gluegen-archivetasks.xml | |
parent | e3e59d2f83b6685f97d8b380f7a23d617bde65e4 (diff) |
Intro jogamp-env.xml to parse common env properties ; Fix archive.7z: use abs path
Diffstat (limited to 'make/gluegen-archivetasks.xml')
-rw-r--r-- | make/gluegen-archivetasks.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/make/gluegen-archivetasks.xml b/make/gluegen-archivetasks.xml index d7989bb..ee7501d 100644 --- a/make/gluegen-archivetasks.xml +++ b/make/gluegen-archivetasks.xml @@ -5,14 +5,15 @@ <attribute name="destfile" /> <attribute name="includes" /> <sequential> - <delete file="@{destfile}" quiet="true" failonerror="false" /> + <property name="destfile.path" location="@{destfile}"/> <!-- absolute path --> + <delete file="${destfile.path}" quiet="true" failonerror="false" /> <exec executable="7z" searchpath="true" dir="@{basedir}" spawn="false" failifexecutionfails="true" failonerror="true"> - <arg line="a -r @{destfile} @{includes}"/> + <arg line="a -r ${destfile.path} @{includes}"/> </exec> </sequential> </macrodef> |