MCPcopy Create free account
hub / github.com/diffplug/goomph / main

Method main

src/test/java/com/diffplug/gradle/p2/P2Test.java:25–35  ·  view source on GitHub ↗
(String[] unused)

Source from the content-addressed store, hash-verified

23
24public class P2Test {
25 public static void main(String[] unused) throws Exception {
26 File dir = new File("C:\\Users\\ntwigg\\Documents\\DiffPlugDev\\DiffPlug\\targetplatform\\build\\p2asmaven\\__p2__");
27 FileMisc.cleanDir(dir);
28
29 P2Model model = new P2Model();
30 model.addRepo(EclipseRelease.official("4.5.2").updateSite());
31 model.addArtifactRepo(GoomphCacheLocations.bundlePool());
32 model.addFeature("org.eclipse.equinox.executable");
33 model.addFeature("org.eclipse.rcp.configuration");
34 model.mirrorApp(dir).runUsingBootstrapper();
35 }
36}

Callers

nothing calls this directly

Calls 9

cleanDirMethod · 0.95
addRepoMethod · 0.95
officialMethod · 0.95
addArtifactRepoMethod · 0.95
bundlePoolMethod · 0.95
addFeatureMethod · 0.95
mirrorAppMethod · 0.95
updateSiteMethod · 0.80
runUsingBootstrapperMethod · 0.45

Tested by

no test coverage detected