Package aQute.bnd.exporter.executable
Class ExecutableJarExporter
java.lang.Object
aQute.bnd.exporter.executable.ExecutableJarExporter
- All Implemented Interfaces:
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.
-
Field Details
-
EXECUTABLE_JAR
- See Also:
-
EXECUTABLE_PACK
- See Also:
-
-
Constructor Details
-
ExecutableJarExporter
public ExecutableJarExporter()
-
-
Method Details
-
getTypes
-
export
-
defaultExporter
private Jar defaultExporter(Project project, Map<String, String> options) throws Exception, IOException- Throws:
Exception
IOException
-
pack
- Throws:
Exception
-