Skip to content

Commit b632cd0

Browse files
vrubezhnyakurtakov
authored andcommitted
Add nodejs embedder on Windows aarch64 #1728
Fixes: #1728
1 parent 99916f6 commit b632cd0

File tree

13 files changed

+151
-7
lines changed

13 files changed

+151
-7
lines changed

org.eclipse.wildwebdeveloper.embedder.node.feature/feature.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<feature
33
id="org.eclipse.wildwebdeveloper.embedder.node.feature"
44
label="%name"
5-
version="1.1.4.qualifier"
5+
version="1.2.0.qualifier"
66
provider-name="Eclipse Wild Web Developer project"
77
license-feature="org.eclipse.license"
88
license-feature-version="0.0.0">
@@ -56,8 +56,9 @@
5656
fragment="true"/>
5757

5858
<plugin
59-
id="org.eclipse.wildwebdeveloper.embedder.node.macos.aarch64"
60-
os="macosx"
59+
id="org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64"
60+
os="win32"
61+
ws="win32"
6162
arch="aarch64"
6263
download-size="0"
6364
install-size="0"
@@ -73,4 +74,13 @@
7374
version="0.0.0"
7475
fragment="true"/>
7576

77+
<plugin
78+
id="org.eclipse.wildwebdeveloper.embedder.node.macos.aarch64"
79+
os="macosx"
80+
arch="aarch64"
81+
download-size="0"
82+
install-size="0"
83+
version="0.0.0"
84+
fragment="true"/>
85+
7686
</feature>

org.eclipse.wildwebdeveloper.embedder.node.feature/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<version>1.0.0-SNAPSHOT</version>
88
</parent>
99
<packaging>eclipse-feature</packaging>
10-
<version>1.1.4-SNAPSHOT</version>
10+
<version>1.2.0-SNAPSHOT</version>
1111
<build>
1212
<plugins>
1313
<plugin>
@@ -28,6 +28,7 @@
2828
<plugin id="org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64"/>
2929
<plugin id="org.eclipse.wildwebdeveloper.embedder.node.macos.aarch64"/>
3030
<plugin id="org.eclipse.wildwebdeveloper.embedder.node.win32.x86_64"/>
31+
<plugin id="org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64"/>
3132
</excludes>
3233
</configuration>
3334
</execution>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
target/
2+
resources/*.zip
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.pde.ManifestBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.SchemaBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.pde.PluginNature</nature>
21+
</natures>
22+
</projectDescription>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=UTF-8
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Node.js for Windows AArch64
4+
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64
5+
Bundle-Version: 1.0.0.qualifier
6+
Bundle-Vendor: Eclipse Wild Web Developer
7+
Fragment-Host: org.eclipse.wildwebdeveloper.embedder.node;bundle-version="1.0.0"
8+
Automatic-Module-Name: org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64
9+
Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.ws=win32) (osgi.arch=aarch64))
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bin.includes = META-INF/,\
2+
.,\
3+
resources/,\
4+
nodejs-info.properties
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
archiveURL=https://nodejs.org/download/release/v22.11.0/node-v22.11.0-win-arm64.zip
2+
archiveFile = resources/node-v22.11.0-win-arm64.zip
3+
nodePath = node-v22.11.0-win-arm64/node.exe
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<artifactId>org.eclipse.wildwebdeveloper.embedder.node.win32.aarch64</artifactId>
4+
<parent>
5+
<groupId>org.eclipse.wildwebdeveloper</groupId>
6+
<artifactId>parent</artifactId>
7+
<version>1.0.0-SNAPSHOT</version>
8+
</parent>
9+
<packaging>eclipse-plugin</packaging>
10+
<version>1.0.0-SNAPSHOT</version>
11+
12+
<build>
13+
<plugins>
14+
<plugin>
15+
<groupId>org.apache.maven.plugins</groupId>
16+
<artifactId>maven-clean-plugin</artifactId>
17+
<configuration>
18+
<filesets>
19+
<fileset>
20+
<directory>resources</directory>
21+
</fileset>
22+
</filesets>
23+
</configuration>
24+
</plugin>
25+
<plugin>
26+
<groupId>org.codehaus.mojo</groupId>
27+
<artifactId>properties-maven-plugin</artifactId>
28+
<executions>
29+
<execution>
30+
<phase>initialize</phase>
31+
<goals>
32+
<goal>read-project-properties</goal>
33+
</goals>
34+
<configuration>
35+
<files>
36+
<file>${project.basedir}/nodejs-info.properties</file>
37+
</files>
38+
</configuration>
39+
</execution>
40+
</executions>
41+
</plugin>
42+
<plugin>
43+
<groupId>com.googlecode.maven-download-plugin</groupId>
44+
<artifactId>download-maven-plugin</artifactId>
45+
<executions>
46+
<execution>
47+
<id>fetch-node.js</id>
48+
<phase>generate-resources</phase>
49+
<goals>
50+
<goal>wget</goal>
51+
</goals>
52+
<configuration>
53+
<url>${archiveURL}</url>
54+
<unpack>false</unpack>
55+
<outputDirectory>${project.basedir}/resources</outputDirectory>
56+
</configuration>
57+
</execution>
58+
</executions>
59+
</plugin>
60+
<plugin>
61+
<groupId>org.eclipse.tycho</groupId>
62+
<artifactId>tycho-packaging-plugin</artifactId>
63+
<configuration>
64+
<jgit.ignore>
65+
resources/*.zip
66+
</jgit.ignore>
67+
</configuration>
68+
</plugin>
69+
<plugin>
70+
<groupId>org.eclipse.tycho</groupId>
71+
<artifactId>target-platform-configuration</artifactId>
72+
<inherited>true</inherited>
73+
<configuration>
74+
<environments>
75+
<environment>
76+
<os>win32</os>
77+
<ws>win32</ws>
78+
<arch>aarch64</arch>
79+
</environment>
80+
</environments>
81+
</configuration>
82+
</plugin>
83+
</plugins>
84+
</build>
85+
</project>

org.eclipse.wildwebdeveloper.feature/feature.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<feature
33
id="org.eclipse.wildwebdeveloper.feature"
44
label="%name"
5-
version="1.3.8.qualifier"
5+
version="1.3.9.qualifier"
66
provider-name="Eclipse Wild Web Developer project"
77
license-feature="org.eclipse.license"
88
license-feature-version="0.0.0">

0 commit comments

Comments
 (0)