summaryrefslogtreecommitdiffstats
path: root/make/gluegen-archivetasks.xml
blob: 536441cb1d6d5ca49f3ba486102a30beef305c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<project name="GlueGen-archivetasks" basedir=".">
    <macrodef name="archive.7z">
      <attribute name="basedir" />
      <attribute name="destfile" />
      <attribute name="includes" />
      <sequential>
       <delete file="@{destfile}" quiet="true" failonerror="false" />
       <exec executable="7z"
             dir="@{basedir}"
             spawn="false"
             failifexecutionfails="true"
             failonerror="true">
         <arg line="a -r @{destfile} @{includes}"/>
       </exec>
      </sequential>
    </macrodef>  
</project>