Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2009-04-24 06:37:43 +0000
committerDoug Schaefer2009-04-24 06:37:43 +0000
commit3cf528d8410e7cb9530347a2c0a9e695f52fee32 (patch)
treee99523c5ce4d543557c7b1f6dadb15766f9e52ef /p2/org.eclipse.cdt.p2.generator
parent3b02a1a7f87ea1c1d1ba6cc9f52cc172bf6f3ba8 (diff)
downloadorg.eclipse.cdt-3cf528d8410e7cb9530347a2c0a9e695f52fee32.tar.gz
org.eclipse.cdt-3cf528d8410e7cb9530347a2c0a9e695f52fee32.tar.xz
org.eclipse.cdt-3cf528d8410e7cb9530347a2c0a9e695f52fee32.zip
Now I got it working...
Diffstat (limited to 'p2/org.eclipse.cdt.p2.generator')
-rw-r--r--p2/org.eclipse.cdt.p2.generator/src/org/eclipse/cdt/p2/generator/MinGWGenerator.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/p2/org.eclipse.cdt.p2.generator/src/org/eclipse/cdt/p2/generator/MinGWGenerator.java b/p2/org.eclipse.cdt.p2.generator/src/org/eclipse/cdt/p2/generator/MinGWGenerator.java
index ab90fca62b..6ff8fa56e7 100644
--- a/p2/org.eclipse.cdt.p2.generator/src/org/eclipse/cdt/p2/generator/MinGWGenerator.java
+++ b/p2/org.eclipse.cdt.p2.generator/src/org/eclipse/cdt/p2/generator/MinGWGenerator.java
@@ -61,11 +61,13 @@ public class MinGWGenerator implements IApplication {
Activator.getDefault().getBundle("org.eclipse.equinox.p2.exemplarysetup").start(Bundle.START_TRANSIENT); //$NON-NLS-1$
- File repoDir = new File("C:\\Wascana\\repo");
+ File repoDir = new File("E:\\Wascana\\repo");
+ repoDir.mkdirs();
+
new File(repoDir, "artifacts.xml").delete();
new File(repoDir, "content.xml").delete();
- URI repoLocation = new File("C:\\Wascana\\repo").toURI();
+ URI repoLocation = repoDir.toURI();
IMetadataRepositoryManager metaRepoMgr = Activator.getDefault().getService(IMetadataRepositoryManager.class);
IArtifactRepositoryManager artiRepoMgr = Activator.getDefault().getService(IArtifactRepositoryManager.class);
@@ -269,7 +271,7 @@ public class MinGWGenerator implements IApplication {
}
tpdata.put("install", cmd);
- tpdata.put("install", "cleanup" + cmd);
+ tpdata.put("uninstall", "cleanup" + cmd);
iuDesc.addTouchpointData(MetadataFactory.createTouchpointData(tpdata));
IArtifactKey artiKey = PublisherHelper.createBinaryArtifactKey(id, version);

Back to the top