diff options
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> |