Universal Robots Forum

Mvn install -P ursimvm

In order for mvn install -P ursimvm to work properly in the VMware.
IP address of <ursimvm.install.host> in pom.xml may be the same as that of ifconfig results.

pom.xml

        <!--Host and standard user/password for UR Sim running in a VM-->
        <ursimvm.install.host> **192.168.118.128**</ursimvm.install.host>
        <ursimvm.install.username>ur</ursimvm.install.username>
        <ursimvm.install.password>easybot</ursimvm.install.password>

ur@ursim:~/urcap-sdk-1.0.0.7/samples/com.ur.urcap.examples.helloworld$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:4f:c3:ae
inet addr:192.168.118.128 Bcast:192.168.118.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe4f:c3ae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54172 errors:0 dropped:0 overruns:0 frame:0
TX packets:14253 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19964303 (19.9 MB) TX bytes:1509038 (1.5 MB)
Interrupt:19 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:7391500 errors:0 dropped:0 overruns:0 frame:0
TX packets:7391500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5045476513 (5.0 GB) TX bytes:5045476513 (5.0 GB)

When you are using the mvn install -P ursimvm I guess this is because you have your Java development environment (e.g. Eclipse) outside of the VM, e.g. running on your Windows PC, and running the VM on this.

If you are using the development environment inside the same VM as the simulator, you should use mvn install -P ursim

Please refer to this article for elaboration on deployment methods.

Thanks Jbm,
mvn install -P ursim works well. From now on I will use it.