Skip to content

Commit

Permalink
Fix server.env file processing (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking authored Oct 6, 2022
1 parent 0cf92f5 commit cc3b505
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -879,10 +879,12 @@ abstract class AbstractServerTask extends AbstractLibertyTask {
//Skip comments
if(!line.startsWith("#")) {
String[] keyValue = line.split("=", 2);
String key = keyValue[0];
String value = keyValue[1];
if (keyValue.length == 2) {
String key = keyValue[0];
String value = keyValue[1];

serverEnvProps.put(key,value);
serverEnvProps.put(key,value);
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
WLP_SKIP_MAXPERMSIZE=true
# Add comment line and blank line to test implementation

WLP_SKIP_MAXPERMSIZE=true

0 comments on commit cc3b505

Please sign in to comment.