VirtualBox

source: vbox/trunk/src/VBox/Main/webservice/samples/java/jax-ws/Makefile.glue@ 23009

Last change on this file since 23009 was 16120, checked in by vboxsync, 16 years ago

export webservices to OSE

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1#
2# Copyright (C) 2008 Sun Microsystems, Inc.
3#
4# This file is part of VirtualBox Open Source Edition (OSE), as
5# available from http://www.215389.xyz. This file is free software;
6# you can redistribute it and/or modify it under the terms of the GNU
7# General Public License (GPL) as published by the Free Software
8# Foundation, in version 2 as it comes in the "COPYING" file of the
9# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
10# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
11#
12# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
13# Clara, CA 95054 USA or visit http://www.sun.com if you need
14# additional information or have any questions.
15#
16
17JAXWS=./jaxws-ri
18JAXWSLIBS=$(JAXWS)/lib/jaxws-api.jar:$(JAXWS)/lib/jaxb-api.jar:$(JAXWS)/lib/jsr181-api.jar:$(JAXWS)/lib/jaxws-rt.jar
19
20
21JAVA16=java
22JAVA15=/usr/lib/jvm/java-1.5.0-sun/bin/java
23JAVAC15 = javac -target 1.5
24JAVAC16 = javac -target 1.6
25WSIMPORT15 = $(JAVA15) -cp $(JAXWS)/lib/jaxws-tools.jar com.sun.tools.ws.WsImport
26WSIMPORT16 = wsimport
27JAR = jar
28CP = cp
29MKDIR = mkdir
30RM = rm
31
32DEST16 = ./gen16
33DEST15 = ./gen15
34
35VBOXWS15 = ../lib/vboxws_java15.jar
36VBOXWS16 = ../lib/vboxws_java16.jar
37
38all: $(VBOXWS15) $(VBOXWS16)
39
40$(VBOXWS15): ../../../vboxwebService.wsdl ../../../vboxweb.wsdl *.java
41 $(RM) -rf $(DEST15)
42 $(MKDIR) -p $(DEST15)
43 $(WSIMPORT15) -d $(DEST15) $<
44 $(JAVAC15) -cp $(DEST15) *.java -d $(DEST15)
45 $(CP) ../../../vboxwebService.wsdl ../../../vboxweb.wsdl $(DEST15)
46 $(JAR) cvf $(VBOXWS15) -C $(DEST15) . > /dev/null
47
48$(VBOXWS16): ../../../vboxwebService.wsdl ../../../vboxweb.wsdl *.java
49 $(RM) -rf $(DEST16)
50 $(MKDIR) -p $(DEST16)
51 $(WSIMPORT16) -d $(DEST16) $<
52 $(JAVAC16) -cp $(DEST16) *.java -d $(DEST16)
53 $(CP) ../../../vboxwebService.wsdl ../../../vboxweb.wsdl $(DEST16)
54 $(JAR) cvf $(VBOXWS16) -C $(DEST16) . > /dev/null
55
56clean:
57 $(RM) -rf $(DEST)
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette