Changeset 59491 in vbox
- Timestamp:
- Jan 27, 2016 12:37:34 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105259
- Location:
- trunk/src/VBox/Main/webservice
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/Makefile.kmk
r59485 r59491 529 529 # 530 530 VBOXWEB_GLUE_PYTHON = $(VBOX_PATH_SDK)/bindings/webservice/python/lib/VirtualBox_wrappers.py 531 VBOXWEB_WS_PYTHON = $(VBOX_PATH_SDK)/bindings/webservice/python/lib/VirtualBox_services.py 531 # The following 3 files are generated by Python ZSI 2.0 which was released 532 # in 2007. ZSI 1.x used different file names. Not worth supporting any more. 533 # If you're curious, check the VirtualBox 4.3 sources. 534 VBOXWEB_WS_PYTHON = $(VBOX_PATH_SDK)/bindings/webservice/python/lib/VirtualBox_client.py 535 VBOXWEB_WS_PYTHON_TYPES = $(VBOX_PATH_SDK)/bindings/webservice/python/lib/VirtualBox_types.py 536 VBOXWEB_WS_PYTHON_SERVER = $(VBOX_PATH_SDK)/bindings/webservice/python/lib/VirtualBox_server.py 532 537 VBOXWEB_WS_PERL = $(VBOX_PATH_SDK)/bindings/webservice/perl/lib/vboxService.pm 533 538 VBOXWEB_WS_PHP = $(VBOX_PATH_SDK)/bindings/webservice/php/lib/vboxServiceWrappers.php … … 543 548 $(if $(VBOX_WITH_PYTHON),$(VBOXWEB_GLUE_PYTHON),) \ 544 549 $(if $(VBOX_WITH_PYTHON),$(VBOXWEB_WS_PYTHON),) \ 550 $(if $(VBOX_WITH_PYTHON),$(VBOXWEB_WS_PYTHON_TYPES),) \ 545 551 $(if $(VBOX_WITH_PERL),$(VBOXWEB_WS_PERL),) \ 546 552 $(if $(VBOX_WITH_PHP),$(VBOXWEB_WS_PHP),) \ … … 585 591 OTHER_CLEAN += \ 586 592 $(VBOXWEB_OTHERS) \ 593 $(if $(VBOX_WITH_PYTHON),$(VBOXWEB_WS_PYTHON_SERVER),) \ 587 594 $(VBOXWEB_WSDL) \ 588 595 $(VBOXWEBSERVICE_WSDL) \ … … 615 622 $(QUIET)$(VBOX_XSLTPROC) $(VBOXWEB_XSLTPROC_VERBOSE) -o $@ $(VBOX_PATH_WEBSERVICE)/websrv-python.xsl $< 616 623 617 $(VBOXWEB_WS_PYTHON): $(VBOXWEB_WSDL) $(VBOXWEBSERVICE_WSDL) 624 $(VBOXWEB_WS_PYTHON) \ 625 + $(VBOXWEB_WS_PYTHON_TYPES): $(VBOXWEB_WSDL) $(VBOXWEBSERVICE_WSDL) 618 626 $(call MSG_GENERATE,,$@, WS Python bindings) 619 627 $(QUIET)$(RM) -f -- $@ … … 621 629 # Try both w/o and with --file option 622 630 $(QUIET)$(REDIRECT) -C $(@D) -- $(SHELL) -c "$(VBOX_WSDL2PY) -b $(VBOXWEBSERVICE_WSDL) || $(VBOX_WSDL2PY) -b --file $(VBOXWEBSERVICE_WSDL)" 623 # Note: the previous command (depending on the version) may or may not create 624 # $@, but the Python webservice bindings in the SDK depend on its presence. 631 # We do not ever need the VirtualBox_server.py file. Delete it immediatelyi 632 # so that it will not get packaged in the SDK. 633 $(QUIET)$(RM) -f -- $(VBOXWEB_WS_PYTHON_SERVER) 625 634 $(QUIET)$(APPEND) $@ '' 626 635 -
trunk/src/VBox/Main/webservice/websrv-python.xsl
r59488 r59491 491 491 # This file is autogenerated from VirtualBox.xidl, DO NOT EDIT! 492 492 # 493 from VirtualBox_services import * 494 495 try: 496 from VirtualBox_client import * 497 except: 498 pass 493 494 # Works only with ZSI 2.0 generated stubs (part of the VirtualBox SDK). 495 from VirtualBox_client import * 499 496 500 497 class ManagedManager:
Note:
See TracChangeset
for help on using the changeset viewer.