From 5a9a827cec5e66074ef63a24e77d29ca3b21edc7 Mon Sep 17 00:00:00 2001 From: Victor Rubezhny Date: Tue, 19 Nov 2024 04:36:05 +0100 Subject: [PATCH] Add nodejs embedder on Windows aarch64 #1728 Fixes: #1728 --- .../feature.xml | 16 +++- .../pom.xml | 3 +- .../.gitignore | 2 + .../.project | 22 +++++ .../org.eclipse.core.resources.prefs | 2 + .../META-INF/MANIFEST.MF | 9 ++ .../build.properties | 4 + .../nodejs-info.properties | 3 + .../pom.xml | 85 +++++++++++++++++++ .../feature.xml | 2 +- org.eclipse.wildwebdeveloper.feature/pom.xml | 2 +- pom.xml | 6 ++ repository/pom.xml | 2 +- 13 files changed, 151 insertions(+), 7 deletions(-) create mode 100644 org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.gitignore create mode 100644 org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.project create mode 100644 org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.settings/org.eclipse.core.resources.prefs create mode 100644 org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/META-INF/MANIFEST.MF create mode 100644 org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/build.properties create mode 100644 org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/nodejs-info.properties create mode 100644 org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/pom.xml diff --git a/org.eclipse.wildwebdeveloper.embedder.node.feature/feature.xml b/org.eclipse.wildwebdeveloper.embedder.node.feature/feature.xml index 844f02ad3e..caf0c1b873 100644 --- a/org.eclipse.wildwebdeveloper.embedder.node.feature/feature.xml +++ b/org.eclipse.wildwebdeveloper.embedder.node.feature/feature.xml @@ -2,7 +2,7 @@ @@ -56,8 +56,9 @@ fragment="true"/> + + diff --git a/org.eclipse.wildwebdeveloper.embedder.node.feature/pom.xml b/org.eclipse.wildwebdeveloper.embedder.node.feature/pom.xml index 1a8024a267..fdf665d639 100644 --- a/org.eclipse.wildwebdeveloper.embedder.node.feature/pom.xml +++ b/org.eclipse.wildwebdeveloper.embedder.node.feature/pom.xml @@ -7,7 +7,7 @@ 1.0.0-SNAPSHOT eclipse-feature - 1.1.4-SNAPSHOT + 1.2.0-SNAPSHOT @@ -28,6 +28,7 @@ + diff --git a/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.gitignore b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.gitignore new file mode 100644 index 0000000000..f6787d06b7 --- /dev/null +++ b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.gitignore @@ -0,0 +1,2 @@ +target/ +resources/*.zip diff --git a/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.project b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.project new file mode 100644 index 0000000000..c4d57418ee --- /dev/null +++ b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.project @@ -0,0 +1,22 @@ + + + org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64 + + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + + diff --git a/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.settings/org.eclipse.core.resources.prefs b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/META-INF/MANIFEST.MF b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..9b7c3ced1a --- /dev/null +++ b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/META-INF/MANIFEST.MF @@ -0,0 +1,9 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Node.js for Windows AArch64 +Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64 +Bundle-Version: 1.0.0.qualifier +Bundle-Vendor: Eclipse Wild Web Developer +Fragment-Host: org.eclipse.wildwebdeveloper.embedder.node;bundle-version="1.0.0" +Automatic-Module-Name: org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64 +Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.ws=win32) (osgi.arch=aarch64)) diff --git a/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/build.properties b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/build.properties new file mode 100644 index 0000000000..186c7dccfd --- /dev/null +++ b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/build.properties @@ -0,0 +1,4 @@ +bin.includes = META-INF/,\ + .,\ + resources/,\ + nodejs-info.properties \ No newline at end of file diff --git a/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/nodejs-info.properties b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/nodejs-info.properties new file mode 100644 index 0000000000..1646e018fb --- /dev/null +++ b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/nodejs-info.properties @@ -0,0 +1,3 @@ +archiveURL=https://nodejs.org/download/release/v22.11.0/node-v22.11.0-win-arm64.zip +archiveFile = resources/node-v22.11.0-win-arm64.zip +nodePath = node-v22.11.0-win-arm64/node.exe diff --git a/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/pom.xml b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/pom.xml new file mode 100644 index 0000000000..a2ae9d8c04 --- /dev/null +++ b/org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64/pom.xml @@ -0,0 +1,85 @@ + + 4.0.0 + org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64 + + org.eclipse.wildwebdeveloper + parent + 1.0.0-SNAPSHOT + + eclipse-plugin + 1.0.0-SNAPSHOT + + + + + org.apache.maven.plugins + maven-clean-plugin + + + + resources + + + + + + org.codehaus.mojo + properties-maven-plugin + + + initialize + + read-project-properties + + + + ${project.basedir}/nodejs-info.properties + + + + + + + com.googlecode.maven-download-plugin + download-maven-plugin + + + fetch-node.js + generate-resources + + wget + + + ${archiveURL} + false + ${project.basedir}/resources + + + + + + org.eclipse.tycho + tycho-packaging-plugin + + + resources/*.zip + + + + + org.eclipse.tycho + target-platform-configuration + true + + + + win32 + win32 + aarch64 + + + + + + + diff --git a/org.eclipse.wildwebdeveloper.feature/feature.xml b/org.eclipse.wildwebdeveloper.feature/feature.xml index c9c8fa53df..ec17f95ce2 100644 --- a/org.eclipse.wildwebdeveloper.feature/feature.xml +++ b/org.eclipse.wildwebdeveloper.feature/feature.xml @@ -2,7 +2,7 @@ diff --git a/org.eclipse.wildwebdeveloper.feature/pom.xml b/org.eclipse.wildwebdeveloper.feature/pom.xml index 5c39ff4c6e..84884967a7 100644 --- a/org.eclipse.wildwebdeveloper.feature/pom.xml +++ b/org.eclipse.wildwebdeveloper.feature/pom.xml @@ -7,7 +7,7 @@ 1.0.0-SNAPSHOT eclipse-feature - 1.3.8-SNAPSHOT + 1.3.9-SNAPSHOT diff --git a/pom.xml b/pom.xml index ee84e61794..b5329a38a2 100644 --- a/pom.xml +++ b/pom.xml @@ -20,6 +20,7 @@ org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64 org.eclipse.wildwebdeveloper.embedder.node.macos.aarch64 org.eclipse.wildwebdeveloper.embedder.node.win32.x86_64 + org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64 org.eclipse.wildwebdeveloper.embedder.node org.eclipse.wildwebdeveloper org.eclipse.wildwebdeveloper.xml @@ -161,6 +162,11 @@ win32 x86_64 + + win32 + win32 + aarch64 + linux gtk diff --git a/repository/pom.xml b/repository/pom.xml index 238b5e3332..e82da5cf91 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -7,7 +7,7 @@ 1.0.0-SNAPSHOT eclipse-repository - 1.3.8-SNAPSHOT + 1.3.9-SNAPSHOT