VirtualBox

Changeset 29788 in vbox for trunk/src


Ignore:
Timestamp:
May 25, 2010 2:18:41 PM (15 years ago)
Author:
vboxsync
Message:

Java bridge: MSCOM basics

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r29771 r29788  
    869869              --stringparam G_vboxGlueStyle mscom              \
    870870              -o $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_GLUE_XSLT_DIR)/glue-java.xsl $<
    871         $(QUIET)$(VBOX_FILESPLIT) $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_JMSCOM_GEN)/java/
     871        $(QUIET)$(VBOX_FILESPLIT) $(VBOX_JMSCOM_GEN)/java/merged.file $(VBOX_JMSCOM_GEN)/java   
    872872        $(QUIET)echo $(VBOX_JMSCOM_GEN)/java/*.java > $@
    873873
  • trunk/src/VBox/Main/glue/tests/Makefile.kmk

    r29784 r29788  
    1010# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1111#
    12 
    1312ifeq ($(KBUILD_HOST),darwin)
    1413 VBOX_BIN=/Applications/VirtualBox.app/Contents/MacOS
    1514 VBOX_SDK=$(VBOX_BIN)/sdk
    16 # JAVA_OPT= -d32
     15# JAVA_ARGS += -d32
    1716endif
    1817
     
    2524 VBOX_SDK=e:/ws/out/win.amd64/debug/bin/sdk
    2625 VBOX_BIN=e:/ws/out/win.amd64/debug/bin
     26 JACOB_DIR=e:/ws/src/libs/jacob-1.15-M3/
     27 JACOB_JAR=$(JACOB_DIR)/jacob.jar
     28 CLASSPATH += $(JACOB_JAR)$(SEP)
     29 JAVA_ARGS += -Djava.library.path=$(JACOB_DIR)
    2730endif
    2831
    2932ifeq ($(KBUILD_HOST),win)
    3033 VBOX_JAR=$(VBOX_SDK)/bindings/mscom/java/vboxjmscom.jar
     34 SEP=\;
    3135else
    3236 VBOX_JAR=$(VBOX_SDK)/bindings/xpcom/java/vboxjxpcom.jar
     37 SEP=:
    3338endif
     39
     40JAVA_ARGS += -Dvbox.home=$(VBOX_BIN)
     41CLASSPATH  := $(CLASSPATH)$(VBOX_JAR)$(SEP).
    3442
    3543all: testvb
     
    3745testvb:
    3846        javac -cp $(VBOX_JAR) TestVBox.java
    39         java $(JAVA_OPT) -cp  $(VBOX_JAR):. -Dvbox.home=$(VBOX_BIN) TestVBox
     47        java $(JAVA_ARGS) -cp $(CLASSPATH) TestVBox
    4048
Note: See TracChangeset for help on using the changeset viewer.

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