Skip to content

Commit

Permalink
xmlSpace preserve
Browse files Browse the repository at this point in the history
  • Loading branch information
dashaun committed Jun 30, 2023
1 parent 6dc89a5 commit bd4d336
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,12 @@ public static Plugin zuluBuilder() {
image.addChild(buildpacks);

Xpp3Dom env = new Xpp3Dom("env");
Xpp3Dom xmlSpace = new Xpp3Dom("BPE_DELIM_JAVA_TOOL_OPTIONS");
xmlSpace.setAttribute("xml:space", "preserve");
xmlSpace.setValue(" ");
Xpp3Dom javaOptions = new Xpp3Dom("BPE_APPEND_JAVA_TOOL_OPTIONS");
javaOptions.setValue(" -Xlog:gc:gc.log");
javaOptions.setValue("-Xlog:gc:gc.log");
env.addChild(xmlSpace);
env.addChild(javaOptions);
image.addChild(env);

Expand Down

0 comments on commit bd4d336

Please sign in to comment.