mirror of https://github.com/apache/openjpa.git
OPENJPA-374
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@629173 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69366d11cb
commit
f99bdbce5f
|
@ -388,14 +388,16 @@
|
|||
<configuration>
|
||||
<tasks>
|
||||
<ant antfile="src/main/ant/enhancer.xml"
|
||||
target="enhance.all.entities"
|
||||
target="enhance"
|
||||
inheritRefs="true">
|
||||
<!--
|
||||
InheritAll doesn't seem to work. Pass in
|
||||
properties manually.
|
||||
-->
|
||||
<property name="maven.test.skip"
|
||||
value="${maven.test.skip}"/>
|
||||
value="${maven.test.skip}" />
|
||||
<property name="test"
|
||||
value="${test}" />
|
||||
<property name="outdir"
|
||||
value="${project.build.outputDirectory}" />
|
||||
<property
|
||||
|
|
|
@ -31,14 +31,28 @@
|
|||
<istrue value="${maven.test.skip}" />
|
||||
</condition>
|
||||
|
||||
<condition property="test.isfalse">
|
||||
<equals arg1="${test}" arg2="false" />
|
||||
</condition>
|
||||
|
||||
<!-- =================================
|
||||
target: enhance
|
||||
================================= -->
|
||||
<target name="enhance"
|
||||
description="--> run the enhancer unless test=false"
|
||||
unless="test.isfalse">
|
||||
<antcall target="enhance.all.entities"
|
||||
inheritall="true"
|
||||
inheritrefs="true" />
|
||||
</target>
|
||||
|
||||
<!-- =================================
|
||||
target: enhance.all.entities
|
||||
================================= -->
|
||||
<target name="enhance.all.entities"
|
||||
depends=""
|
||||
description="--> enhance the test entities"
|
||||
unless="maven.test.skip.istrue">
|
||||
|
||||
<echo> running enhancer</echo>
|
||||
<!--
|
||||
Inherited references won't be present until the task is called.
|
||||
Therefore the path definition needs to stay inside the task.
|
||||
|
|
Loading…
Reference in New Issue