Create my own patches for JDT #4648
Replies: 2 comments 4 replies
-
|
What we do to patch various bits for downporting, from the aggeragator repo: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator In the result there should be an update site at: This of course builds the whole SDK. But assuming your aggeragor repository is "frozen" and only the JDT code submodule changes, it should be enough. For using just the JDT repository, no idea. |
Beta Was this translation helpful? Give feedback.
-
The script for P-Builds was developed for the following context:
If this matches your use case, a patch feature might a suitable approach. I'm available to check what input / modifications for the build script might be needed. If, OTOH, the intention is to create a regular maintenance build, then a regular build might be more appropriate. Another question would be how much you need to actually build. If only JDT should be updated, then you problably don't need a full SDK build. The JDT feature plus a tiny extra repository project (to create the p2 update site) should suffice. Tycho experts will guide you if you select this path :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Tip
This question might be related to (or even be the exact same as?) @gayanper's #1146.
Hello all,
I am trying to patch JDT on my own so that I can deliver some (cherry-picked) commits or even open PRs to our development team a bit sooner than the upcoming release. For example, I would like to patch the JDT version that came out with Eclipse 4.37 and add the commits introduced by #4526.
I assume this should be fairly similar to the P-BUILDS that JDT uses to deliver patches to test the upcoming Java versions so I tried to do what's described in this README and started playing around with the
build.sh, but so far I had no luck, I can't generate a patch.My setup
What I've tried (in WSL)
git clone https://github.com/eclipse-jdt/eclipse.jdt.git -b BETA_JAVA25 cd eclipse.jdt/org.eclipse.jdt.releng/patchbuildbuild.shin that directory so that I can use it locally :set -euo pipefailat the beginning)This is the output:
output (build failed)
Questions
build.shcorrectly so that I can create my own P2-site with the patches I want?Thank you in advance!
cc @stephan-herrmann
Beta Was this translation helpful? Give feedback.
All reactions