OPENJPA-1751 Have to fork any javac usage for maven-antrun-plugin to work on Linux

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980894 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-07-30 17:35:52 +00:00
parent 899b56b418
commit 8f06f9a08b
1 changed files with 5 additions and 1 deletions

View File

@ -148,7 +148,11 @@
description="Generate canonical meta-model source">
<mkdir dir="${generated.src.dir}" />
<mkdir dir="${classes.dir}" />
<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true">
<!--
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">
<classpath refid="compile.classpath" />
<include name="openbook/domain/*.java"/>
<compilerarg value="-Aopenjpa.metamodel=true" />