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
Add Bytecode Outline to JDT UI #364
Comments
|
I believe the work done here is enough for the Maven aspect: https://github.com/LunarLaurus/eclipse.jdt.ui/tree/BytecodeOutline My fresh Oomph install for making these changes doesn't let me launch it as an Eclipse Application (Even with a fresh clone of JDT), but I don't see why this shouldn't work. |
The code is based on this commit, just updated vendor / manifest: iloveeclipse/bytecodeoutline@9fe31d0 See - iloveeclipse/bytecodeoutline#8 - eclipse-jdt#364
Am I correct in assuming this will be the right class to target for further integration? |
|
Yes. Good luck ... |
|
I have seen that it is in the process of being approved and merged, good work. Edit: This seems to have worked successfully! Wonderful news. |
The code is based on this commit, just updated vendor / manifest: iloveeclipse/bytecodeoutline@9fe31d0 See - iloveeclipse/bytecodeoutline#8 - eclipse-jdt#364
|
See So I would first recommend to try out "just" making the disassembled source "nice looking". Outline & navigation are harder. |
The code is based on this commit, just updated vendor / manifest: iloveeclipse/bytecodeoutline@9fe31d0 See - iloveeclipse/bytecodeoutline#8 - #364
I assume the dependencies are in the target platform now (because the code builds), but not in the resulted SDK package (because the view is not referenced by any feature / product). I assume we need same addition like in eclipse-platform/eclipse.platform.releng#180. I will prepare PR as soon as eclipse-platform/eclipse.platform.releng#180 will be merged, to avoid merge conflicts. |
|
Let me run a full I-build to be sure I haven't missed anything for the old views addition first. |
I've also noticed there is no |
|
Yes, you would have to create such a feature so there is smth end user installable . |
|
OK, I will add that feature then. |
Adds `org.eclipse.jdt.bcoview.feature` and integrates with maven build See eclipse-jdt#364
Adds `org.eclipse.jdt.bcoview.feature` and integrates with maven build See eclipse-jdt#364
Adds `org.eclipse.jdt.bcoview.feature` and integrates with maven build See eclipse-jdt#364
Adds `org.eclipse.jdt.bcoview.feature` and integrates with maven build See #364
|
Tried to get this rolling today with yet another fresh install via Oomph, but now I get this. |
|
Please retry once again. I've just built SDK again (https://download.eclipse.org/eclipse/downloads/drops4/I20230118-0200/), probably you've seen the version https://download.eclipse.org/eclipse/downloads/drops4/I20230117-1800/ |
|
Appears this still occurs even after updating Oomph. Should I just wait longer? |
|
@LunarLaurus : honestly speaking, no idea, I'm not a heavy oomph user. @merks : not sure if a screenshot in comment before is enough for you to diagnose the problem. At least in the plain SDK https://download.eclipse.org/eclipse/downloads/drops4/I20230118-0200/ Bytecode Outline view is included & functional: |
|
Could be again mismatch between Orbit's and maven bundle names: |
|
If the file it's complaining really does not exist on disk and the problem recurs if you try again, then probably you need to try to repair the bundle pool: https://www.eclipse.org/forums/index.php/m/1835944/?srch=repair+bundle+pool#msg_1835944 As mentioned in that thread, sometimes virus scanners keep the file from being moved from the download location to the pool... |
|
Was just in a meeting, let me poke things and then do a fresh Oomph run. |
|
Removing the entire .p2 directory worked 🥂 |
|
I've disabled the virus scanner from scanning my p2 folder and from scanning the folder containing all my installations. This helps make the installations faster too! |
Yea, I did that too for all of my system files, and the speedup is insane. PS: I'm using Linux :-) |
Done & verified with https://download.eclipse.org/eclipse/downloads/drops4/I20230118-0200
@LunarLaurus : If you still have interest to continue, please open a new ticket here with an appropriate title & description. I think the main part is done now => closing this issue. |
|
|
|
Looks like the preference page string is hard-coded in /org.eclipse.jdt.bcoview/plugin.xml. Can you please create a patch to fix it in the master and the R4_27_maintenance branches? |
|
I will do, but not today. I assume this is not urgent. |
|
You can create the patch tomorrow. It's required by IBM products team to pass 4.27 testing. |
I would try.
Shouldn't that be driven by IBM products team then? Ideally it would be found during code reviews, but once code is merged - at least short after merge, not few days before release. In our company we run all the Eclipse related tests we have every week against latest Eclipse build, so we usually detect regressions latest in one week after merge to master. |














Follow up on https://bugs.eclipse.org/bugs/show_bug.cgi?id=540436 / iloveeclipse/bytecodeoutline#8 .
One goal would be to add "Bytecode Outline" view to JDT UI.
Stretch goal would be to replace default class file editor (that shows bytecode for classes with missing source) with one crafted by BCO.
I had no time yet to work on this, but I think that should be an easy task now.
The main issue is to move the code from https://github.com/iloveeclipse/bytecodeoutline & setup maven build in JDT UI so the bundle is picked up by platform build.
The text was updated successfully, but these errors were encountered: