From 1f990256d4a03b7cb79f8bb31c60cc071c9dcf55 Mon Sep 17 00:00:00 2001 From: david_williams <david_williams> Date: Sat, 29 May 2010 20:23:21 +0000 Subject: [PATCH] 314144 - need to add 'download.stats' to a few features/bundles --- .../org.eclipse.wtp.releng.tools.feature/feature.xml | 2 +- .../org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF | 2 +- plugins/org.eclipse.wtp.releng.tools/plugin.properties | 2 +- plugins/org.eclipse.wtp.releng.tools/plugin.xml | 10 ++++++---- .../{AddMirrorsURL.java => AddRepoProperties.java} | 2 +- ...lication.java => AddRepoPropertiesApplication.java} | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) rename plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/{AddMirrorsURL.java => AddRepoProperties.java} (99%) rename plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/{AddMirrorsURLApplication.java => AddRepoPropertiesApplication.java} (83%) diff --git a/features/org.eclipse.wtp.releng.tools.feature/feature.xml b/features/org.eclipse.wtp.releng.tools.feature/feature.xml index e9a3505a8..e117e415d 100644 --- a/features/org.eclipse.wtp.releng.tools.feature/feature.xml +++ b/features/org.eclipse.wtp.releng.tools.feature/feature.xml @@ -2,7 +2,7 @@ <feature id="org.eclipse.wtp.releng.tools.feature" label="%featureName" - version="1.1.2.qualifier" + version="1.1.3.qualifier" provider-name="%providerName"> <description> diff --git a/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF b/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF index a79decb93..03b1091af 100644 --- a/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.wtp.releng.tools/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Bundle-Name: %Bundle-Name.0 Bundle-SymbolicName: org.eclipse.wtp.releng.tools;singleton:=true Bundle-Activator: org.eclipse.wtp.releng.tools.Activator Bundle-ActivationPolicy: lazy -Bundle-Version: 1.1.2.qualifier +Bundle-Version: 1.1.3.qualifier Require-Bundle: org.eclipse.core.runtime, org.apache.ant;bundle-version="[1.6.5,2.0.0)", org.eclipse.equinox.p2.publisher, diff --git a/plugins/org.eclipse.wtp.releng.tools/plugin.properties b/plugins/org.eclipse.wtp.releng.tools/plugin.properties index 6252714b0..9040d0f94 100644 --- a/plugins/org.eclipse.wtp.releng.tools/plugin.properties +++ b/plugins/org.eclipse.wtp.releng.tools/plugin.properties @@ -1,3 +1,3 @@ # properties file for org.eclipse.wtp.releng.tools Bundle-Name.0 = Releng Tools -application.name = Add Mirror URL \ No newline at end of file +application.name = Add Repo Properties \ No newline at end of file diff --git a/plugins/org.eclipse.wtp.releng.tools/plugin.xml b/plugins/org.eclipse.wtp.releng.tools/plugin.xml index b21b087f7..3f13fefa6 100644 --- a/plugins/org.eclipse.wtp.releng.tools/plugin.xml +++ b/plugins/org.eclipse.wtp.releng.tools/plugin.xml @@ -10,11 +10,13 @@ <!-- Tasks --> <extension point="org.eclipse.ant.core.antTasks"> + <!-- not ready <antTask library="wtpRelengTools.jar" - name="addMirrorsURL" - class="org.eclipse.wtp.releng.tools.AddMirrorsURL"> + name="addRepoProperties" + class="org.eclipse.wtp.releng.tools.AddRepoProperties"> </antTask> + --> <antTask library="wtpRelengTools.jar" name="summarizeResults" @@ -42,7 +44,7 @@ </antTask> </extension> <extension - id="addmirrorsurl" + id="addRepoProperties" name="%application.name" point="org.eclipse.core.runtime.applications"> <application @@ -50,7 +52,7 @@ thread="any" visible="true"> <run - class="org.eclipse.wtp.releng.tools.AddMirrorsURLApplication"> + class="org.eclipse.wtp.releng.tools.AddRepoPropertiesApplication"> </run> </application> diff --git a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddMirrorsURL.java b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddRepoProperties.java similarity index 99% rename from plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddMirrorsURL.java rename to plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddRepoProperties.java index 93a1a17ca..b6a9cf1b0 100644 --- a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddMirrorsURL.java +++ b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddRepoProperties.java @@ -23,7 +23,7 @@ import org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor; import org.eclipse.equinox.p2.repository.artifact.IArtifactRepository; import org.eclipse.equinox.p2.repository.artifact.spi.ArtifactDescriptor; -public class AddMirrorsURL extends Task { +public class AddRepoProperties extends Task { private static final String IREPOSITORY_P2_STATS_URI = "p2.statsURI"; private static final String ARTIFACT_REPO_DIRECTORY = "artifactRepoDirectory"; diff --git a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddMirrorsURLApplication.java b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddRepoPropertiesApplication.java similarity index 83% rename from plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddMirrorsURLApplication.java rename to plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddRepoPropertiesApplication.java index d959022a0..7cfef7a79 100644 --- a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddMirrorsURLApplication.java +++ b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/AddRepoPropertiesApplication.java @@ -6,12 +6,12 @@ import org.eclipse.equinox.app.IApplication; import org.eclipse.equinox.app.IApplicationContext; import org.eclipse.equinox.p2.core.ProvisionException; -public class AddMirrorsURLApplication implements IApplication { +public class AddRepoPropertiesApplication implements IApplication { public Object start(IApplicationContext context) throws Exception { Object result = null; try { - new AddMirrorsURL().rewriteMirrorURL(); + new AddRepoProperties().rewriteMirrorURL(); result = IApplication.EXIT_OK; } catch (ProvisionException e) { -- GitLab