settings.mkdir();
}
_wgaRemoteServerStore = new BeanListStore<WGARemoteServer>(settings,STORAGE_KEY_WGA_REMOTESERVERS, WGARemoteServer.class.getClassLoader());
Bundle bundle = Platform.getBundle(PLUGIN_ID);
Path path = new Path("resources/tomcat");
URL tomcatURL = FileLocator.find(bundle, path, null);
File catalinaHome = new File(FileLocator.toFileURL(tomcatURL).getPath());
TomcatUtils.getInstance().init(catalinaHome, new File(catalinaHome, "conf"));
path = new Path("resources/wga/defaultPlugins");
URL defaultPluginsURL = FileLocator.find(bundle, path, null);
_wgaDefaultPluginsDir = new File (FileLocator.toFileURL(defaultPluginsURL).getPath());
_wgaDeploymentManager = new WGADeploymentManager();
_wgaDeploymentManager.init(new File(getStateLocation().toFile(), "wgadeployments"));