Update: now that adding support for Windows on Arm64 is under way for various Eclipse repositories, here's the central TODO list to keep track of various tasks done and/or under way:
I'm trying to build the Eclipse SDKs for Windows 11 on Arm64 (WoA), using this repo. I hope this is the right repo to start with, which is the umbrella repo for all others.
The environment triplet I use for it is win32/win32/aarch64, following the existing win32/win32/x86_64 triplet as a guide.
After re-compiling many *.exe and *.dll native files for WoA in various repos (from existing C code mostly unchanged), and adding many new win32.aarch64 folders (most of them are duplicates of the existing win32.x86_64 ones), I've managed to build successfully this aggregator repo, and got the following new zip files in eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/target/products (in addition to other supporting os/arch zip files there):
org.eclipse.platform.ide-win32.win32.aarch64.zip
org.eclipse.sdk.ide-win32.win32.aarch64.zip
After unzipping the org.eclipse.sdk.ide-win32.win32.aarch64.zip file, I discover that, in its eclipse/plugins folder, the following 6 bundles are missing:
org.eclipse.core.filesystem.win32.aarch64_<version>.jar
org.eclipse.core.net.win32.aarch64.source_<version>.jar
org.eclipse.core.net.win32.aarch64_<version>.jar
org.eclipse.core.resources.win32.aarch64_<version>.jar
org.eclipse.equinox.security.win32.aarch64.source_<version>.jar
org.eclipse.equinox.security.win32.aarch64_<version>.jar
When compared to the org.eclipse.sdk.ide-win32.win32.x86_64.zip distribution, those bundles (of relevant x86_64 arch) do exist there. So somehow they got missing from the final zip file for aarch64 during the build.
The missing bundles are crucial for the Eclipse SDK to properly start up, but I have no idea how they got missed out from the build artifacts. I think I must have skipped over some crucial file(s) somewhere which produced this missing result.
Is there a file somewhere in the repo to indicate which bundles to be included (in the plugins folder of the zip file) for each SDK?
PS. The missing bundles are actually produced in their own Maven modules during the build, in the eclipse.platform & equinox submodules. Once I manually add 4 of them (the other 2 are source bundles) to the plugins folder, and also add their missing entries to the configuration\org.eclipse.equinox.simpleconfigurator\bundles.info file, starting it up with eclipse.exe works nicely!
PPS. Especially and crucially for WoA, eclipse.exe can only start up after I add the -Dorg.osgi.framework.os.name=win32,win entry to the eclipse.ini file, to help it resolve the critical com.sun.jna bundle at runtime.
Update: now that adding support for Windows on Arm64 is under way for various Eclipse repositories, here's the central TODO list to keep track of various tasks done and/or under way:
eclipse.platform.swtsubmoduleequinoxsubmodulert.equinox.p2submoduleeclipse.platformsubmoduleeclipse.platform.uisubmoduleeclipse.platform.releng.aggregatorI'm trying to build the Eclipse SDKs for Windows 11 on Arm64 (WoA), using this repo. I hope this is the right repo to start with, which is the umbrella repo for all others.
The environment triplet I use for it is
win32/win32/aarch64, following the existingwin32/win32/x86_64triplet as a guide.After re-compiling many *.exe and *.dll native files for WoA in various repos (from existing C code mostly unchanged), and adding many new
win32.aarch64folders (most of them are duplicates of the existing win32.x86_64 ones), I've managed to build successfully this aggregator repo, and got the following new zip files ineclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/target/products(in addition to other supporting os/arch zip files there):After unzipping the
org.eclipse.sdk.ide-win32.win32.aarch64.zipfile, I discover that, in itseclipse/pluginsfolder, the following 6 bundles are missing:When compared to the
org.eclipse.sdk.ide-win32.win32.x86_64.zipdistribution, those bundles (of relevantx86_64arch) do exist there. So somehow they got missing from the final zip file foraarch64during the build.The missing bundles are crucial for the Eclipse SDK to properly start up, but I have no idea how they got missed out from the build artifacts. I think I must have skipped over some crucial file(s) somewhere which produced this missing result.
Is there a file somewhere in the repo to indicate which bundles to be included (in the
pluginsfolder of the zip file) for each SDK?PS. The missing bundles are actually produced in their own Maven modules during the build, in the
eclipse.platform&equinoxsubmodules. Once I manually add 4 of them (the other 2 are source bundles) to thepluginsfolder, and also add their missing entries to theconfiguration\org.eclipse.equinox.simpleconfigurator\bundles.infofile, starting it up witheclipse.exeworks nicely!PPS. Especially and crucially for WoA,
eclipse.execan only start up after I add the-Dorg.osgi.framework.os.name=win32,winentry to theeclipse.inifile, to help it resolve the criticalcom.sun.jnabundle at runtime.