public static BrooklynProperties newDefault() { BrooklynProperties p = new BrooklynProperties().addEnvironmentVars().addSystemProperties(); File f = new File( p.getFirst(MutableMap.of("defaultIfNone", "/"), "user.home", "HOME") + File.separatorChar + ".brooklyn" + File.separatorChar + "brooklyn.properties"); if (f.exists()) p.addFrom(f); return p; }