private void setBootstrapProperties(BootstrapProperties props, EmbeddedFileSystem fs) { props.setProperty("GlassFish_Platform", "Static"); if (fs != null) { String instanceRoot = fs.instanceRoot != null ? fs.instanceRoot.getAbsolutePath() : null; String installRoot = fs.installRoot != null ? fs.installRoot.getAbsolutePath() : instanceRoot; if (installRoot != null) { props.setInstallRoot(installRoot); } } }
private void setBootstrapProperties(BootstrapProperties props, EmbeddedFileSystem fs) { props.setProperty("GlassFish_Platform", "Static"); if (fs != null) { String instanceRoot = fs.instanceRoot != null ? fs.instanceRoot.getAbsolutePath() : null; String installRoot = fs.installRoot != null ? fs.installRoot.getAbsolutePath() : instanceRoot; if (installRoot != null) { props.setInstallRoot(installRoot); } } }