Changeset 45483 in vbox for trunk/src/VBox/Main/webservice
- Timestamp:
- Apr 11, 2013 1:07:09 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84944
- Location:
- trunk/src/VBox/Main/webservice
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/Makefile.kmk
r45075 r45483 7 7 8 8 # 9 # Copyright (C) 2007-201 2Oracle Corporation9 # Copyright (C) 2007-2013 Oracle Corporation 10 10 # 11 11 # This file is part of VirtualBox Open Source Edition (OSE), as … … 151 151 # The webservice location 152 152 VBOX_PATH_WEBSERVICE := $(PATH_SUB_CURRENT) 153 154 # The IDL subdirectory (contains some XSLT files) 155 VBOX_PATH_IDL := $(abspath $(PATH_SUB_CURRENT)/../idl) 153 156 154 157 # If this is set, all webservice files are considered out-of-date every time … … 560 563 561 564 # generate WSDL from main XIDL file 562 $(VBOXWEB_WSDL): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-wsdl.xsl $(VBOX_PATH_ WEBSERVICE)/websrv-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) ## @todo | $$(dir $$@)565 $(VBOXWEB_WSDL): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-wsdl.xsl $(VBOX_PATH_IDL)/typemap-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) ## @todo | $$(dir $$@) 563 566 $(call MSG_GENERATE,,$@,$(VBOXWEB_IDL_SRC) using websrv-wsdl.xsl) 564 567 $(QUIET)$(RM) -f -- $@ … … 566 569 $(QUIET)$(VBOX_XSLTPROC) $(VBOXWEB_XSLTPROC_VERBOSE) -o $@ $(VBOX_PATH_WEBSERVICE)/websrv-wsdl.xsl $< 567 570 568 $(VBOXWEBSERVICE_WSDL): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-wsdl-service.xsl $(VBOX_PATH_ WEBSERVICE)/websrv-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) ## @todo | $$(dir $$@)571 $(VBOXWEBSERVICE_WSDL): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-wsdl-service.xsl $(VBOX_PATH_IDL)/typemap-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) ## @todo | $$(dir $$@) 569 572 $(call MSG_GENERATE,,$@,$(VBOXWEB_IDL_SRC) using websrv-wsdl-service.xsl) 570 573 $(QUIET)$(RM) -f -- $@ … … 606 609 607 610 # generate typemap.dat (used by wsdl2h) from main XIDL file 608 $(VBOXWEB_TYPEMAP): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-typemap.xsl $(VBOX_PATH_ WEBSERVICE)/websrv-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@)611 $(VBOXWEB_TYPEMAP): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-typemap.xsl $(VBOX_PATH_IDL)/typemap-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@) 609 612 $(call MSG_GENERATE,,$@,$(VBOXWEB_IDL_SRC) using websrv-typemap.xsl) 610 613 $(QUIET)$(RM) -f -- $@ … … 612 615 613 616 # generate gsoap pseudo-C header file from that WSDL; once via XSLT... 614 $(VBOXWEB_GSOAPH_FROM_XSLT): $(VBOXWEB_WSDL) $(VBOX_PATH_WEBSERVICE)/websrv-wsdl2gsoapH.xsl $(VBOX_PATH_ WEBSERVICE)/websrv-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@)617 $(VBOXWEB_GSOAPH_FROM_XSLT): $(VBOXWEB_WSDL) $(VBOX_PATH_WEBSERVICE)/websrv-wsdl2gsoapH.xsl $(VBOX_PATH_IDL)/typemap-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@) 615 618 $(call MSG_GENERATE,,$@,$(VBOXWEB_WSDL) using websrv-wsdl2gsoapH.xsl) 616 619 $(QUIET)$(RM) -f -- $@ … … 618 621 619 622 VBOX_NSMAP = $(VBOXWEB_OUT_DIR)/vboxwebsrv.nsmap 620 $(VBOX_NSMAP): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-nsmap.xsl $(VBOX_PATH_ WEBSERVICE)/websrv-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@)623 $(VBOX_NSMAP): $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-nsmap.xsl $(VBOX_PATH_IDL)/typemap-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@) 621 624 $(call MSG_GENERATE,,$@,$(VBOXWEB_IDL_SRC) using websrv-nsmap.xsl) 622 625 $(QUIET)$(RM) -f -- $@ … … 711 714 712 715 # generate method maps in server: map wsdl operations to com/xpcom method calls 713 $(VBOXWEB_OUT_DIR)/methodmaps.cpp: $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-cpp.xsl $(VBOX_PATH_ WEBSERVICE)/websrv-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@)716 $(VBOXWEB_OUT_DIR)/methodmaps.cpp: $(VBOXWEB_IDL_SRC) $(VBOX_PATH_WEBSERVICE)/websrv-cpp.xsl $(VBOX_PATH_IDL)/typemap-shared.inc.xsl $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@) 714 717 $(call MSG_GENERATE,,$@,$(VBOXWEB_IDL_SRC) using websrv-cpp.xsl) 715 718 $(QUIET)$(VBOX_XSLTPROC) -o $@ $(VBOX_PATH_WEBSERVICE)/websrv-cpp.xsl $< -
trunk/src/VBox/Main/webservice/websrv-cpp.xsl
r44414 r45483 40 40 <xsl:variable name="G_xsltFilename" select="'websrv-cpp.xsl'" /> 41 41 42 <xsl:include href=" websrv-shared.inc.xsl" />42 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 43 43 44 44 <!-- collect all interfaces with "wsmap='suppress'" in a global variable for … … 361 361 <xsl:param name="inptr" /> <!-- whether to add INPTR to BSTR (Dmitry template magic) --> 362 362 363 <!-- look up C++ glue type from IDL type from table array in websrv-shared.inc.xsl -->363 <!-- look up C++ glue type from IDL type from table array in typemap-shared.inc.xsl --> 364 364 <xsl:variable name="gluetypefield" select="exsl:node-set($G_aSharedTypes)/type[@idlname=$type]/@gluename" /> 365 365 … … 985 985 <xsl:value-of select="'{'" /> 986 986 <xsl:call-template name="emitNewlineIndent8" /> 987 <!-- look up C++ glue type from IDL type from table array in websrv-shared.inc.xsl -->987 <!-- look up C++ glue type from IDL type from table array in typemap-shared.inc.xsl --> 988 988 <xsl:variable name="gluetypefield" select="exsl:node-set($G_aSharedTypes)/type[@idlname=$type]/@gluename" /> 989 989 <xsl:choose> -
trunk/src/VBox/Main/webservice/websrv-nsmap.xsl
r44528 r45483 10 10 generated for the webservice. 11 11 12 Copyright (C) 2006-201 2Oracle Corporation12 Copyright (C) 2006-2013 Oracle Corporation 13 13 14 14 This file is part of VirtualBox Open Source Edition (OSE), as … … 36 36 <xsl:variable name="G_xsltFilename" select="'websrv-typemap.xsl'" /> 37 37 38 <xsl:include href=" websrv-shared.inc.xsl" />38 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 39 39 40 40 <!-- - - - - - - - - - - - - - - - - - - - - - - -
trunk/src/VBox/Main/webservice/websrv-php.xsl
r43546 r45483 12 12 Contributed by James Lucas (mjlucas at eng.uts.edu.au). 13 13 14 Copyright (C) 2008-201 2Oracle Corporation14 Copyright (C) 2008-2013 Oracle Corporation 15 15 16 16 This file is part of VirtualBox Open Source Edition (OSE), as … … 30 30 indent="no"/> 31 31 32 <xsl:include href=" websrv-shared.inc.xsl" />32 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 33 33 34 34 <xsl:variable name="G_setSuppressedInterfaces" … … 361 361 362 362 /* 363 * Copyright (C) 2008-201 2Oracle Corporation363 * Copyright (C) 2008-2013 Oracle Corporation 364 364 * 365 365 * This file is part of a free software library; you can redistribute -
trunk/src/VBox/Main/webservice/websrv-python.xsl
r44528 r45483 10 10 web service API. Depends on WSDL file for actual SOAP bindings. 11 11 12 Copyright (C) 2008-201 2Oracle Corporation12 Copyright (C) 2008-2013 Oracle Corporation 13 13 14 14 This file is part of VirtualBox Open Source Edition (OSE), as … … 28 28 indent="no"/> 29 29 30 <xsl:include href=" websrv-shared.inc.xsl" />30 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 31 31 32 32 <xsl:variable name="G_setSuppressedInterfaces" -
trunk/src/VBox/Main/webservice/websrv-typemap.xsl
r44528 r45483 9 9 generated for the webservice. 10 10 11 Copyright (C) 2006-201 2Oracle Corporation11 Copyright (C) 2006-2013 Oracle Corporation 12 12 13 13 This file is part of VirtualBox Open Source Edition (OSE), as … … 35 35 <xsl:variable name="G_xsltFilename" select="'websrv-typemap.xsl'" /> 36 36 37 <xsl:include href=" websrv-shared.inc.xsl" />37 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 38 38 39 39 <!-- - - - - - - - - - - - - - - - - - - - - - - -
trunk/src/VBox/Main/webservice/websrv-wsdl-service.xsl
r44528 r45483 10 10 generated for the webservice. 11 11 12 Copyright (C) 2006-201 2Oracle Corporation12 Copyright (C) 2006-2013 Oracle Corporation 13 13 14 14 This file is part of VirtualBox Open Source Edition (OSE), as … … 46 46 <xsl:variable name="G_xsltFilename" select="'websrv-wsdl-service.xsl'" /> 47 47 48 <xsl:include href=" websrv-shared.inc.xsl" />48 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 49 49 50 50 <!-- collect all interfaces with "wsmap='suppress'" in a global variable for -
trunk/src/VBox/Main/webservice/websrv-wsdl.xsl
r44528 r45483 10 10 generated for the webservice. 11 11 12 Copyright (C) 2006-201 2Oracle Corporation12 Copyright (C) 2006-2013 Oracle Corporation 13 13 14 14 This file is part of VirtualBox Open Source Edition (OSE), as … … 119 119 <xsl:variable name="G_xsltFilename" select="'websrv-wsdl.xsl'" /> 120 120 121 <xsl:include href=" websrv-shared.inc.xsl" />121 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 122 122 123 123 <!-- collect all interfaces with "wsmap='suppress'" in a global variable for … … 148 148 <xsl:param name="type" /> 149 149 <xsl:call-template name="debugMsg"><xsl:with-param name="msg" select="concat('......emitConvertedType: type="', $type, '"')" /></xsl:call-template> 150 <!-- look up XML Schema type from IDL type from table array in websrv-shared.inc.xsl -->150 <!-- look up XML Schema type from IDL type from table array in typemap-shared.inc.xsl --> 151 151 <xsl:variable name="xmltypefield" select="exsl:node-set($G_aSharedTypes)/type[@idlname=$type]/@xmlname" /> 152 152 <xsl:choose> -
trunk/src/VBox/Main/webservice/websrv-wsdl2gsoapH.xsl
r44414 r45483 44 44 <xsl:variable name="G_xsltFilename" select="'websrv-wsdl2gsoapH.xsl'" /> 45 45 46 <xsl:include href=" websrv-shared.inc.xsl" />46 <xsl:include href="../idl/typemap-shared.inc.xsl" /> 47 47 48 48 <!-- collect all interfaces with "wsmap='suppress'" in a global variable for
Note:
See TracChangeset
for help on using the changeset viewer.