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:
Michael Dick 2011-07-29 20:10:24 +00:00
parent 4412599698
commit c053d371d3
2 changed files with 2 additions and 2 deletions

View File

@ -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" />

View File

@ -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 -->