This section describes how Vortex OpenSplice Modeler and Eclipse Workbench are used to compile and run applications.
The Eclipse Workbench can be used to compile the native code by either
OR
Right-click on the Java source and choose Run As > Java Application to run the application (a Vortex OpenSplice daemon is expected to be running).
The Java application must contain a main() method for this
option to be available.
This facility requires the environment to be configured for Vortex OpenSplice. If not, Vortex OpenSplice Modeler comes with a handy Java run configuration preset targeting Vortex OpenSplice deployments, according to the Vortex OpenSplice preferences (see Section on Setting Vortex OpenSplice Preferences). To make use of it, choose Run As > OpenSplice Java Application.
If you need to have additional configuration settings for your run, simply create a Java run configuration for the specific Java source file containing the main() method, then edit the variables from the Environment tab (right-click on the source file, choose Run As > Run, then create new run configuration).
Right-click on the C++ source and choose Run As > Local C++ Application to run the application against the selected target DDS platform. Note that if the target is Vortex OpenSplice, the Vortex OpenSplice daemon needs to be running.
Additionally, for Vortex OpenSplice targets, this facility requires that the environment be configured.
Otherwise, there is a handy C++ run configuration preset available under Run As > Vortex OpenSplice C++ Application, which utilizes the values set in the Vortex OpenSplice preferences (see Section on Setting Vortex OpenSplice Preferences).
You can also create a C++ run configuration for the specific C++ executable, then edit the variables from the Environment tab (right-click on the source file, choose Run As > Run, then create new run configuration).
To run a C++ application targeting Vortex Lite, you can choose Run As > Local C++ Application. However, you will need to manually configure the required environment variables.
There is also a handy C++ run configuration preset available under Run As > Vortex Lite C++ Application. Otherwise, You can also create a C++ run configuration for the specific C++ executable, then edit the variables from the Environment tab (right-click on the source file, choose Run As > Run, then create new run configuration).