blob: 4882f10f142a24a9600207b684245e3c8d639682 [file] [log] [blame]
Vinay Vishal57171472018-09-18 20:22:00 +05301<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE project [
3<!--
4
5 Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
6
7 This program and the accompanying materials are made available under the
8 terms of the Eclipse Public License v. 2.0, which is available at
9 http://www.eclipse.org/legal/epl-2.0.
10
11 This Source Code may also be made available under the following Secondary
12 Licenses when the conditions for such availability set forth in the
13 Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
14 version 2 with the GNU Classpath Exception, which is available at
15 https://www.gnu.org/software/classpath/license.html.
16
17 SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
18
19-->
20
21<!ENTITY commonBuild SYSTEM "./../../../config/common.xml">
22]>
David Matějčekf4dc06a2021-05-17 12:10:57 +020023
Vinay Vishal57171472018-09-18 20:22:00 +053024<project name="wstoejb" default="all" basedir=".">
25
David Matějčekf4dc06a2021-05-17 12:10:57 +020026 &commonBuild;
Vinay Vishal57171472018-09-18 20:22:00 +053027 <property name="archivedir" value="${build}/archives"/>
28
David Matějčekf4dc06a2021-05-17 12:10:57 +020029 <target name="prepare" depends="init">
30 <mkdir dir="${build}" />
31 <mkdir dir="${archivedir}" />
32 </target>
33
34 <target name="compile" depends="prepare">
35 <javac srcdir="wstoejb" destdir="${build}">
Vinay Vishal57171472018-09-18 20:22:00 +053036 <classpath refid="gfv3.classpath"/>
37 </javac>
38
David Matějčekf4dc06a2021-05-17 12:10:57 +020039 </target>
40
41 <target name="assemble" depends="compile">
42 <mkdir dir="${build}/META-INF"/>
43 <copy file="ejb-jar.xml" todir="${build}/META-INF"/>
44 <jar destfile="${archivedir}/wstoejb-portable.jar" basedir="${build}"/>
45 <copy file="sun-ejb-jar.xml" todir="${build}/META-INF" failonerror="false"/>
46 <jar destfile="${archivedir}/wstoejb.jar" basedir="${build}"/>
47 </target>
48
49 <target name="private-all" depends="assemble">
50 </target>
Vinay Vishal57171472018-09-18 20:22:00 +053051
52</project>