String resourcesLocation;
{
String wsLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation().toPortableString();
resourcesLocation = wsLocation + "/gxt-resources.jar";
OutputStream zipOutputStream = new FileOutputStream(resourcesLocation);
ZipFileFactory zipFileFactory = new ZipFileFactory(zipOutputStream);
zipFileFactory.add("my/public", new File(m_project.getLocation().toPortableString()
+ "/war/ExtGWT"));
zipFileFactory.add(
"my/Resources.gwt.xml",
getSourceDQ(
"<!-- filler filler filler filler filler -->",
"<!-- filler filler filler filler filler -->",
"<module>",
" <stylesheet src='ExtGWT/css/gxt-all.css'/>",
"</module>"));
zipFileFactory.close();
}
// delete resources
{
IFolder folder = getFolder("war/ExtGWT");
assertTrue(folder.exists());