-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GhidraDev default module plugin fails to build out of the box #4962
Comments
You didn't make any alterations to the new project that the wizard created for you? It just failed to export as a new extension out of the box? |
We recently changed the help page stylesheet name. I see you are still using the old style:
The correct file should now be:
The error message implies that you your |
Using a build of the current master (394c544), i was not able to reproduce this. I built a new GhidraDev Eclipse plugin the same way you described, installed it, created a new Module project linked against my built Ghidra, and then exported the module. I used a local Gradle 7.6 to do the export. I didn't have PyDev or CDT installed, but I don't those things are related to your Help error. |
I updated to the current master (394c544) as well and repeated the same steps.
copying |
Ok, I am reproducing it now. We'll get it fixed. Thanks! |
This problem still exists, hitting it when building GhidraDev on current master, 2a83263 |
I must have missed something, but these were the steps I have taken (roughly following https://voidstarsec.com/blog/ghidra-dev-environment):
install the latest versions of eclipse, CDT, PyDev, and PDE
File > Import > General > Existing Projects into Workspace
Add both
EclipseGhidraDevFeature
andEclipseGhidraDevPlugin
Add both
_LaunchSupport
andFramework Utility
because Eclipse refuses to buiid without themEclipse complains about
IPythonNature.JYTHON_VERSION_2_7
inPyDevUtilsInternal.java
which I replaced with "jython 2.7"File > Export > Plug-in Development > Deployable Features
Help > Install New Software
Install
ghidraDev
GhidraDev->New Ghidra Module Project
Select just Plugin in the module templates. Link the ghidra build created by the
gradle buildGhidra
command run at the start.GhidraDev->Export->Ghidra Module Extension
The build fails with errors like:
Cannot find expected stylesheet: .../MyFirstGhidraPlugin/Framework/Help/src/main/resources/help/shared/DefaultStyle.css
Copying the Framework folder from ghidra results in another error:
I'm inclined to believe that I must have missed something obvious in the documentation (or the template is not meant to be buildable?), so any help/advice would be most welcome - is there some command I should have run to get all the necessary files?
(For the record, deleting src/main/help skips building help and thus all these errors, so not the biggest deal)
The text was updated successfully, but these errors were encountered: