mirror of https://github.com/apache/openjpa.git
Exclude antruntime when building samples
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1152362 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4412599698
commit
c053d371d3
|
@ -152,7 +152,7 @@
|
|||
javac has to be forked for maven-antrun-plugin builds
|
||||
to work on Linux...
|
||||
-->
|
||||
<javac fork="true" srcdir="${src.dir}" destdir="${classes.dir}" debug="true">
|
||||
<javac fork="true" srcdir="${src.dir}" destdir="${classes.dir}" debug="true" includeAntRuntime="false" >
|
||||
<classpath refid="compile.classpath" />
|
||||
<include name="openbook/domain/*.java"/>
|
||||
<compilerarg value="-Aopenjpa.metamodel=true" />
|
||||
|
|
|
@ -112,7 +112,7 @@ Please traverse to a sub-directory, like hellojpa, and run "ant" from there.
|
|||
<target name="compile" depends="pre-compile"
|
||||
description="Compile the example java files">
|
||||
<javac srcdir="${parent}" classpathref="classpath"
|
||||
debug="yes" includes="${example}/**.java"/>
|
||||
debug="yes" includes="${example}/**.java" includeAntRuntime="false" />
|
||||
</target>
|
||||
|
||||
<!-- this target can be overridden by the sub-build -->
|
||||
|
|
Loading…
Reference in New Issue