OPENJPA-1996: OpenJPA Samples fail on MacOS X

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@1102001 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jody Grassel 2011-05-11 17:59:21 +00:00
parent 8fbaaf527c
commit bcc637e566
1 changed files with 12 additions and 0 deletions

View File

@ -36,11 +36,23 @@ Please traverse to a sub-directory and run "ant" from there.
</fail> </fail>
</target> </target>
<!-- OPENJPA-1996: The build of derby that ships with the OpenJPA build has an
incompatibility with MacOS X. This can be resolved by leveraging the Derby
build that ships with MacOS X in the /usr/share/derby directory. -->
<condition property="derby.loc" value="/usr/share/derby">
<os family="mac"/>
</condition>
<property name="derby.loc" value="${root}"/>
<path id="classpath" <path id="classpath"
description="The classpath to use for compiling and running"> description="The classpath to use for compiling and running">
<pathelement path="${parent}"/> <pathelement path="${parent}"/>
<fileset dir="${root}"> <fileset dir="${root}">
<include name="**/*.jar"/> <include name="**/*.jar"/>
<exclude name="**/derby*.jar"/>
</fileset>
<fileset dir="${derby.loc}">
<include name="lib/derby*.jar"/>
</fileset> </fileset>
</path> </path>