forked from eclipse-wildwebdeveloper/wildwebdeveloper
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Embed Node.js Runtime eclipse-wildwebdeveloper#23
Fixes: eclipse-wildwebdeveloper#23 Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
- Loading branch information
1 parent
efcb2a0
commit 30bd5ce
Showing
52 changed files
with
998 additions
and
72 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
org.eclipse.wildwebdeveloper.embedder.node.feature/.gitignore
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target/ | ||
bin/ |
23 changes: 23 additions & 0 deletions
23
org.eclipse.wildwebdeveloper.embedder.node.feature/.project
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.wildwebdeveloper.embedder.node.feature</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.pde.FeatureBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.eclipse.pde.FeatureNature</nature> | ||
</natures> | ||
</projectDescription> |
2 changes: 2 additions & 0 deletions
2
org.eclipse.wildwebdeveloper.embedder.node.feature/build.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin.includes = feature.xml,\ | ||
feature.properties |
4 changes: 4 additions & 0 deletions
4
org.eclipse.wildwebdeveloper.embedder.node.feature/feature.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name=Node.js embedder from Wild Web Developer | ||
description=Includes node.js and some code to manage and consume it from other bundles | ||
copyright=Copyright (c) 2020 Red Hat Inc. and others.\ | ||
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ |
58 changes: 58 additions & 0 deletions
58
org.eclipse.wildwebdeveloper.embedder.node.feature/feature.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature | ||
id="org.eclipse.wildwebdeveloper.embedder.node.feature" | ||
label="%name" | ||
version="0.1.0.qualifier" | ||
provider-name="Eclipse Wild Web Developer project" | ||
license-feature="org.eclipse.license" | ||
license-feature-version="0.0.0"> | ||
|
||
<description> | ||
%description | ||
</description> | ||
|
||
<copyright> | ||
%copyright | ||
</copyright> | ||
|
||
<license url="%licenseURL"> | ||
%license | ||
</license> | ||
|
||
<plugin | ||
id="org.eclipse.wildwebdeveloper.embedder.node" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0"/> | ||
|
||
<plugin | ||
id="org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64" | ||
os="linux" | ||
ws="gtk" | ||
arch="x86_64" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
fragment="true"/> | ||
|
||
<plugin | ||
id="org.eclipse.wildwebdeveloper.embedder.node.win32.x86_64" | ||
os="win32" | ||
ws="win32" | ||
arch="x86_64" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
fragment="true"/> | ||
|
||
<plugin | ||
id="org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64" | ||
os="macosx" | ||
ws="cocoa" | ||
arch="x86_64" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
fragment="true"/> | ||
|
||
</feature> |
49 changes: 49 additions & 0 deletions
49
org.eclipse.wildwebdeveloper.embedder.node.feature/pom.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>org.eclipse.wildwebdeveloper.embedder.node.feature</artifactId> | ||
<parent> | ||
<groupId>org.eclipse.wildwebdeveloper</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>0.5.0-SNAPSHOT</version> | ||
</parent> | ||
<packaging>eclipse-feature</packaging> | ||
<version>0.1.0-SNAPSHOT</version> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho.extras</groupId> | ||
<artifactId>tycho-source-feature-plugin</artifactId> | ||
<version>${tycho-version}</version> | ||
<executions> | ||
<execution> | ||
<id>source-feature</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>source-feature</goal> | ||
</goals> | ||
<configuration> | ||
<excludes> | ||
<plugin id="org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64"/> | ||
<plugin id="org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64"/> | ||
<plugin id="org.eclipse.wildwebdeveloper.embedder.node.win32.x86_64"/> | ||
</excludes> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-p2-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-p2-metadata</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>p2-metadata</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
2 changes: 2 additions & 0 deletions
2
org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64/.gitignore
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target/ | ||
resources/*.tar.* |
22 changes: 22 additions & 0 deletions
22
org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64/.project
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64</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> |
10 changes: 10 additions & 0 deletions
10
org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64/META-INF/MANIFEST.MF
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Node.js for Linux x64 | ||
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64 | ||
Bundle-Version: 0.1.0.qualifier | ||
Bundle-Vendor: Eclipse Wild Web Developer | ||
Fragment-Host: org.eclipse.wildwebdeveloper.embedder.node;bundle-version="0.1.0" | ||
Automatic-Module-Name: org.eclipse.wildwebdeveloper.embedder.node.linux | ||
Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64)) | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 |
4 changes: 4 additions & 0 deletions
4
org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64/build.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
resources/,\ | ||
nodejs-info.properties |
3 changes: 3 additions & 0 deletions
3
org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64/nodejs-info.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
archiveURL=https://nodejs.org/download/release/v12.16.1/node-v12.16.1-linux-x64.tar.gz | ||
archiveFile=resources/node-v12.16.1-linux-x64.tar.gz | ||
nodePath=node-v12.16.1-linux-x64/bin/node |
76 changes: 76 additions & 0 deletions
76
org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64/pom.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>org.eclipse.wildwebdeveloper.embedder.node.linux.x86_64</artifactId> | ||
<parent> | ||
<groupId>org.eclipse.wildwebdeveloper</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>0.5.0-SNAPSHOT</version> | ||
</parent> | ||
<packaging>eclipse-plugin</packaging> | ||
<version>0.1.0-SNAPSHOT</version> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>properties-maven-plugin</artifactId> | ||
<version>1.0.0</version> | ||
<executions> | ||
<execution> | ||
<phase>initialize</phase> | ||
<goals> | ||
<goal>read-project-properties</goal> | ||
</goals> | ||
<configuration> | ||
<files> | ||
<file>${project.basedir}/nodejs-info.properties</file> | ||
</files> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.googlecode.maven-download-plugin</groupId> | ||
<artifactId>download-maven-plugin</artifactId> | ||
<version>1.3.0</version> | ||
<executions> | ||
<execution> | ||
<id>fetch-node.js</id> | ||
<phase>generate-resources</phase> | ||
<goals> | ||
<goal>wget</goal> | ||
</goals> | ||
<configuration> | ||
<url>${archiveURL}</url> | ||
<unpack>false</unpack> | ||
<outputDirectory>${project.basedir}/resources</outputDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-packaging-plugin</artifactId> | ||
<configuration> | ||
<jgit.ignore> | ||
resources/*.tar.xz | ||
</jgit.ignore> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>target-platform-configuration</artifactId> | ||
<inherited>true</inherited> | ||
<configuration> | ||
<environments> | ||
<environment> | ||
<os>linux</os> | ||
<ws>gtk</ws> | ||
<arch>x86_64</arch> | ||
</environment> | ||
</environments> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
2 changes: 2 additions & 0 deletions
2
org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64/.gitignore
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target/ | ||
resources/*.tar.* |
22 changes: 22 additions & 0 deletions
22
org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64/.project
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64</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> |
10 changes: 10 additions & 0 deletions
10
org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64/META-INF/MANIFEST.MF
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Node.js for MacOS x64 | ||
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64 | ||
Bundle-Version: 0.1.0.qualifier | ||
Bundle-Vendor: Eclipse Wild Web Developer | ||
Fragment-Host: org.eclipse.wildwebdeveloper.embedder.node;bundle-version="0.1.0" | ||
Automatic-Module-Name: org.eclipse.wildwebdeveloper.embedder.node.macos | ||
Eclipse-PlatformFilter: (& (osgi.ws=cocoa) (osgi.os=macosx) (|(osgi.arch=x86_64)(osgi.arch=ppc))) | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 |
4 changes: 4 additions & 0 deletions
4
org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64/build.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
resources/,\ | ||
nodejs-info.properties |
3 changes: 3 additions & 0 deletions
3
org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64/nodejs-info.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
archiveURL=https://nodejs.org/download/release/v12.16.1/node-v12.16.1-darwin-x64.tar.gz | ||
archiveFile=resources/node-v12.16.1-darwin-x64.tar.gz | ||
nodePath=node-v12.16.1-darwin-x64/bin/node |
76 changes: 76 additions & 0 deletions
76
org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64/pom.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>org.eclipse.wildwebdeveloper.embedder.node.macos.x86_64</artifactId> | ||
<parent> | ||
<groupId>org.eclipse.wildwebdeveloper</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>0.5.0-SNAPSHOT</version> | ||
</parent> | ||
<packaging>eclipse-plugin</packaging> | ||
<version>0.1.0-SNAPSHOT</version> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>properties-maven-plugin</artifactId> | ||
<version>1.0.0</version> | ||
<executions> | ||
<execution> | ||
<phase>initialize</phase> | ||
<goals> | ||
<goal>read-project-properties</goal> | ||
</goals> | ||
<configuration> | ||
<files> | ||
<file>${project.basedir}/nodejs-info.properties</file> | ||
</files> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.googlecode.maven-download-plugin</groupId> | ||
<artifactId>download-maven-plugin</artifactId> | ||
<version>1.3.0</version> | ||
<executions> | ||
<execution> | ||
<id>fetch-node.js</id> | ||
<phase>generate-resources</phase> | ||
<goals> | ||
<goal>wget</goal> | ||
</goals> | ||
<configuration> | ||
<url>${archiveURL}</url> | ||
<unpack>false</unpack> | ||
<outputDirectory>${project.basedir}/resources</outputDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-packaging-plugin</artifactId> | ||
<configuration> | ||
<jgit.ignore> | ||
resources/*.tar.xz | ||
</jgit.ignore> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>target-platform-configuration</artifactId> | ||
<inherited>true</inherited> | ||
<configuration> | ||
<environments> | ||
<environment> | ||
<os>macosx</os> | ||
<ws>cocoa</ws> | ||
<arch>x86_64</arch> | ||
</environment> | ||
</environments> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
2 changes: 2 additions & 0 deletions
2
org.eclipse.wildwebdeveloper.embedder.node.win32.x86_64/.gitignore
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target/ | ||
resources/*.zip |
Oops, something went wrong.