blob: 9189c817796160de64b648878c9f829fff1173e8 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project name="test-package">
<property name="test.staging.dir" value="${target.dir}/test-expanded"/>
<property name="test.package.dir" value="${test.staging.dir}/"/>
<target name="test-package"
description="Runs a test on the packaged build">
<antcall target="unzip.package"/>
<antcall target="test.do"/>
</target>
<target name="unzip.package">
<delete dir="${test.staging.dir}" quiet="true"/>
<mkdir dir="${test.staging.dir}"/>
<unzip src="${package.output.file}" dest="${test.staging.dir}"/>
<chmod perm="755">
<fileset dir="${test.package.dir}/bin">
<include name="*.sh"/>
</fileset>
</chmod>
<chmod perm="600">
<fileset dir="${test.package.dir}/configuration">
<include name="org.eclipse.virgo.kernel.jmxremote.access.properties"/>
</fileset>
</chmod>
</target>
</project>