VirtualBox

Changeset 58239 in vbox


Ignore:
Timestamp:
Oct 14, 2015 1:37:52 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103406
Message:

webservice: gracefully handle soapcpp2 version 2.8 and later which don't generate some (unneeded) files any more. An alternative would be to pass option -z1 to soapcpp2, but that's only understood by version 2.8 and later, causing errors with 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r57488 r58239  
    698698        $(MV_EXT) -f -- $(VBOXWEB_OUT_DIR)/*.req.xml $(VBOXWEB_OUT_DIR)/*.res.xml $(PATH_TARGET_SOAPDEMOXML)/
    699699endif
    700         $(MV_EXT) -f -- $(VBOXWEB_OUT_DIR)/soapvbox*.h $(PATH_TARGET_SOAPDEMOHEADERS)/
     700        # GSOAP versions 2.8 and later do not generate these files any more.
     701        # Ignoring the exit code is the simple solution, sometimes giving an error.
     702        -$(MV_EXT) -f -- $(VBOXWEB_OUT_DIR)/soapvbox*.h $(PATH_TARGET_SOAPDEMOHEADERS)/
    701703        $(MV_EXT) -f -- $(VBOXWEB_OUT_DIR)/vboxBinding.nsmap $(PATH_TARGET_SOAPDEMONSMAPS)/
    702704        $(APPEND) $@ done
Note: See TracChangeset for help on using the changeset viewer.

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