Migrate to Gradle bnd workspace (bnd 7.2.1) and target Java 1.8#1
Draft
Migrate to Gradle bnd workspace (bnd 7.2.1) and target Java 1.8#1
Conversation
Co-authored-by: peterkir <250545+peterkir@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create OSGi test plugin for bndtools.runtime.applaunch.eclipse4
Add OSGi test plugin for bndtools.runtime.applaunch.eclipse4
Mar 10, 2026
Co-authored-by: peterkir <250545+peterkir@users.noreply.github.com>
Copilot
AI
changed the title
Add OSGi test plugin for bndtools.runtime.applaunch.eclipse4
Add GitHub Actions CI workflow
Mar 11, 2026
Co-authored-by: peterkir <250545+peterkir@users.noreply.github.com>
Copilot
AI
changed the title
Add GitHub Actions CI workflow
Migrate to Gradle bnd workspace (bnd 7.2.1) and target Java 1.8
Mar 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the Ant + bnd 2.3 build system with the latest bnd Gradle workspace template (biz.aQute.bnd.workspace 7.2.1, Gradle 8.11 wrapper) and bumps all Java compilation targets from 1.5/1.6 → 1.8.
Gradle workspace scaffold
settings.gradle—pluginManagement {}+plugins {}pattern, matching the official bndtools/workspace templategradle.properties—bnd_version=7.2.1build.gradle— minimal root; subprojects are auto-discovered by the workspace plugin via theirbnd.bndfilesgradlew,gradlew.bat,gradle/wrapper/)Java 1.8 target
cnf/build.bnd— setsjavac.source: 1.8,javac.target: 1.8,-sources: true, and git metadata manifest headers.settings/org.eclipse.jdt.core.prefsfiles updated (compliance,source,targetPlatform→ 1.8)Repository modernisation
FixedIndexedRepoentries (fetched Eclipse OBR indices frompeterkir.github.ioeagerly at workspace init, breaking offline/CI builds) with aMavenBndRepositoryagainst Maven Centralcnf/ext/eclipse.mvnlistingorg.eclipse.platform:org.eclipse.equinox.app:1.3.400— the only Eclipse Platform bundle not already present incnf/localrepoSource compatibility fix (
eclipse3/Activator.java)The Java 11 compiler silently ignores generic
Signatureattributes in Java 1.4-era class files (major version 48). BothBundle.getHeaders()andBundleContext.getServiceReferences()on the bundledorg.eclipse.osgi-3.7.x.jarwere affected:Removed
cnf/build.xml,cnf/build-template.xml,cnf/build.propertiesbuild.xmlfilesCI
./gradlew build -x testOSGistep replaces four separateantinvocationstestOSGiexcluded: those tests require a full Eclipse Platform runtime not available in standard CIWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
bnd.bndtools.org/usr/bin/curl curl -s --connect-timeout 10 REDACTED(dns block)https://api.github.com/repos/bndtools/bnd/contents/biz.aQute.bnd.gradle/src/main/resources/usr/bin/curl curl -s --connect-timeout 10 REDACTED(http block)https://api.github.com/repos/bndtools/workspace/contents/usr/bin/curl curl -s --connect-timeout 10 REDACTED(http block)https://api.github.com/repos/bndtools/workspace/contents/cnf/usr/bin/curl curl -s --connect-timeout 10 REDACTED(http block)https://api.github.com/repos/bndtools/workspace/git/trees/master/usr/bin/curl curl -s --connect-timeout 10 REDACTED(http block)peterkir.github.io/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.