Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Merge branch '1.0.5' into master
Browse files Browse the repository at this point in the history
# Conflicts:
#	pom.xml
#	src/main/nbm/manifest.mf
  • Loading branch information
ses1112 committed Jan 24, 2022
2 parents a96b14e + 2deb18c commit 67e3210
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,16 @@
<artifactId>org-netbeans-modules-lsp-client</artifactId>
<version>${netbeans.version}</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor</artifactId>
<version>${netbeans.version}</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-lib</artifactId>
<version>${netbeans.version}</version>
</dependency>

<!-- Commons-IO -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ public CompletableFuture<Integer> executeAsync(@NotNull INodeJSEnvironment pEnv,
builder.withVar(entry.getKey(), entry.getValue());
}

// add all system properties
System.getProperties()
// dots are not allowed as key => replacing with underscore
.forEach((pKey, pValue) -> builder.withVar(((String) pKey).replaceAll("\\.", "_").toUpperCase(), (String) pValue));

builder.withWorkingDirectory(workingDir)
.withOutputStream(pDefaultOut)
.withErrorStream(pErrorOut == null ? pDefaultOut : pErrorOut)
Expand Down
5 changes: 5 additions & 0 deletions src/main/nbm/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ OpenIDE-Module-Long-Description: NodeJS & TypeScript Support for ADITO Designer
<ul>
<li>Added JavaScript- and TypeScript-Client for Language Server Protocol</li>
</ul>
<p style="font-weight: bold;">v1.0.5</p>
<p style="margin-left: 10px; font-weight: bold;">MINOR</p>
<ul>
<li>Add Java system properties to NodeJS execution process as environment variables</li>
</ul>
<p style="font-weight: bold;">v1.0.4</p>
<p style="margin-left: 10px; font-weight: bold;">BUGFIXES</p>
<ul>
Expand Down

0 comments on commit 67e3210

Please sign in to comment.