Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 252711 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java (+18 lines)
Lines 882-885 Link Here
882
		assertResourceFile(f1, "feature.temp.folder/plugins/P1_1.0.0/@dot.bin.log");
882
		assertResourceFile(f1, "feature.temp.folder/plugins/P1_1.0.0/@dot.bin.log");
883
		assertResourceFile(f1, "feature.temp.folder/plugins/P2_1.0.0/@dot.bin.log");
883
		assertResourceFile(f1, "feature.temp.folder/plugins/P2_1.0.0/@dot.bin.log");
884
	}
884
	}
885
886
	public void testBug252711() throws Exception {
887
		IFolder buildFolder = newTest("252711");
888
889
		IFolder aBinary = Utils.createFolder(buildFolder, "base/plugins/a_2.0.0");
890
		Utils.generateBundleManifest(aBinary, "a; singleton:=true", "2.0.0", null);
891
892
		IFolder aSource = Utils.createFolder(buildFolder, "plugins/a");
893
		Utils.generateBundle(aSource, "a; singleton:=true");
894
895
		Utils.generateFeature(buildFolder, "f", null, new String[] {"a;version=\"1.0.0\""});
896
		
897
		Properties buildProperties = BuildConfiguration.getScriptGenerationProperties(buildFolder, "feature", "f");
898
		buildProperties.put("baseLocation", buildFolder.getFolder("base").getLocation().toOSString());
899
		generateScripts(buildFolder, buildProperties);
900
		
901
		
902
	}
885
}
903
}

Return to bug 252711