diff --git a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevFeature/feature.xml b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevFeature/feature.xml index 48c42dcdf4..c4c90c6f50 100644 --- a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevFeature/feature.xml +++ b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevFeature/feature.xml @@ -2,7 +2,7 @@ diff --git a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/.launch/GhidraDev.launch b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/.launch/GhidraDev.launch index d99a096da7..fdc48dd8fa 100644 --- a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/.launch/GhidraDev.launch +++ b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/.launch/GhidraDev.launch @@ -17,6 +17,7 @@ + @@ -24,6 +25,7 @@ + @@ -154,20 +156,21 @@ - + + + - - - + + - - + + @@ -176,6 +179,7 @@ + @@ -184,22 +188,22 @@ - - - - + + + + + - - + - - + + @@ -217,6 +221,7 @@ + @@ -240,6 +245,7 @@ + @@ -265,18 +271,18 @@ - + - + - - + + - + @@ -288,9 +294,8 @@ - - - + + @@ -308,8 +313,8 @@ - - + + @@ -319,9 +324,7 @@ - - - + @@ -330,7 +333,7 @@ - + @@ -372,6 +375,23 @@ + + + + + + + + + + + + + + + + + @@ -393,6 +413,8 @@ + + diff --git a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/GhidraDev_README.html b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/GhidraDev_README.html index cb3bed2388..22b1755ea6 100644 --- a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/GhidraDev_README.html +++ b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/GhidraDev_README.html @@ -19,7 +19,7 @@

GhidraDev README

GhidraDev provides support for developing and debugging Ghidra scripts and modules in Eclipse.

-

The information provided in this document is effective as of GhidraDev 3.0.0 and is subject to +

The information provided in this document is effective as of GhidraDev 3.0.1 and is subject to change with future releases.

    @@ -53,6 +53,9 @@ change with future releases.

Change History

+

3.0.1: Exporting a Ghidra Module Extension produces an intermediate build +directory within the project. This build directory now gets automatically cleaned up to avoid +Ghidra runtime/debugging issues.

3.0.0:

  • diff --git a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/META-INF/MANIFEST.MF b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/META-INF/MANIFEST.MF index e8e4b40e14..2bfa85bf32 100644 --- a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/META-INF/MANIFEST.MF +++ b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: GhidraDev Bundle-SymbolicName: ghidra.ghidradev;singleton:=true -Bundle-Version: 3.0.0.qualifier +Bundle-Version: 3.0.1.qualifier Bundle-Activator: ghidradev.Activator Require-Bundle: org.eclipse.ant.core;bundle-version="3.6.200", org.eclipse.buildship.core;bundle-version="3.1.5", diff --git a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/wizards/ExportGhidraModuleWizard.java b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/wizards/ExportGhidraModuleWizard.java index 0a76f9cfdf..8db14d172d 100644 --- a/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/wizards/ExportGhidraModuleWizard.java +++ b/GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/wizards/ExportGhidraModuleWizard.java @@ -44,6 +44,7 @@ import ghidra.launch.JavaConfig; import ghidradev.ghidraprojectcreator.utils.GhidraProjectUtils; import ghidradev.ghidraprojectcreator.wizards.pages.ChooseGhidraModuleProjectWizardPage; import ghidradev.ghidraprojectcreator.wizards.pages.ConfigureGradleWizardPage; +import utilities.util.FileUtilities; /** * Wizard for exporting a Ghidra module project to a releasable extension zip bundle. @@ -151,6 +152,11 @@ public class ExportGhidraModuleWizard extends Wizard implements INewWizard { monitor.worked(1); + // Delete the build directory...we don't want Ghidra finding/using it in the module + File buildDir = new File(workingDir, "build"); + FileUtilities.deleteDir(buildDir); + + // Refresh the project to make the new items visible project.refreshLocal(IResource.DEPTH_INFINITE, monitor); monitor.worked(1);