blob: 0672167cea9220fba9f86c92be08b9c90eade98e [file] [log] [blame]
Vinay Vishal57171472018-09-18 20:22:00 +05301<?xml version="1.0" encoding="ISO-8859-1"?>
2<!--
3
4 Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v. 2.0, which is available at
8 http://www.eclipse.org/legal/epl-2.0.
9
10 This Source Code may also be made available under the following Secondary
11 Licenses when the conditions for such availability set forth in the
12 Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
13 version 2 with the GNU Classpath Exception, which is available at
14 https://www.gnu.org/software/classpath/license.html.
15
16 SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
17
18-->
19
20<!DOCTYPE project [
21<!ENTITY commonSetup SYSTEM "./../../../../../../config/properties.xml">
22<!ENTITY commonBuild SYSTEM "./../../../../../../config/common.xml">
23<!ENTITY run SYSTEM "./../../../../../../config/run.xml">
24<!ENTITY testproperties SYSTEM "./build.properties">
25]>
26
27<project name="webcontainer_unittest" default="all" basedir=".">
28
29 &commonSetup;
30 &commonBuild;
31 &testproperties;
32 &run;
33
34 <target name="clean" depends="init-common">
35 <antcall target="clean-common"/>
36 <delete>
37 <fileset dir="." includes="*.class"/>
38 </delete>
39 </target>
David Matějčekf4dc06a2021-05-17 12:10:57 +020040
Vinay Vishal57171472018-09-18 20:22:00 +053041 <target name="compile" depends="clean">
42 <antcall target="compile-common">
43 <param name="src" value="servlet"/>
44 </antcall>
45 </target>
46
47 <target name="build" depends="compile">
David Matějčekf4dc06a2021-05-17 12:10:57 +020048 <javac srcdir="./applib1"
49 destdir="./applib1"
50 classpath="${s1astest.classpath}"
51 debug="on"
52 failonerror="true"/>
Vinay Vishal57171472018-09-18 20:22:00 +053053 <mkdir dir="lib"/>
David Matějčekf4dc06a2021-05-17 12:10:57 +020054 <jar destfile="lib/AppSharedLib1.jar">
55 <fileset dir="./applib1"/>
56 </jar>
57 <property name="hasWebclient" value="yes"/>
Vinay Vishal57171472018-09-18 20:22:00 +053058 <antcall target="webclient-war-common">
59 <param name="hasWebclient" value="yes"/>
David Matějčekf4dc06a2021-05-17 12:10:57 +020060 <param name="webclient.war.classes" value="**/*.class"/>
Vinay Vishal57171472018-09-18 20:22:00 +053061 </antcall>
David Matějčekf4dc06a2021-05-17 12:10:57 +020062 </target>
Vinay Vishal57171472018-09-18 20:22:00 +053063
64 <target name="build-publish-war" depends="build, publish-war-common" />
David Matějčekf4dc06a2021-05-17 12:10:57 +020065
Vinay Vishal57171472018-09-18 20:22:00 +053066 <target name="deploy" depends="build">
67 <antcall target="deploy-war-common"/>
68 <antcall target="clean"/>
69 </target>
David Matějčekf4dc06a2021-05-17 12:10:57 +020070
Vinay Vishal57171472018-09-18 20:22:00 +053071 <target name="undeploy" depends="init-common">
72 <antcall target="undeploy-war-common"/>
David Matějčekf4dc06a2021-05-17 12:10:57 +020073 </target>
Vinay Vishal57171472018-09-18 20:22:00 +053074</project>