Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 871 Bytes
<?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>
Something went wrong with that request. Please try again.