Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-08-01 07:12:53 +0000
committerEike Stepper2013-08-01 07:12:53 +0000
commite3be13736fe6dfa0a94f3e3661662e12d76e3751 (patch)
treec48bb094c6b64ba7b8efa7934e09103735e1ed90
parent03ae17d6ea58200d5652dcbbd7d13990cf594e41 (diff)
downloadcdo-e3be13736fe6dfa0a94f3e3661662e12d76e3751.tar.gz
cdo-e3be13736fe6dfa0a94f3e3661662e12d76e3751.tar.xz
cdo-e3be13736fe6dfa0a94f3e3661662e12d76e3751.zip
Add setup tool
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.setup.product/src/org/eclipse/emf/cdo/releng/setup/product/Director.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup.product/src/org/eclipse/emf/cdo/releng/setup/product/Director.java b/plugins/org.eclipse.emf.cdo.releng.setup.product/src/org/eclipse/emf/cdo/releng/setup/product/Director.java
index 0077ac95a2..24853bfcbf 100644
--- a/plugins/org.eclipse.emf.cdo.releng.setup.product/src/org/eclipse/emf/cdo/releng/setup/product/Director.java
+++ b/plugins/org.eclipse.emf.cdo.releng.setup.product/src/org/eclipse/emf/cdo/releng/setup/product/Director.java
@@ -28,6 +28,8 @@ import org.eclipse.core.runtime.Platform;
import org.eclipse.equinox.internal.p2.director.app.DirectorApplication;
import org.eclipse.equinox.internal.p2.director.app.ILog;
+import java.io.File;
+
/**
* @author Eike Stepper
*/
@@ -90,9 +92,11 @@ public final class Director
String ws = Platform.getWS();
String arch = Platform.getOSArch();
+ String bundleAgent = new File(bundlePool, "p2").getAbsolutePath();
+
String[] args = { "-destination", destination, "-repository", repositories, "-installIU", ius, "-profile",
"SDKProfile", "-profileProperties", "org.eclipse.update.install.features=true", "-bundlepool", bundlePool,
- "-p2.os", os, "-p2.ws", ws, "-p2.arch", arch };
+ "-shared", bundleAgent, "-p2.os", os, "-p2.ws", ws, "-p2.arch", arch };
DirectorApplication app = new DirectorApplication();
app.setLog(new ILog()

Back to the top