Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
Fixed env-var case bug in Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-medeiros committed Dec 29, 2016
1 parent cf91dc2 commit 5dbf00e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions documentation/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[Latest features on top]

### (NextVersion)
* Fixed: Build Target's append environment variables might not replace variables correctly in Windows, due to case issues.
* Fixed stale validation message for location field in New Project Wizard.
* Fixed stale validation message for Build Command field in Build Targets property page and Launch Configurations dialog.
* Fixed editor NPE when opening files from a non-workspace VCS revision.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.util.Map.Entry;

import melnorme.lang.tooling.utils.ArgumentsParser;
import melnorme.lang.utils.EnvUtils;
import melnorme.lang.utils.ProcessUtils;
import melnorme.utilbox.collections.HashMap2;
import melnorme.utilbox.collections.Indexable;
Expand Down Expand Up @@ -106,7 +107,7 @@ public ProcessBuilder getProcessBuilder() {
environment.clear();
}
for (Entry<String, String> envVar : getEnvironmentVars()) {
environment.put(envVar.getKey(), envVar.getValue());
EnvUtils.putVarInEnvMap(environment, envVar.getKey(), envVar.getValue());
}

return pb;
Expand Down

0 comments on commit 5dbf00e

Please sign in to comment.