How To Create Satellite JAR File - sopeco/Software-Performance-Cockpit GitHub Wiki
In order to run SoPeCo satellites on a remote machine you can create a JAR package that contains all the required libraries and then run it on the remote machine.
- In Eclipse create a Run Configuration for the satellite project and test that it you can run the satellite successfully using the created configuration.
- In Eclipse select File->Export... menu item.
- From the export destination tree select "Runnable JAR file" and click Next.
- For "Launch configuration" select the run configuration that you created in Step 1. Provide an export destination, and under "Library handling" select "Package required libraries into generated JAR". Click Finish.
- If there is no compile problem, the satellite JAR file is created. You can use Java to run the JAR file from command line using the '-jar' argument:
$ java -jar my-satellite.jar