forked from ogema/ogema
-
Notifications
You must be signed in to change notification settings - Fork 1
eclipse_run_config_for_launcher
David Nestle edited this page Feb 27, 2020
·
1 revision
Eclipse run configurations can be used to launch and debug arbitrary Java classes. To start the ogema launcher via eclipse, create a run configuration as follows:
- Create a new run configuration for a 'Java Application' and enter a name and the main class (
org.ogema.launcher.OgemaLauncher
), selecting a project is optional: - On the Arguments tab set the launcher arguments and more importantly its working directory (sometimes there are 2 subfolders in rundir labeled as "default" and "simulation". Choose ...\ogema\rundir\default as working directory): You can choose Workspace, the just choose rundir project you want to use, e.g. "default".
- Use -? as a program argument to see all available arguments.
- Finally, add the ogema-launcher jar to the classpath (using the "Add External JARs" button, then go to rundir directory as described before, then choose ogema-launcher-XXX.jar):
- Also add all files in from bin/ext in the runDir (select all files using Shift/Strg key)
{width="8" height="8"} eclipse-launcher1.png (image/png) {width="8" height="8"} eclipse-launcher2.png (image/png) {width="8" height="8"} eclipse-launcher3.png (image/png)