Open saidelike opened 1 year ago
Thanks @saidelike for the hint, also works ion current ghidra version 10.3.2.
Thanks too!
Thanks!
Thank you so much, @saidelike ! Confirmed working on Ghidra 10.5 DEV (20231213).
Also works for ghidra_11.0_PUBLIC
Also works for ghidra_11.0_PUBLIC
I tried over and over on ubuntu to compile this with the changes, and no matter what it kept failing at the help file, with errors like this:
Exception in thread "main" ghidra.util.exception.AssertException: Errors parsing HTML file: help.html Incorrect stylesheet defined - none match help/shared/DefaultStyle.css in file /home/box/ret-sync/ext_ghidra/src/main/help/help/topics/retsync/help.html Discovered stylesheets: [/home/box/ret-sync/ext_ghidra/src/main/help/help/shared/DefaultStyle.css]
DefaultStyle is referenced in the HTML, renamed in the shared folder, and it says it discovered it, and fails anyway. I'm at my wits end of this, so I just forced it to run the 10.2 version that I could find pre-built. I would prefer to have it compile, so if anyone has any ideas as to what's going on...
Also works for ghidra_11.0_PUBLIC
I tried over and over on ubuntu to compile this with the changes, and no matter what it kept failing at the help file, with errors like this:
Exception in thread "main" ghidra.util.exception.AssertException: Errors parsing HTML file: help.html Incorrect stylesheet defined - none match help/shared/DefaultStyle.css in file /home/box/ret-sync/ext_ghidra/src/main/help/help/topics/retsync/help.html Discovered stylesheets: [/home/box/ret-sync/ext_ghidra/src/main/help/help/shared/DefaultStyle.css]
Do not forget the important step, rename from ext_ghidra/src/main/help/help/shared/Frontpage.css to ext_ghidra/src/main/help/help/shared/DefaultStyle.css . I used Alpine in WSL2. Also note that I edited Extensions/Ghidra/Skeleton/src/main/help/help/topics/skeleton/help.html
See https://github.com/NationalSecurityAgency/ghidra/issues/4962
With the below changes, it builds fine: