Skip to content

Commit

Permalink
Embed Node.js Runtime eclipse-wildwebdeveloper#23
Browse files Browse the repository at this point in the history
Fixes: eclipse-wildwebdeveloper#23

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
  • Loading branch information
vrubezhny committed Jun 26, 2020
1 parent 84768f2 commit 12ceb42
Show file tree
Hide file tree
Showing 48 changed files with 410 additions and 40 deletions.
2 changes: 2 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.feature/.gitignore
@@ -0,0 +1,2 @@
target/
bin/
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.wildwebdeveloper.feature</name>
<name>org.eclipse.wildwebdeveloper.embedder.node.feature</name>
<comment></comment>
<projects>
</projects>
Expand Down
31 changes: 23 additions & 8 deletions org.eclipse.wildwebdeveloper.embedder.node.feature/feature.xml
Expand Up @@ -2,7 +2,7 @@
<feature
id="org.eclipse.wildwebdeveloper.embedder.node.feature"
label="%name"
version="0.10.1.qualifier"
version="0.1.0.qualifier"
provider-name="Eclipse Wild Web Developer project"
license-feature="org.eclipse.license"
license-feature-version="0.0.0">
Expand All @@ -27,23 +27,38 @@

<plugin
id="org.eclipse.wildwebdeveloper.embedder.node.linux"
os="linux"
ws="gtk"
arch="x86_64"
download-size="0"
install-size="0"
version="0.0.0"
os="linux"/>
version="0.0.0"/>

<plugin
id="org.eclipse.wildwebdeveloper.embedder.node.win32.x86"
os="win32"
ws="win32"
arch="x86"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.wildwebdeveloper.embedder.node.win"
id="org.eclipse.wildwebdeveloper.embedder.node.win32.x86"
os="win32"
ws="win32"
arch="x86_64"
download-size="0"
install-size="0"
version="0.0.0"
os="win32"/>
version="0.0.0"/>

<plugin
id="org.eclipse.wildwebdeveloper.embedder.node.macos"
os="macosx"
ws="cocoa"
arch="x86_64"
download-size="0"
install-size="0"
version="0.0.0"
os="osx"/>
version="0.0.0"/>

</feature>
@@ -0,0 +1 @@
target/
@@ -1,9 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Node.js for Linux
Bundle-Name: Node.js for Linux x64
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.linux
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
@@ -1 +1,4 @@
bin.includes = META-INF/
bin.includes = META-INF/,\
.,\
resources/,\
nodejs-info.properties
@@ -0,0 +1,2 @@
archiveFile = resources/node-v12.18.1-linux-x64.tar.xz
nodePath = node-v12.18.1-linux-x64/bin/node
30 changes: 30 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.linux/pom.xml
@@ -0,0 +1,30 @@
<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</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.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>
Binary file not shown.
@@ -0,0 +1 @@
target/
22 changes: 22 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.macos/.project
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.wildwebdeveloper.embedder.node.macos</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,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Node.js for MacOS x64
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.macos
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
@@ -0,0 +1,4 @@
bin.includes = META-INF/,\
.,\
resources/,\
nodejs-info.properties
@@ -0,0 +1,2 @@
archiveFile = resources/node-v12.18.1-darwin-x64.tar.xz
nodePath = node-v12.18.1-darwin-x64/bin/node
30 changes: 30 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.macos/pom.xml
@@ -0,0 +1,30 @@
<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</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.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>
Binary file not shown.
@@ -0,0 +1 @@
target/
22 changes: 22 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.win32.x86/.project
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.wildwebdeveloper.embedder.node.win32.x86</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,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Node.js for Windows x86
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.win32.x86
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.win32.x86
Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.ws=win32) (osgi.arch=x86))
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
@@ -0,0 +1,4 @@
bin.includes = META-INF/,\
.,\
resources/,\
nodejs-info.properties
@@ -0,0 +1,2 @@
archiveFile = resources/node-v12.18.1-win-x86.zip
nodePath = node-v12.18.1-win-x86/node.exe
30 changes: 30 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.win32.x86/pom.xml
@@ -0,0 +1,30 @@
<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.win32.x86</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.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<inherited>true</inherited>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</project>
Binary file not shown.
@@ -0,0 +1 @@
target/
22 changes: 22 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.win32.x86_64/.project
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.wildwebdeveloper.embedder.node.win32.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>
@@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Node.js for Windows x86_64
Bundle-SymbolicName: org.eclipse.wildwebdeveloper.embedder.node.win32.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.win32.x86_64
Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.ws=win32) (osgi.arch=x86_64))
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
@@ -0,0 +1,4 @@
bin.includes = META-INF/,\
.,\
resources/,\
nodejs-info.properties
@@ -0,0 +1,2 @@
archiveFile = resources/node-v12.18.1-win-x64.zip
nodePath = node-v12.18.1-win-x64/node.exe
30 changes: 30 additions & 0 deletions org.eclipse.wildwebdeveloper.embedder.node.win32.x86_64/pom.xml
@@ -0,0 +1,30 @@
<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.win32.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.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<inherited>true</inherited>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</project>
Binary file not shown.
3 changes: 2 additions & 1 deletion org.eclipse.wildwebdeveloper.embedder.node/.gitignore
@@ -1 +1,2 @@
/bin/
target/
bin/
Expand Up @@ -18,7 +18,7 @@
public class Activator extends Plugin {

// The plug-in ID
public static final String PLUGIN_ID = "org.eclipse.wildwebdeveloper.embedded.node"; //$NON-NLS-1$
public static final String PLUGIN_ID = "org.eclipse.wildwebdeveloper.embedder.node"; //$NON-NLS-1$

// The shared instance
private static Activator plugin;
Expand Down

0 comments on commit 12ceb42

Please sign in to comment.