Developping a URCap outside of VirtualBox

Hi Forum Users,

I’m looking to try and separate my URCap development from a virtual box, having spent a bit of time playing with a docker container based URSim, it seems silly to have to use a virtual machine for development with the capability to run and test URCaps using the docker container. I wonder if anyone has any advice or brief instructions on extensions to install and settings to configure to allow you to evelop URCaps from a windows IDE such as VS Code, since the SDK that is downloaded is setup to install itself in a linux environment, I’m wondering what needs to be done in order to configure an IDE and a project in order to use other windows IDEs.

So far I have downloaded VS Code and installed the relevant java and maven extensions, but I am struggling to find the right way to resolve the URCap API dependency in the pom file, and to be able to compile the code with the usual mvn install command.

Any help would be much appreciated!!

1 Like

Hey @sam.hilton ,

have you heard of the upcoming Polyscope 6?
Announcement: What is changing in PolyScope 6?
Jacob Bom Madsen wrote in Feb. 2023:

So maybe you do not need to build it yourself. Beta program should have started in March 2023, so maybe you can enlist and have a try. Or can get some information directly from Jacob Bom Madsen, what is missing in your configuration.

Kind regards,

Hi Tom,

I’m on the polyscope 6 beta, and am in the process of testing the new API and development environment at the moment, but the environment is completely new, and designed to work outside of a virtual box, for a while we will probably still maintain our polyscope 5 URCaps, it would still be useful to be able to know how to use the old API outside of a virtual linux machine :slight_smile:

we install the sdk in an Ubuntu WSL2 instance, and connect to it via vscode. install java extension pack and youre running.

we typically use the virtualbox ursim, and adjust our pom accordingly, but i dont see why it wouldnt work with the docker ursim.