This guide will show you how to run the OTE client and server uwing a runtime workbench. Runtime workbenches provide an excellent development environment where you can write and run your code as quickly as possible. It is highly recommended when making changes to the test environment that you use a runtime workbench for testing first.
It is recommended to use the OTE or OSEE IDE to develop the OTE product. The latest dev build can be found in Jenkins here:
Simply download and unzip the appropriate product into a new folder.
It is usually easiest to import both the OSEE and OTE repositories:
In general, there will be a master branch in each repository representing the last release baseline and a dev branch representing the latest unreleased version of the code.
In the new workspace that comes up, ensure you are in the OSEE Test Perspective:
From the top menu select File->import...
Select General->“Existing Projects into Workspace”
Hit the Browse button and find the root folder where you cloned both org.eclipse.ote and org.eclipse.osee
Once selected, there should be many projects automatically selected under “Projects”
If not selection, click the “Select All” button
Hit the Finish button and wait for the workspace to populate and compile completely
When running the test server in the debugger you are still able to change a lot of code and eclipse debugger will hot-swap that code. This makes developmento of server side changes quick and easy to execute.
Some cases where you will get a swap error editing source are:
If you are only testing server-side code updates, you can connect to this server straight from this development workspace. If you also have some client side changes you can continue to the next section to also launch the OTE IDE.
If you are using a runtime workbench OTE IDE, you should be using a runtime workbench OTE Test Server as well.