*/
void doMain(String[] args)
{
-
if (!Platform.isJS())
{
System.setSecurityManager(null);
}
+ if (args == null)
+ args = new String[] {};
+
// Move any new getdown-launcher-new.jar into place over old
// getdown-launcher.jar
String appdirString = System.getProperty("getdownappdir");
}
}
- if (!aparser.contains("nowebservicediscovery"))
+ boolean doWebServiceDiscovery = !aparser
+ .contains("nowebservicediscovery");
+ if (bootstrapArgs.contains(Arg.WEBSERVICEDISCOVERY))
+ doWebServiceDiscovery = bootstrapArgs
+ .getBoolean(Arg.WEBSERVICEDISCOVERY);
+ if (doWebServiceDiscovery)
{
desktop.startServiceDiscovery();
}