Fixed to be more lenient when looking for artifact to expand.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2007-04-21 17:43:47 +00:00
parent 3f48eca25a
commit 42f0d50d02

View File

@ -55,12 +55,14 @@
<tasks>
<echo>Running OpenJPA Examples</echo>
<property name="binary.zip" value="../../openjpa-project/target/assembly/openjpa-${version}-binary.zip"/>
<property name="examples.base"
value="${basedir}/target/examples"/>
<unzip overwrite="false"
src="${binary.zip}" dest="${examples.base}"/>
<unzip overwrite="false" dest="${examples.base}">
<fileset dir="../../openjpa-project/target/assembly">
<include name="openjpa-*${version}-binary.zip"/>
</fileset>
</unzip>
<subant inheritAll="false">
<fileset dir="${examples.base}"