4.2.3 – Deploy your plug-in

Export the jar file:

  1. Right click on the project, "Export", select "Runable JAR file" under Java.
  2. Choose "SparkGateway - Plugin" in Launch configuration.
  3. Choose export destination.
  4. Click "Finish"

Make sure "Extract required libraries into generated JAR" selected in "Library handling"

It’s better to put your plug-in can be in a separated jar file. In this case, you should set up your plug-in file path in gateway.conf:

pluginFile=theLocationOfYourPlugin.jar

Here is how to export the plug-in into a separated jar file (without the content of SparkGateway.jar):


Revision #2
Created 8 April 2022 11:35:05 by Guest
Updated 8 April 2022 11:45:19 by Guest