Package ghidra.util
Class GhidraJarBuilder
java.lang.Object
ghidra.util.GhidraJarBuilder
- All Implemented Interfaces:
GhidraLaunchable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addExcludedFileExtension
(String excludedExtension) void
addFileFilter
(FileFilter filter) boolean
void
addModuleToJar
(ApplicationModule module) void
buildJar
(File outputFile, File extraBinDir, TaskMonitor monitor) void
buildSrcZip
(File outputFile, TaskMonitor monitor) boolean
isModuleIncluded
(String moduleName) void
launch
(GhidraApplicationLayout layout, String[] args) Entry point for buildGhidraJar.bat.static void
void
boolean
removeModule
(String name) void
setExcludeHelp
(boolean excludeHelp) void
setMainClass
(String mainClass)
-
Constructor Details
-
GhidraJarBuilder
public GhidraJarBuilder() -
GhidraJarBuilder
- Throws:
IOException
-
-
Method Details
-
getAllModules
-
getIncludedModules
-
removeAllProcessorModules
public void removeAllProcessorModules() -
getExcludedModules
-
getModule
-
isModuleIncluded
-
addAllModules
public void addAllModules() -
addModule
-
removeModule
-
addFileFilter
-
addExcludedFileExtension
-
addModuleToJar
-
setExcludeHelp
public void setExcludeHelp(boolean excludeHelp) -
setMainClass
-
buildJar
public void buildJar(File outputFile, File extraBinDir, TaskMonitor monitor) throws IOException, CancelledException - Throws:
IOException
CancelledException
-
buildSrcZip
public void buildSrcZip(File outputFile, TaskMonitor monitor) throws IOException, CancelledException - Throws:
IOException
CancelledException
-
main
- Throws:
IOException
-
launch
Entry point for buildGhidraJar.bat.- Specified by:
launch
in interfaceGhidraLaunchable
- Parameters:
layout
- The application layout to use for the launch.args
- The arguments passed through by theGhidraLauncher
.- Throws:
IOException
-