Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | <?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ček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 23 | |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 24 | <project name="wstoejb" default="all" basedir="."> |
| 25 | |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 26 | &commonBuild; |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 27 | <property name="archivedir" value="${build}/archives"/> |
| 28 | |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 29 | <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 Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 36 | <classpath refid="gfv3.classpath"/> |
| 37 | </javac> |
| 38 | |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 39 | </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 Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 51 | |
| 52 | </project> |