Class ExecutableJarExporter

java.lang.Object
aQute.bnd.exporter.executable.ExecutableJarExporter
All Implemented Interfaces:
Exporter

public class ExecutableJarExporter extends Object implements Exporter
Exports a project or run file to an executable JAR.

This exporter supports 2 types for backward compatibility. This exporter used the project launcher's execute function. However, there also was an -export instruction that used the Project.pack(String) method. This method was a bit more powerful. Since both exports were used, the EXECUTABLE_JAR was used from Gradle and bndtools while the EXECUTABLE_PACK was used from bnd build, we needed to handle them slightly differently since it is difficult to ensure backward compatibility.