Skip to content

Commit

Permalink
Add support for Windows on Arm64 (WoA).
Browse files Browse the repository at this point in the history
A new launcher fragment for WoA is added:
'org.eclipse.equinox.launcher.win32.win32.aarch64'

Various features are also updated to include the new fragment.

To build the Equinox launcher binaries for WoA:

On a WoA box, run the following commands:

cd features\org.eclipse.equinox.executable.feature\library\win32
ant clean build_eclipse -Dnative=win32.win32.aarch64 -Dos=win32 -Dws=win32 -Darch=aarch64

and the following launcher binaries for WoA are generated in the current
directory:

eclipse.exe
eclipse_11900.dll
eclipsec.exe

These WoA binaries need be manually moved over to the 'equinox.binaries'
repo, to their correct directories as followed:

org.eclipse.equinox.executable\bin\win32\win32\aarch64\eclipse.exe
org.eclipse.equinox.executable\bin\win32\win32\aarch64\eclipsec.exe
org.eclipse.equinox.launcher.win32.win32.aarch64\eclipse_11900.dll
  • Loading branch information
chirontt authored and HannesWell committed Mar 29, 2024
1 parent a6ad93f commit ba48051
Show file tree
Hide file tree
Showing 13 changed files with 311 additions and 153 deletions.
22 changes: 22 additions & 0 deletions bundles/org.eclipse.equinox.launcher.win32.win32.aarch64/.project
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.equinox.launcher.win32.win32.aarch64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
@@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.equinox.launcher.win32.win32.aarch64;singleton:=true
Bundle-Version: 1.2.900.qualifier
Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
Eclipse-PlatformFilter: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=aarch64))
Bundle-Localization: launcher.win32.win32.aarch64
Eclipse-BundleShape: dir
@@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>

<p>November 30, 2017</p>
<h3>License</h3>

<p>
The Eclipse Foundation makes available all content in this plug-in
(&quot;Content&quot;). Unless otherwise indicated below, the Content
is provided to you under the terms and conditions of the Eclipse
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.
</p>

<p>
If you did not receive this Content directly from the Eclipse
Foundation, the Content is being redistributed by another party
(&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the
Redistributor's license that was provided with the Content. If no such
license exists, contact the Redistributor. Unless otherwise indicated
below, the terms and conditions of the EPL still apply to any source
code in the Content and such source code may be obtained at <a
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
</p>

</body>
</html>
@@ -0,0 +1,25 @@
###############################################################################
# Copyright (c) 2023, 2024 Eclipse Foundation.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Tue Ton - initial API and implementation
###############################################################################
bin.includes = META-INF/,\
launcher.win32.win32.aarch64.properties,\
about.html

generateSourceBundle=false
binaryTag=v20240129-1338

# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
tycho.pomless.parent = ../../launcher-binary-parent
pom.model.property.os = win32
pom.model.property.ws = win32
pom.model.property.arch = aarch64
@@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2023, 2024 Eclipse Foundation.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Tue Ton - initial API and implementation
###############################################################################
pluginName = Equinox Launcher Win32 Arm64 Fragment
providerName = Eclipse.org - Equinox
Expand Up @@ -21,6 +21,9 @@ bin.includes = bin/,\
####Even though marked as custom, the content of the build.properties needs to be updated to ensure correctness of RCP app exported
#root.permissions.755=${launcherName}

root.win32.win32.aarch64=bin/win32/win32/aarch64
root.win32.win32.aarch64.permissions.755=launcher.exe

root.win32.win32.x86_64=bin/win32/win32/x86_64
root.win32.win32.x86_64.permissions.755=launcher.exe

Expand Down
7 changes: 7 additions & 0 deletions features/org.eclipse.equinox.executable.feature/feature.xml
Expand Up @@ -65,6 +65,13 @@
arch="x86_64"
version="0.0.0"/>

<plugin
id="org.eclipse.equinox.launcher.win32.win32.aarch64"
os="win32"
ws="win32"
arch="aarch64"
version="0.0.0"/>

<plugin
id="org.eclipse.equinox.launcher.win32.win32.x86_64"
os="win32"
Expand Down

0 comments on commit ba48051

Please sign in to comment.