blob: 561969b2f5bc42e9510b0d583caf881d4aafed03 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
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
-->
<!DOCTYPE project [
<!ENTITY commonSetup SYSTEM "file:./../../../../config/properties.xml">
<!ENTITY commonBuild SYSTEM "file:./../../../../config/common.xml">
<!ENTITY testproperties SYSTEM "file:./build.properties">
<!ENTITY run SYSTEM "file:./../../../../config/run.xml">
]>
<project name="externalnameservicelookup" default="usage" basedir=".">
&commonSetup;
&commonBuild;
&testproperties;
&run;
<target name="all" depends="build,deploy,run"/>
<target name="clean" depends="init-common">
<antcall target="clean-common"/>
</target>
<target name="compile" depends="clean">
<exec executable="${env.JAVA_HOME}/bin/idlj" failonerror="false">
<arg line="-fall src/Hello.idl"/>
</exec>
<mkdir dir="src/HelloApp"/>
<copy todir="src/HelloApp">
<fileset dir="HelloApp"/>
</copy>
<delete dir="HelloApp"/>
<echo message="common.xml: Compiling test source files" level="verbose"/>
<mkdir dir="${build.classes.dir}"/>
<javac srcdir="src"
destdir="${build.classes.dir}"
classpath="${s1astest.classpath}"
debug="on"
failonerror="true"/>
</target>
<target name="build" depends="compile">
<property name="hasWebclient" value="yes"/>
<antcall target="webclient-war-common">
<param name="hasWebclient" value="yes"/>
<param name="webclient.war.classes" value="*.class,**/*.class"/>
</antcall>
</target>
<target name="deploy" depends="init-common">
<echo message="Deploying via asadmin..."/>
<antcall target="deploy-war-common"/>
</target>
<target name="run" depends="init-common">
<antcall target="runwebclient-common">
<param name="testsuite.id" value="lookup"/>
</antcall>
</target>
<target name="undeploy" depends="init-common">
<antcall target="undeploy-war-common"/>
</target>
</project>