VirtualBox

Changeset 30932 in vbox


Ignore:
Timestamp:
Jul 20, 2010 4:09:24 PM (15 years ago)
Author:
vboxsync
Message:

Java bridge: uniform bridge is functional

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

Legend:

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

    r30880 r30932  
    3838endif
    3939
    40 VBOX_JAR_WS=$(VBOX_SDK)bindings/webservice/java/jax-ws/vboxjws.jar
     40VBOX_JAR_WS=$(VBOX_SDK)/bindings/webservice/java/jax-ws/vboxjws.jar
    4141
    4242JAVA_ARGS += -Dvbox.home=$(VBOX_BIN)
     
    5252testws:
    5353        javac -cp $(VBOX_JAR_WS) TestVBox.java
    54         java $(JAVA_ARGS) -cp $(VBOX_JAR_WS) TestVBox -w -url http://localhost:18083
     54        java $(JAVA_ARGS) -cp $(VBOX_JAR_WS)$(SEP)$(CLASSPATH) TestVBox -w -url http://localhost:18083
  • trunk/src/VBox/Main/glue/tests/TestVBox.java

    r30880 r30932  
    130130            } catch (Exception e) {
    131131                e.printStackTrace();
     132                System.out.println("Cannot connect, start webserver first!");               
    132133            }
    133134        }
     
    136137        {
    137138            IVirtualBox vbox = mgr.getVBox();
    138             System.out.println("VirtualBox version: " + vbox.getVersion() + "\n");
    139             testEnumeration(mgr, vbox);
    140             testStart(mgr, vbox);
    141             testEvents(mgr, vbox.getEventSource(), false);
     139            if (vbox != null)
     140            {
     141                System.out.println("VirtualBox version: " + vbox.getVersion() + "\n");
     142                testEnumeration(mgr, vbox);
     143                testStart(mgr, vbox);
     144                testEvents(mgr, vbox.getEventSource(), false);
    142145
    143             System.out.println("done, press Enter...");
    144             int ch = System.in.read();
     146                System.out.println("done, press Enter...");
     147                int ch = System.in.read();
     148            }
    145149        }
    146150        catch (Throwable e)
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r30914 r30932  
    300300VBOX_JAXLIB_DIR    := $(PATH_ROOT)/src/VBox/Main/webservice/jaxlibs
    301301
    302 VBoxJWs-inst-jar_INST = $(INST_SDK)bindings/webservice/java/jax-ws/vboxjws.jar
     302VBoxJWs-inst-jar_INST = $(INST_SDK)bindings/webservice/java/jax-ws
    303303VBoxJWs-inst-jar_SOURCES = \
    304304        $(VBOX_JWS_JAR)
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