blob: 436f08258ce0d7c70813d26e3da32180612e38fd [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project [
<!--
Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<!ENTITY commonBuild SYSTEM "./../../config/common.xml">
]>
<project name="InheritanceAnnotationTest" default="all" basedir=".">
&commonBuild;
<property name="src" location="src"/>
<target name="private-all">
<antcall target="cleanXml"/>
<antcall target="compile"/>
<antcall target="test"/>
</target>
<target name="cleanXml">
<delete dir="${basedir}/META-INF"/>
</target>
<target name="prepare">
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init, prepare, compile.util">
<javac srcdir="${src}" destdir="${build}" debug="on">
<classpath>
<path refid="gfv3.classpath"/>
<pathelement location="${junit.jar}"/>
<pathelement path="${testsRoot}/util/build"/>
</classpath>
</javac>
</target>
<target name="test" depends="compile">
<mkdir dir="${annotation.report.dir}"/>
<junit printsummary="yes" haltonerror="no" haltonfailure="no" fork="true">
<formatter type="plain" usefile="false"/>
<formatter type="xml"/>
<test name="InheritanceAnnotationTest"
todir="${annotation.report.dir}"/>
<jvmarg value="-Dcom.sun.aas.installRoot=${inst}"/>
<jvmarg value="-DtestClasspath=${build}"/>
<jvmarg value="-DworkDir=${basedir}"/>
<classpath>
<path refid="gfv3.classpath"/>
<pathelement path="${testsRoot}/util/build"/>
<pathelement path="${build}"/>
<pathelement path="${junit.jar}"/>
</classpath>
</junit>
</target>
</project>