Home » Eclipse Projects » Eclipse Platform » Need help building the eclipse platform runtime (platform.ui, .ua)
Need help building the eclipse platform runtime (platform.ui, .ua) [message #1811194] |
Wed, 28 August 2019 10:07  |
Eclipse User |
|
|
|
I need to build org.eclipse.ui and org.eclipse.ua. I want to fix a bug there and I had some success building these projects from the command line with Maven. However, to do debugging work, I want to work on the code inside of Eclipse, and this is where I have problems where my previous experience with Eclipse does not serve much any more. I hope to get over these problems with your help. Let me quickly describe from which angle I am coming here:
For the JCrypTool project, we have a long-standing problem with Eclipse 3.x that prevents the help system (context help) from working correctly. Specifically, the context help (i.e. "F1" window) contains links to the TOC help that result in an error when clicked as opposed to opening the online help. We wish to fix this bug, and for this, we apparently need to debug and fix it in the projects eclipse.platform.ui and eclipse.platform.ua (where some internal classes reside).
Our issue is here: https://github.com/jcryptool/crypto/issues/153#issuecomment-517289295
Building it is one step, integrating the result into our existing project would be the next. I would go with selectively specifying the target platform of our product - all bundles as before (from the eclipse central repo) but the bundles that I fixed, which I would include from the local Maven build or self-hosted -- until such changes end up upstream (ideally). For that however, the first step would be to actually make the changes and I want to have a working Eclipse development environment for that which is where I got stuck:
What I did was:
- Set up a dedicated eclipse instance (Eclipse for RCP/RAP development 2019-06) and workspace
- Follow these steps https://wiki.eclipse.org/Platform/How_to_Contribute#.5B4.5D_Prepare_API_tooling until [4] API Tooling.
- I have used the integration build I20190812-1800 as API baseline and I have left the Target Platform set as "Running Platform"
- In that whole process, the "Team Project Set" http://git.eclipse.org/c/platform/eclipse.platform.ui.git/plain/releng/org.eclipse.ui.releng/platformUiProjectsGerrit.psf was imported and resulted in these repositories being cloned and imported into the workspace:
- eclipse.platform.releng
- eclipse.platform.runtime
- eclipse.platform.ui (which I want to develop on, and also, later, on eclipse.platform.ua)
Now, much of it looks good. However, some packages cannot be resolved and I am at loss here on how to fix this. In between I went ahead and imported all projects from the repositories that had not been imported during the "Team Project Set" import process, and some errors disappeared. Now, primarily, these packages are the issue:
- org.eclipse.swt.internal.cocoa
- org.eclipse.swt.ole
The attached screenshot shows some of the errors that are at the receiving end of those packages missing.
I have then tried to also import into my workspace a clone of the org.eclipse.swt project in the hope to get the missing dependencies there. However, to no avail: a lot of compilation errors pop up, including weird project structure issues (packages not declared in the correct source path). From here, I do not know how to continue.
Any help is much appreciated. I also wish to learn in that process about the platform, so enlighten me about obscure details or problems with my approach if you feel like it ;) Thanks!
[Updated on: Wed, 28 August 2019 10:24] by Moderator
|
|
| | | | | |
Goto Forum:
Current Time: Thu May 08 00:57:33 EDT 2025
Powered by FUDForum. Page generated in 0.05498 seconds
|