mirror of https://github.com/apache/openjpa.git
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:
parent
8fbaaf527c
commit
bcc637e566
|
@ -36,11 +36,23 @@ Please traverse to a sub-directory and run "ant" from there.
|
|||
</fail>
|
||||
</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"
|
||||
description="The classpath to use for compiling and running">
|
||||
<pathelement path="${parent}"/>
|
||||
<fileset dir="${root}">
|
||||
<include name="**/*.jar"/>
|
||||
<exclude name="**/derby*.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="${derby.loc}">
|
||||
<include name="lib/derby*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
|
|
Loading…
Reference in New Issue