Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | <?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ček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 40 | |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 41 | <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ček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 48 | <javac srcdir="./applib1" |
| 49 | destdir="./applib1" |
| 50 | classpath="${s1astest.classpath}" |
| 51 | debug="on" |
| 52 | failonerror="true"/> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 53 | <mkdir dir="lib"/> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 54 | <jar destfile="lib/AppSharedLib1.jar"> |
| 55 | <fileset dir="./applib1"/> |
| 56 | </jar> |
| 57 | <property name="hasWebclient" value="yes"/> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 58 | <antcall target="webclient-war-common"> |
| 59 | <param name="hasWebclient" value="yes"/> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 60 | <param name="webclient.war.classes" value="**/*.class"/> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 61 | </antcall> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 62 | </target> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 63 | |
| 64 | <target name="build-publish-war" depends="build, publish-war-common" /> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 65 | |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 66 | <target name="deploy" depends="build"> |
| 67 | <antcall target="deploy-war-common"/> |
| 68 | <antcall target="clean"/> |
| 69 | </target> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 70 | |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 71 | <target name="undeploy" depends="init-common"> |
| 72 | <antcall target="undeploy-war-common"/> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 73 | </target> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 74 | </project> |