blob: 2e5b7cfea9bae79addc645fd3dff47e44d08c524 [file] [log] [blame]
<project name="corundum.macro.condition-jar">
<macrodef name="condition-jar">
<attribute name="location"/>
<sequential>
<basename property=".filename" file="@{location}"/>
<echo message="Conditioning ${.filename}"/>
<exec executable="pack200">
<arg value="-r"/>
<arg value="@{location}"/>
</exec>
<var name=".filename" unset="true"/>
</sequential>
</macrodef>
</project>