diff options
87 files changed, 0 insertions, 6052 deletions
diff --git a/core/org.eclipse.ptp.core.tests/.classpath b/core/org.eclipse.ptp.core.tests/.classpath deleted file mode 100644 index 16d067f28..000000000 --- a/core/org.eclipse.ptp.core.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/core/org.eclipse.ptp.core.tests/.project b/core/org.eclipse.ptp.core.tests/.project deleted file mode 100644 index 6c8add166..000000000 --- a/core/org.eclipse.ptp.core.tests/.project +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.core.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> - </natures> -</projectDescription> diff --git a/core/org.eclipse.ptp.core.tests/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.ptp.core.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index d83075895..000000000 --- a/core/org.eclipse.ptp.core.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,74 +0,0 @@ -#Sat Nov 07 12:58:41 EST 2009 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore -org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/core/org.eclipse.ptp.core.tests/META-INF/MANIFEST.MF b/core/org.eclipse.ptp.core.tests/META-INF/MANIFEST.MF deleted file mode 100644 index b6a89ebe4..000000000 --- a/core/org.eclipse.ptp.core.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.ptp.core.tests;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Vendor: %pluginProvider -Require-Bundle: org.eclipse.core.runtime, - org.junit, - org.eclipse.ptp.core -Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/core/org.eclipse.ptp.core.tests/build.properties b/core/org.eclipse.ptp.core.tests/build.properties deleted file mode 100644 index 34d2e4d2d..000000000 --- a/core/org.eclipse.ptp.core.tests/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/core/org.eclipse.ptp.core.tests/plugin.properties b/core/org.eclipse.ptp.core.tests/plugin.properties deleted file mode 100644 index b3cca65d5..000000000 --- a/core/org.eclipse.ptp.core.tests/plugin.properties +++ /dev/null @@ -1,13 +0,0 @@ -############################################################################### -# Copyright (c) 2010 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### - -pluginName=PTP Core Tests -pluginProvider=Eclipse PTP diff --git a/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/AttributeIndexSetTests.java b/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/AttributeIndexSetTests.java deleted file mode 100644 index cbfdb7b27..000000000 --- a/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/AttributeIndexSetTests.java +++ /dev/null @@ -1,402 +0,0 @@ -/******************************************************************************* -* Copyright (c) 2010 Los Alamos National Laboratory and others. -* All rights reserved. This program and the accompanying materials -* are made available under the terms of the Eclipse Public License v1.0 -* which accompanies this distribution, and is available at -* http://www.eclipse.org/legal/epl-v10.html -* -* Contributors: -* LANL - Initial API and implementation -*******************************************************************************/ - -package org.eclipse.ptp.core.tests; - -import java.util.Arrays; -import java.util.BitSet; -import java.util.HashSet; -import java.util.Set; - -import junit.framework.TestCase; - -import org.eclipse.ptp.core.attributes.IllegalValueException; -import org.eclipse.ptp.core.attributes.IntegerAttribute; -import org.eclipse.ptp.core.attributes.IntegerAttributeDefinition; -import org.eclipse.ptp.core.elements.attributes.AttributeIndexSet; - - -/** - * @author Randy M. Roberts - * - */ -public class AttributeIndexSetTests extends TestCase { - - private static void assertComplete(AttributeIndexSet<IntegerAttribute> indexSet) { - BitSet expected = indexSet.getIndexSet(); - BitSet actual = new BitSet(); - for (IntegerAttribute i1 : indexSet.getAttributes()) { - BitSet bs1 = indexSet.getIndexSet(i1); - actual.or(bs1); - } - assertEquals(expected, actual); - } - - private static void assertDisjoint(AttributeIndexSet<IntegerAttribute> indexSet) { - for (IntegerAttribute i1 : indexSet.getAttributes()) { - BitSet bs1 = indexSet.getIndexSet(i1); - for (IntegerAttribute i2 : indexSet.getAttributes()) { - if (i1.equals(i2)) { - continue; - } - BitSet bs2 = indexSet.getIndexSet(i2); - boolean intersects = bs1.intersects(bs2); - if (intersects) { - fail(bs1 + " and " + bs2 + " are not disjoint index sets"); - } - } - } - } - - /** - * @param bitset - * @param is - */ - private static void set(BitSet bitset, int[] is) { - for (int i : is) { - bitset.set(i); - } - } - - private IntegerAttributeDefinition definition; - - private AttributeIndexSet<IntegerAttribute> testingIndexSet; - - @Override - public void setUp() { - try { - testingIndexSet = new AttributeIndexSet<IntegerAttribute>(); - final BitSet indices = new BitSet(); - definition = new IntegerAttributeDefinition("xxx", "name", "description", true, -42); - IntegerAttribute attr; - - attr = definition.create(1); - indices.set(0, 5); - indices.set(100, 105); - testingIndexSet.setIndicesOfAttribute(attr, indices); - - attr = definition.create(3); - indices.clear(); - indices.set(200, 205); - indices.set(300, 305); - testingIndexSet.setIndicesOfAttribute(attr, indices); - - attr = definition.create(5); - indices.clear(); - set(indices, new int[]{1,101,201,301,401}); - testingIndexSet.setIndicesOfAttribute(attr, indices); - - } catch (IllegalValueException e) { - fail(e.getMessage()); - } - } - - @Override - public void tearDown() { - testingIndexSet = null; - definition = null; - } - - public void testAndAttrs() throws IllegalValueException { - IntegerAttribute attr = definition.create(1); - BitSet newIndices = new BitSet(); - newIndices.set(99, 103); - testingIndexSet.addIndicesToAttribute(attr, newIndices); - - assertDisjoint(testingIndexSet); - assertComplete(testingIndexSet); - - BitSet expected; - BitSet actual; - - expected = new BitSet(); - set(expected, new int[]{0, 1, 2, 3, 4, 99, 100, 101, 102, 103, 104, 200, 201, 202, 203, 204, 300, 301, 302, 303, 304, 401}); - actual = testingIndexSet.getIndexSet(); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{0, 2, 3, 4, 99, 100, 101, 102, 103, 104}); - actual = getIndexSet(testingIndexSet, 1); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{200, 202, 203, 204, 300, 302, 303, 304}); - actual = getIndexSet(testingIndexSet, 3); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{1,201,301,401}); - actual = getIndexSet(testingIndexSet, 5); - assertEquals(expected, actual); - } - - public void testClearIndices() throws IllegalValueException { - BitSet clearedSet = new BitSet(); - set(clearedSet, new int[]{2,102,202,302,402,1000}); - testingIndexSet.clearIndices(clearedSet); - - assertDisjoint(testingIndexSet); - assertComplete(testingIndexSet); - - BitSet expected; - BitSet actual; - - expected = new BitSet(); - set(expected, new int[]{0, 1, 3, 4, 100, 101, 103, 104, 200, 201, 203, 204, 300, 301, 303, 304, 401}); - actual = testingIndexSet.getIndexSet(); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{0, 3, 4, 100, 103, 104}); - actual = getIndexSet(testingIndexSet, 1); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{200, 203, 204, 300, 303, 304}); - actual = getIndexSet(testingIndexSet, 3); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{1, 101, 201, 301, 401}); - actual = getIndexSet(testingIndexSet, 5); - assertEquals(expected, actual); - - // let's do another clearAttributes - clearedSet.clear(); - clearedSet.set(200, 400); - testingIndexSet.clearIndices(clearedSet); - - assertDisjoint(testingIndexSet); - assertComplete(testingIndexSet); - - expected.clear(); - set(expected, new int[]{0, 1, 3, 4, 100, 101, 103, 104, 401}); - actual = testingIndexSet.getIndexSet(); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{0, 3, 4, 100, 103, 104}); - actual = getIndexSet(testingIndexSet, 1); - assertEquals(expected, actual); - - actual = getIndexSet(testingIndexSet, 3); - assertTrue(actual.isEmpty()); - - expected = new BitSet(); - set(expected, new int[]{1, 101, 401}); - actual = getIndexSet(testingIndexSet, 5); - assertEquals(expected, actual); - - Set<IntegerAttribute> actualAttrs = testingIndexSet.getAttributes(); - Set<IntegerAttribute> expectedAttrs = new HashSet<IntegerAttribute>( - Arrays.asList(definition.create(1), definition.create(5))); - assertEquals(expectedAttrs, actualAttrs); - } - - public void testClearIndicesForAttribute() throws IllegalValueException { - IntegerAttribute attr = definition.create(1); - BitSet clearedSet = new BitSet(); - // 300 is not part of attr 1's set, so it shouldn't be cleared - set(clearedSet, new int[]{3, 4, 100, 102, 300, 1000}); - testingIndexSet.clearIndicesForAttribute(attr, clearedSet); - - assertDisjoint(testingIndexSet); - assertComplete(testingIndexSet); - - BitSet expected; - BitSet actual; - - expected = new BitSet(); - // notice 300 is still here - set(expected, new int[]{0, 1, 2, 101, 103, 104, 200, 201, 202, 203, 204, 300, 301, 302, 303, 304, 401}); - actual = testingIndexSet.getIndexSet(); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{0, 2, 103, 104}); - actual = getIndexSet(testingIndexSet, 1); - assertEquals(expected, actual); - - actual = getIndexSet(testingIndexSet, 2); - assertTrue(actual.isEmpty()); - - expected = new BitSet(); - // notice 300 is still here - set(expected, new int[]{200, 202, 203, 204, 300, 302, 303, 304}); - actual = getIndexSet(testingIndexSet, 3); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{1,101,201,301,401}); - actual = getIndexSet(testingIndexSet, 5); - assertEquals(expected, actual); - } - - public void testGetAttributes() throws IllegalValueException { - Set<IntegerAttribute> expected = new HashSet<IntegerAttribute>(); - expected.add(definition.create(1)); - expected.add(definition.create(3)); - expected.add(definition.create(5)); - Set<IntegerAttribute> actual = testingIndexSet.getAttributes(); - assertEquals(expected, actual); - } - - public void testGetAtttribute() throws IllegalValueException { - IntegerAttribute ia; - ia = testingIndexSet.getAttribute(1); - assertEquals(definition.create(5), ia); - - ia = testingIndexSet.getAttribute(2); - assertEquals(definition.create(1), ia); - - ia = testingIndexSet.getAttribute(500); - assertNull(ia); - } - - public void testSetAttrsSubset() throws IllegalValueException { - IntegerAttribute attr = definition.create(1); - BitSet newIndices = new BitSet(); - newIndices.set(101, 103); - testingIndexSet.setIndicesOfAttribute(attr, newIndices); - - assertDisjoint(testingIndexSet); - assertComplete(testingIndexSet); - - BitSet expected; - BitSet actual; - - expected = new BitSet(); - set(expected, new int[]{1, 101, 102, 200, 201, 202, 203, 204, 300, 301, 302, 303, 304, 401}); - actual = testingIndexSet.getIndexSet(); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{101, 102}); - actual = getIndexSet(testingIndexSet, 1); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{200, 202, 203, 204, 300, 302, 303, 304}); - actual = getIndexSet(testingIndexSet, 3); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{1,201,301,401}); - actual = getIndexSet(testingIndexSet, 5); - assertEquals(expected, actual); - } - - public void testSubset() throws IllegalValueException { - final BitSet expected = new BitSet(); - BitSet actual; - - BitSet subSet = new BitSet(); - subSet.set(3, 5); - subSet.set(103, 201); - AttributeIndexSet<IntegerAttribute> results = testingIndexSet.getSubset(subSet); - - assertDisjoint(results); - assertComplete(results); - - set(expected, new int[]{3,4,103,104,200}); - actual = results.getIndexSet(); - assertEquals(expected, actual); - - expected.clear(); - set(expected, new int[]{3,4,103,104}); - actual = getIndexSet(results, 1); - assertEquals(expected, actual); - - expected.clear(); - set(expected, new int[]{200}); - actual = getIndexSet(results, 3); - assertEquals(expected, actual); - - actual = getIndexSet(results, 5); - assertTrue(actual.isEmpty()); - } - - public void testTotalClearAttribute() throws IllegalValueException { - IntegerAttribute attr = definition.create(1); - testingIndexSet.clearAttribute(attr); - - assertDisjoint(testingIndexSet); - assertComplete(testingIndexSet); - - BitSet expected; - BitSet actual; - - expected = new BitSet(); - set(expected, new int[]{1, 101, 200, 201, 202, 203, 204, 300, 301, 302, 303, 304, 401}); - actual = testingIndexSet.getIndexSet(); - assertEquals(expected, actual); - - actual = getIndexSet(testingIndexSet, 1); - assertTrue(actual.isEmpty()); - - expected = new BitSet(); - set(expected, new int[]{200, 202, 203, 204, 300, 302, 303, 304}); - actual = getIndexSet(testingIndexSet, 3); - assertEquals(expected, actual); - - expected = new BitSet(); - set(expected, new int[]{1,101,201,301,401}); - actual = getIndexSet(testingIndexSet, 5); - assertEquals(expected, actual); - } - - public void testValIndexSetupByAttr1() throws IllegalValueException { - BitSet expected = new BitSet(); - set(expected, new int[]{0, 2, 3, 4, 100, 102, 103, 104}); - - BitSet actual = getIndexSet(testingIndexSet, 1); - assertEquals(expected, actual); - } - - public void testValIndexSetupByAttr2() throws IllegalValueException { - BitSet actual = getIndexSet(testingIndexSet, 2); - assertTrue(actual.isEmpty()); - } - - public void testValIndexSetupByAttr3() throws IllegalValueException { - BitSet expected = new BitSet(); - set(expected, new int[]{200, 202, 203, 204, 300, 302, 303, 304}); - - BitSet actual = getIndexSet(testingIndexSet, 3); - assertEquals(expected, actual); - } - - public void testValIndexSetupByAttr5() throws IllegalValueException { - BitSet expected = new BitSet(); - set(expected, new int[]{1,101,201,301,401}); - - BitSet actual = getIndexSet(testingIndexSet, 5); - assertEquals(expected, actual); - } - - public void testValIndexSetupIsComplete() { - assertComplete(testingIndexSet); - } - - public void testValIndexSetupIsDisjoint() { - assertDisjoint(testingIndexSet); - } - - public void testValIndexSetupTotalBitSet() { - BitSet expected = new BitSet(); - set(expected, new int[]{0, 1, 2, 3, 4, 100, 101, 102, 103, 104, 200, 201, 202, 203, 204, 300, 301, 302, 303, 304, 401}); - assertEquals(expected, testingIndexSet.getIndexSet()); - } - - private BitSet getIndexSet(AttributeIndexSet<IntegerAttribute> indexSet, int value) throws IllegalValueException { - return indexSet.getIndexSet(definition.create(value)); - } -} diff --git a/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/RangeSetTests.java b/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/RangeSetTests.java deleted file mode 100644 index 0ba5cd0f6..000000000 --- a/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/RangeSetTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM - Initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.core.tests; - -import junit.framework.TestCase; - -public class RangeSetTests extends TestCase { - - /* (non-Javadoc) - * @see junit.framework.TestCase#setUp() - */ - @Override - protected void setUp() throws Exception { - - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#tearDown() - */ - @Override - protected void tearDown() throws Exception { - - } - -} diff --git a/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/suite/CoreTestSuite.java b/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/suite/CoreTestSuite.java deleted file mode 100644 index 0a285a97f..000000000 --- a/core/org.eclipse.ptp.core.tests/src/org/eclipse/ptp/core/tests/suite/CoreTestSuite.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM - Initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.core.tests.suite; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.eclipse.ptp.core.tests.AttributeIndexSetTests; -import org.eclipse.ptp.core.tests.RangeSetTests; - -public class CoreTestSuite { - public static Test suite() { - TestSuite suite = new TestSuite(CoreTestSuite.class.getName()); - - suite.addTestSuite(RangeSetTests.class); - suite.addTestSuite(AttributeIndexSetTests.class); - return suite; - } - -} diff --git a/core/org.eclipse.ptp.remote.core.tests/.classpath b/core/org.eclipse.ptp.remote.core.tests/.classpath deleted file mode 100644 index 64c5e31b7..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/core/org.eclipse.ptp.remote.core.tests/.project b/core/org.eclipse.ptp.remote.core.tests/.project deleted file mode 100644 index 9f0f2fe0f..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/.project +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.remote.core.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> - </natures> -</projectDescription> diff --git a/core/org.eclipse.ptp.remote.core.tests/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.ptp.remote.core.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index d83075895..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,74 +0,0 @@ -#Sat Nov 07 12:58:41 EST 2009 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore -org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/core/org.eclipse.ptp.remote.core.tests/META-INF/MANIFEST.MF b/core/org.eclipse.ptp.remote.core.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 53747a1e7..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.ptp.remote.core.tests;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Vendor: %pluginProvider -Require-Bundle: org.eclipse.core.runtime, - org.junit, - org.eclipse.ptp.remote.core;bundle-version="3.0.0", - org.eclipse.ptp.remote.ui;bundle-version="3.0.0", - com.jcraft.jsch;bundle-version="0.1.41", - org.eclipse.core.filesystem;bundle-version="1.2.0", - org.eclipse.ptp.remotetools.core;bundle-version="2.1.9", - org.eclipse.ptp.remote.remotetools.core;bundle-version="3.0.0", - org.eclipse.ptp.remotetools.environment.core;bundle-version="1.3.3" -Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/core/org.eclipse.ptp.remote.core.tests/build.properties b/core/org.eclipse.ptp.remote.core.tests/build.properties deleted file mode 100644 index 34d2e4d2d..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/core/org.eclipse.ptp.remote.core.tests/plugin.properties b/core/org.eclipse.ptp.remote.core.tests/plugin.properties deleted file mode 100755 index c8959a9e9..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/plugin.properties +++ /dev/null @@ -1,13 +0,0 @@ -############################################################################### -# Copyright (c) 2009 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### - -pluginName=PTP Remote Core Tests -pluginProvider=Eclipse PTP diff --git a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/FileStoreTests.java b/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/FileStoreTests.java deleted file mode 100644 index 3e1a5eb36..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/FileStoreTests.java +++ /dev/null @@ -1,148 +0,0 @@ -package org.eclipse.ptp.core.tests; - -import java.io.BufferedReader; -import java.io.BufferedWriter; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.OutputStream; -import java.io.OutputStreamWriter; -import java.net.URI; -import java.util.HashMap; -import java.util.Map; - -import junit.framework.TestCase; - -import org.eclipse.core.filesystem.EFS; -import org.eclipse.core.filesystem.IFileStore; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.ptp.remote.core.IRemoteConnection; -import org.eclipse.ptp.remote.core.IRemoteConnectionManager; -import org.eclipse.ptp.remote.core.IRemoteFileManager; -import org.eclipse.ptp.remote.core.IRemoteServices; -import org.eclipse.ptp.remote.core.PTPRemoteCorePlugin; -import org.eclipse.ptp.remote.core.exception.RemoteConnectionException; - -public class FileStoreTests extends TestCase { - private static final String CONNECTION_NAME = "test_connection"; - private static final String USERNAME = "user"; - private static final String PASSWORD = "password"; - private static final String HOST = "localhost"; - private static final String PATH1 = "/home/user/sftp_test"; - private static final String PATH2 = PATH1 + "/.file1"; - private static final String TEST_STRING = "a string containing fairly *()(*&^$%## random text"; - - private IRemoteServices fRemoteServices; - private IRemoteConnection fRemoteConnection; - private IRemoteFileManager fRemoteFileManager; - - public void testFileStore() { - URI path1Uri = fRemoteFileManager.toURI(PATH1); - URI path2Uri = fRemoteFileManager.toURI(PATH2); - assertNotNull(path1Uri); - assertNotNull(path2Uri); - - IFileStore store1 = null; - IFileStore store2 = null; - - try { - store1 = EFS.getStore(path1Uri); - store2 = EFS.getStore(path2Uri); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - - for (int i = 0; i < 5; i++) { - assertFalse(store1.fetchInfo().exists()); - try { - store1.mkdir(EFS.NONE, null); - } catch (CoreException e) { - e.getLocalizedMessage(); - } - assertTrue(store1.fetchInfo().exists()); - - assertFalse(store2.fetchInfo().exists()); - try { - OutputStream stream = store2.openOutputStream(EFS.NONE, null); - assertNotNull(stream); - BufferedWriter buf = new BufferedWriter(new OutputStreamWriter(stream)); - buf.write(TEST_STRING); - buf.close(); - } catch (Exception e) { - e.getLocalizedMessage(); - } - assertTrue(store2.fetchInfo().exists()); - - try { - InputStream stream = store2.openInputStream(EFS.NONE, null); - assertNotNull(stream); - BufferedReader buf = new BufferedReader(new InputStreamReader(stream)); - String line = buf.readLine().trim(); - assertTrue(line.equals(TEST_STRING)); - buf.close(); - } catch (Exception e) { - e.getLocalizedMessage(); - } - - try { - store2.delete(EFS.NONE, null); - } catch (CoreException e) { - e.getLocalizedMessage(); - } - assertFalse(store2.fetchInfo().exists()); - - try { - store1.delete(EFS.NONE, null); - } catch (CoreException e) { - e.getLocalizedMessage(); - } - assertFalse(store1.fetchInfo().exists()); - } - - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#setUp() - */ - @Override - protected void setUp() throws Exception { - fRemoteServices = PTPRemoteCorePlugin.getDefault().getRemoteServices("org.eclipse.ptp.remote.RemoteTools"); - assertNotNull(fRemoteServices); - - IRemoteConnectionManager connMgr = fRemoteServices.getConnectionManager(); - assertNotNull(connMgr); - - Map<String, String> map = new HashMap<String, String>(); - map.put("ptp.localhost-selection", "false"); - map.put("ptp.login-username", USERNAME); - map.put("ptp.login-password", PASSWORD); - map.put("ptp.connection-address", HOST); - map.put("ptp.connection-port", "22"); - map.put("ptp.key-path", ""); - map.put("ptp.key-passphrase", ""); - map.put("ptp.is-passwd-auth", "true"); - map.put("ptp.connection-timeout", "5"); - map.put("ptp.cipher-type", "default"); - - try { - fRemoteConnection = connMgr.newConnection(CONNECTION_NAME, map); - } catch (RemoteConnectionException e) { - fail(e.getLocalizedMessage()); - } - assertNotNull(fRemoteConnection); - - fRemoteFileManager = fRemoteServices.getFileManager(fRemoteConnection); - assertNotNull(fRemoteFileManager); - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#tearDown() - */ - @Override - protected void tearDown() throws Exception { - fRemoteConnection.close(); - IRemoteConnectionManager connMgr = fRemoteServices.getConnectionManager(); - assertNotNull(connMgr); - connMgr.removeConnection(fRemoteConnection); - } - -} diff --git a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/RemoteConnectionTests.java b/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/RemoteConnectionTests.java deleted file mode 100644 index 4d116d0f5..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/RemoteConnectionTests.java +++ /dev/null @@ -1,164 +0,0 @@ -package org.eclipse.ptp.core.tests; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.OutputStream; -import java.util.HashMap; -import java.util.Map; - -import junit.framework.TestCase; - -import org.eclipse.core.filesystem.EFS; -import org.eclipse.core.filesystem.IFileInfo; -import org.eclipse.core.filesystem.IFileStore; -import org.eclipse.core.filesystem.IFileSystem; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.Path; -import org.eclipse.ptp.remote.core.IRemoteConnection; -import org.eclipse.ptp.remote.core.IRemoteConnectionManager; -import org.eclipse.ptp.remote.core.IRemoteFileManager; -import org.eclipse.ptp.remote.core.IRemoteProcess; -import org.eclipse.ptp.remote.core.IRemoteProcessBuilder; -import org.eclipse.ptp.remote.core.IRemoteServices; -import org.eclipse.ptp.remote.core.PTPRemoteCorePlugin; -import org.eclipse.ptp.remote.core.exception.RemoteConnectionException; - -public class RemoteConnectionTests extends TestCase { - private static final String USERNAME = "user"; //$NON-NLS-1$ - private static final String PASSWORD = "password"; //$NON-NLS-1$ - private static final String HOST = "localhost"; //$NON-NLS-1$ - - private IRemoteServices fRemoteServices; - private IRemoteConnection fRemoteConnection; - - public void testEnv() { - String var = fRemoteConnection.getEnv("SHELL"); //$NON-NLS-1$ - assertNotNull(var); - - var = fRemoteConnection.getEnv("FOO_VAR_SHOULD_NOT_BE_DEFINED"); //$NON-NLS-1$ - assertNull(var); - - assertNotNull(fRemoteConnection.getProperty("os.name")); //$NON-NLS-1$ - assertNotNull(fRemoteConnection.getProperty("os.arch")); //$NON-NLS-1$ - assertNotNull(fRemoteConnection.getProperty("os.version")); //$NON-NLS-1$ - assertNotNull(fRemoteConnection.getProperty("file.separator")); //$NON-NLS-1$ - assertNotNull(fRemoteConnection.getProperty("path.separator")); //$NON-NLS-1$ - assertNotNull(fRemoteConnection.getProperty("line.separator")); //$NON-NLS-1$ - - IRemoteProcessBuilder builder = fRemoteServices.getProcessBuilder(fRemoteConnection, "env"); //$NON-NLS-1$ - builder.environment().put("FOO", "BAR"); //$NON-NLS-1$ //$NON-NLS-2$ - builder.environment().put("USER", "FOO"); //$NON-NLS-1$ //$NON-NLS-2$ - try { - IRemoteProcess proc = builder.start(); - BufferedReader stdout = new BufferedReader(new InputStreamReader(proc.getInputStream())); - String line; - while ((line = stdout.readLine()) != null) { - String[] kv = line.trim().split("="); //$NON-NLS-1$ - if (kv.length == 2) { - if (kv[0].equals("FOO")) assertTrue(kv[1].equals("BAR")); //$NON-NLS-1$ //$NON-NLS-2$ - if (kv[0].equals("USER")) assertTrue(kv[1].equals("FOO")); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - } catch (IOException e) { - fail(e.getLocalizedMessage()); - } - } - - public void testCopy() { - final IRemoteFileManager fileManager = fRemoteServices.getFileManager(fRemoteConnection); - - final IFileSystem fileSystem = EFS.getLocalFileSystem(); - final IFileStore srcFileStore = fileSystem.getStore(new Path("/tmp/log_src.txt")); - final IFileStore dstFileStore = fileManager.getResource("/tmp").getChild("log_dst.txt"); - try { - srcFileStore.delete(EFS.NONE, new NullProgressMonitor()); - dstFileStore.delete(EFS.NONE, new NullProgressMonitor()); - OutputStream stream = srcFileStore.openOutputStream(EFS.NONE, new NullProgressMonitor()); - stream.write(new byte[]{'f', 'o', 'o', '\n'}); - stream.close(); - srcFileStore.copy(dstFileStore, EFS.NONE, new NullProgressMonitor()); - } catch (CoreException e) { - fail(e.getLocalizedMessage()); - } catch (IOException e) { - fail(e.getLocalizedMessage()); - } - IFileInfo srcInfo = srcFileStore.fetchInfo(); - IFileInfo dstInfo = dstFileStore.fetchInfo(); - assertTrue(dstInfo.exists()); - assertTrue(srcInfo.getLength() == dstInfo.getLength()); - try { - InputStream stream = dstFileStore.openInputStream(EFS.NONE, new NullProgressMonitor()); - byte[] b = new byte[4]; - stream.read(b); - stream.close(); - assertTrue(b[0] == 'f'); - assertTrue(b[1] == 'o'); - assertTrue(b[2] == 'o'); - assertTrue(b[3] == '\n'); - } catch (CoreException e) { - fail(e.getLocalizedMessage()); - } catch (IOException e) { - fail(e.getLocalizedMessage()); - } - -// try { -// srcFileStore.delete(EFS.NONE, new NullProgressMonitor()); -// dstFileStore.delete(EFS.NONE, new NullProgressMonitor()); -// } catch (CoreException e) { -// fail(); -// } - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#setUp() - */ - @Override - protected void setUp() throws Exception { - fRemoteServices = PTPRemoteCorePlugin.getDefault().getRemoteServices("org.eclipse.ptp.remote.RemoteTools"); //$NON-NLS-1$ - assertNotNull(fRemoteServices); - - IRemoteConnectionManager connMgr = fRemoteServices.getConnectionManager(); - assertNotNull(connMgr); - - Map<String, String> map = new HashMap<String, String>(); - map.put("ptp.localhost-selection", "false"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.login-username", USERNAME); //$NON-NLS-1$ - map.put("ptp.login-password", PASSWORD); //$NON-NLS-1$ - map.put("ptp.connection-address", HOST); //$NON-NLS-1$ - map.put("ptp.connection-port", "22"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.key-path", ""); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.key-passphrase", ""); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.is-passwd-auth", "true"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.connection-timeout", "5"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.cipher-type", "default"); //$NON-NLS-1$ //$NON-NLS-2$ - - try { - fRemoteConnection = connMgr.newConnection("test_connection", map); //$NON-NLS-1$ - } catch (RemoteConnectionException e) { - fail(e.getLocalizedMessage()); - } - assertNotNull(fRemoteConnection); - - try { - fRemoteConnection.open(new NullProgressMonitor()); - } catch (RemoteConnectionException e) { - fail(e.getLocalizedMessage()); - } - assertTrue(fRemoteConnection.isOpen()); - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#tearDown() - */ - @Override - protected void tearDown() throws Exception { - fRemoteConnection.close(); - IRemoteConnectionManager connMgr = fRemoteServices.getConnectionManager(); - assertNotNull(connMgr); - connMgr.removeConnection(fRemoteConnection); - } - -} diff --git a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/RemoteToolsTests.java b/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/RemoteToolsTests.java deleted file mode 100644 index ad393fa03..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/RemoteToolsTests.java +++ /dev/null @@ -1,185 +0,0 @@ -package org.eclipse.ptp.core.tests; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.util.HashMap; -import java.util.Map; - -import junit.framework.TestCase; - -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.ptp.remote.remotetools.core.RemoteToolsServices; -import org.eclipse.ptp.remote.remotetools.core.environment.PTPTargetControl; -import org.eclipse.ptp.remotetools.core.IRemoteExecutionManager; -import org.eclipse.ptp.remotetools.core.IRemoteExecutionTools; -import org.eclipse.ptp.remotetools.core.IRemoteScript; -import org.eclipse.ptp.remotetools.core.RemoteProcess; -import org.eclipse.ptp.remotetools.environment.EnvironmentPlugin; -import org.eclipse.ptp.remotetools.environment.core.TargetElement; -import org.eclipse.ptp.remotetools.environment.core.TargetTypeElement; -import org.eclipse.ptp.remotetools.exception.CancelException; -import org.eclipse.ptp.remotetools.exception.RemoteConnectionException; -import org.eclipse.ptp.remotetools.exception.RemoteExecutionException; - -public class RemoteToolsTests extends TestCase { - private static final String USERNAME = "user"; //$NON-NLS-1$ - private static final String PASSWORD = "password"; //$NON-NLS-1$ - private static final String HOST = "localhost"; //$NON-NLS-1$ - - private PTPTargetControl fTargetControl; - private IRemoteExecutionManager fExecutionManager; - private IRemoteExecutionTools fExecutionTools; - private TargetTypeElement fTarget; - private TargetElement fElement; - - public void testCopy() { - for (int i = 0; i < 50; i++) { - IRemoteScript script = fExecutionTools.createScript(); - script.setScript("echo hi there"); - RemoteProcess p = null; - try { - p = fExecutionTools.executeProcess(script); - } catch (RemoteExecutionException e) { - fail(); - } catch (RemoteConnectionException e) { - fail(); - } catch (CancelException e) { - fail(); - } - assertNotNull(p); - BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream())); - try { - String line; - while ((line = br.readLine()) != null) { - System.out.println("read \""+line+"\""); - assertTrue(line.startsWith("hi there")); - } - } catch (IOException e) { - fail(); - } -// try { -// p.waitFor(); -// } catch (InterruptedException e) { -// } - } - -// IRemoteScript script = fExecutionTools.createScript(); -// script.setScript("cat > /tmp/xxx.script"); -// RemoteProcess p = null; -// try { -// p = fExecutionTools.executeProcess(script); -// } catch (RemoteExecutionException e) { -// fail(); -// } catch (RemoteConnectionException e) { -// fail(); -// } catch (CancelException e) { -// fail(); -// } -// assertNotNull(p); -// BufferedWriter b = new BufferedWriter(new OutputStreamWriter(p.getOutputStream())); -// try { -// b.write("this is a test\n"); -// b.write("this is a test2\n"); -// b.close(); -// } catch (IOException e) { -// fail(); -// } -// try { -// p.waitFor(); -// } catch (InterruptedException e) { -// } -// -// script = fExecutionTools.createScript(); -// script.setScript("cat >> /tmp/xxx.script"); -// p = null; -// try { -// p = fExecutionTools.executeProcess(script); -// } catch (RemoteExecutionException e) { -// fail(); -// } catch (RemoteConnectionException e) { -// fail(); -// } catch (CancelException e) { -// fail(); -// } -// assertNotNull(p); -// b = new BufferedWriter(new OutputStreamWriter(p.getOutputStream())); -// try { -// b.write("this is a test4\n"); -// b.write("this is a test5\n"); -// b.close(); -// } catch (IOException e) { -// fail(); -// } -// try { -// p.waitFor(); -// } catch (InterruptedException e) { -// } -// -// script = fExecutionTools.createScript(); -// script.setScript("cat < /tmp/xxx.script"); -// p = null; -// try { -// p = fExecutionTools.executeProcess(script); -// } catch (RemoteExecutionException e) { -// fail(); -// } catch (RemoteConnectionException e) { -// fail(); -// } catch (CancelException e) { -// fail(); -// } -// assertNotNull(p); -// BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream())); -// try { -// String line; -// while ((line = br.readLine()) != null) { -// System.out.println("read \""+line+"\""); -// } -// } catch (IOException e) { -// fail(); -// } -// try { -// p.waitFor(); -// } catch (InterruptedException e) { -// } - - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#setUp() - */ - @Override - protected void setUp() throws Exception { - Map<String, String> map = new HashMap<String, String>(); - map.put("ptp.localhost-selection", "false"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.login-username", USERNAME); //$NON-NLS-1$ - map.put("ptp.login-password", PASSWORD); //$NON-NLS-1$ - map.put("ptp.connection-address", HOST); //$NON-NLS-1$ - map.put("ptp.connection-port", "22"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.key-path", ""); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.key-passphrase", ""); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.is-passwd-auth", "true"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.connection-timeout", "5"); //$NON-NLS-1$ //$NON-NLS-2$ - map.put("ptp.cipher-type", "default"); //$NON-NLS-1$ //$NON-NLS-2$ - - fTarget = RemoteToolsServices.getTargetTypeElement(); - String id = EnvironmentPlugin.getDefault().getEnvironmentUniqueID(); - TargetElement element = new TargetElement(fTarget, HOST, map, id); - fTarget.addElement(element); - fTargetControl = (PTPTargetControl)element.getControl(); - fTargetControl.create(new NullProgressMonitor()); - fExecutionManager = fTargetControl.createExecutionManager(); - fExecutionTools = fExecutionManager.getExecutionTools(); - assertNotNull(fExecutionTools); - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#tearDown() - */ - @Override - protected void tearDown() throws Exception { - fExecutionManager.close(); - fTarget.removeElement(fElement); - } - -} diff --git a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/SFTPTests.java b/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/SFTPTests.java deleted file mode 100644 index 07e04f712..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/core/tests/SFTPTests.java +++ /dev/null @@ -1,191 +0,0 @@ -package org.eclipse.ptp.core.tests; - -import java.io.BufferedReader; -import java.io.BufferedWriter; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.OutputStream; -import java.io.OutputStreamWriter; - -import junit.framework.TestCase; - -import com.jcraft.jsch.ChannelSftp; -import com.jcraft.jsch.JSch; -import com.jcraft.jsch.Session; -import com.jcraft.jsch.SftpATTRS; -import com.jcraft.jsch.SftpException; -import com.jcraft.jsch.UIKeyboardInteractive; -import com.jcraft.jsch.UserInfo; - -public class SFTPTests extends TestCase { - private static final String USERNAME = "user"; //$NON-NLS-1$ - private static final String PASSWORD = "password"; //$NON-NLS-1$ - private static final String HOST = "localhost"; //$NON-NLS-1$ - private static final String PATH1 = "/home/user/sftp_test"; //$NON-NLS-1$ - private static final String PATH2 = PATH1 + "/.file1"; //$NON-NLS-1$ - private static final String TEST_STRING = "a string containing fairly *()(*&^$%## random text"; //$NON-NLS-1$ - - - private class SSHUserInfo implements UserInfo, UIKeyboardInteractive { - private SSHUserInfo() { } - - public String getPassword() { - return PASSWORD; - } - - public void setPassword(String password) { - } - - public boolean promptYesNo(String str) { - return true; - } - - public String getPassphrase() { - return ""; - } - - public void setPassphrase(String passphrase) { - } - - public boolean promptPassphrase(String message) { - return false; - } - - public boolean promptPassword(String message) { - return true; - } - - public void setUsePassword(boolean usePassword) { - } - - public void showMessage(String message) { - } - - public String[] promptKeyboardInteractive(final String destination, - final String name, final String instruction, - final String[] prompt, final boolean[] echo) { - if (prompt.length != 1 - || echo[0] != false) { - return null; - } - String[] response = new String[1]; - response[0] = PASSWORD; - return response; - } - } - - private JSch jsch; - private Session session; - private ChannelSftp sftp; - - public void testSftp() { - for (int i = 0; i < 5; i++) { - System.out.print("starting test... "); - - // stat - SftpATTRS attrs = null; - try { - attrs = sftp.stat(PATH1); - } catch (SftpException e) { - assertTrue(e.id == ChannelSftp.SSH_FX_NO_SUCH_FILE); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - assertNull(attrs); - - // mkdir - - try { - sftp.mkdir(PATH1); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - attrs = null; - try { - attrs = sftp.stat(PATH1); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - assertNotNull(attrs); - assertTrue(attrs.isDir()); - - // test write - attrs = null; - try { - attrs = sftp.stat(PATH2); - } catch (SftpException e) { - assertTrue(e.id == ChannelSftp.SSH_FX_NO_SUCH_FILE); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - assertNull(attrs); - - try { - OutputStream stream = sftp.put(PATH2); - assertNotNull(stream); - BufferedWriter buf = new BufferedWriter(new OutputStreamWriter(stream)); - buf.write(TEST_STRING); - buf.close(); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - - attrs = null; - try { - attrs = sftp.stat(PATH2); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - assertNotNull(attrs); - - // read - try { - InputStream stream = sftp.get(PATH2); - assertNotNull(stream); - BufferedReader buf = new BufferedReader(new InputStreamReader(stream)); - String line = buf.readLine().trim(); - assertTrue(line.equals(TEST_STRING)); - buf.close(); - } catch (Exception e) { - fail(e.getLocalizedMessage()); - } - - try { - sftp.rm(PATH2); - } catch (SftpException e) { - fail(e.getLocalizedMessage()); - } - - try { - sftp.rmdir(PATH1); - } catch (SftpException e) { - fail(e.getLocalizedMessage()); - } - - System.out.println("completed"); - } - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#setUp() - */ - @Override - protected void setUp() throws Exception { - jsch = new JSch(); - session = jsch.getSession(USERNAME, HOST); - session.setUserInfo(new SSHUserInfo()); - session.connect(); - sftp = (ChannelSftp) session.openChannel("sftp"); - sftp.connect(); - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#tearDown() - */ - @Override - protected void tearDown() throws Exception { - sftp.disconnect(); - session.disconnect(); - } - -} diff --git a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/remote/core/tests/suite/RemoteCoreTestSuite.java b/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/remote/core/tests/suite/RemoteCoreTestSuite.java deleted file mode 100644 index ba33661ac..000000000 --- a/core/org.eclipse.ptp.remote.core.tests/src/org/eclipse/ptp/remote/core/tests/suite/RemoteCoreTestSuite.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.eclipse.ptp.remote.core.tests.suite; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.eclipse.ptp.core.tests.FileStoreTests; -import org.eclipse.ptp.core.tests.RemoteConnectionTests; -import org.eclipse.ptp.core.tests.SFTPTests; - -public class RemoteCoreTestSuite { - public static Test suite() { - TestSuite suite = new TestSuite(RemoteCoreTestSuite.class.getName()); - - suite.addTestSuite(FileStoreTests.class); - suite.addTestSuite(RemoteConnectionTests.class); - suite.addTestSuite(SFTPTests.class); - return suite; - } - -} diff --git a/core/org.eclipse.ptp.utils.core.tests/.classpath b/core/org.eclipse.ptp.utils.core.tests/.classpath deleted file mode 100644 index 64c5e31b7..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/core/org.eclipse.ptp.utils.core.tests/.project b/core/org.eclipse.ptp.utils.core.tests/.project deleted file mode 100644 index 8a5e69f1b..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/.project +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.utils.core.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> - </natures> -</projectDescription> diff --git a/core/org.eclipse.ptp.utils.core.tests/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.ptp.utils.core.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index d83075895..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,74 +0,0 @@ -#Sat Nov 07 12:58:41 EST 2009 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore -org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/core/org.eclipse.ptp.utils.core.tests/META-INF/MANIFEST.MF b/core/org.eclipse.ptp.utils.core.tests/META-INF/MANIFEST.MF deleted file mode 100644 index fea9f4d4a..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.ptp.utils.core.tests;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Vendor: %pluginProvider -Require-Bundle: org.eclipse.core.runtime, - org.junit, - org.eclipse.ptp.utils.core;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/core/org.eclipse.ptp.utils.core.tests/build.properties b/core/org.eclipse.ptp.utils.core.tests/build.properties deleted file mode 100644 index 34d2e4d2d..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/core/org.eclipse.ptp.utils.core.tests/plugin.properties b/core/org.eclipse.ptp.utils.core.tests/plugin.properties deleted file mode 100644 index c8959a9e9..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/plugin.properties +++ /dev/null @@ -1,13 +0,0 @@ -############################################################################### -# Copyright (c) 2009 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### - -pluginName=PTP Remote Core Tests -pluginProvider=Eclipse PTP diff --git a/core/org.eclipse.ptp.utils.core.tests/src/org/eclipse/ptp/utils/core/tests/ArgumentParserTests.java b/core/org.eclipse.ptp.utils.core.tests/src/org/eclipse/ptp/utils/core/tests/ArgumentParserTests.java deleted file mode 100644 index 188def45f..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/src/org/eclipse/ptp/utils/core/tests/ArgumentParserTests.java +++ /dev/null @@ -1,148 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/package org.eclipse.ptp.utils.core.tests; - -import junit.framework.TestCase; - -import org.eclipse.ptp.utils.core.ArgumentParser; - -public class ArgumentParserTests extends TestCase { - - public void testFileStore() { - ArgumentParser parser = new ArgumentParser("foobar", new String[] {"arg1", "arg2", "arg\\3", "arg\"4", "arg'5", "more arguments"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ - assertEquals("foobar arg1 arg2 arg\\3 arg\"4 arg'5 more\\ arguments", parser.getCommandLine(false)); - assertEquals("foobar arg1 arg2 arg\\\\3 arg\\\"4 arg\\'5 more\\ arguments", parser.getCommandLine(true)); - - parser = new ArgumentParser(" foo"); - assertEquals("foo", parser.getCommandLine(true)); - parser = new ArgumentParser("foo "); - assertEquals("foo", parser.getCommandLine(true)); - parser = new ArgumentParser("foo"); - assertEquals("foo", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a"); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a"); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a "); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser(" foo a"); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser(" foo a "); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser(" foo a "); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a"); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a "); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a "); - assertEquals("foo a", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a b"); - assertEquals("foo a b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a b "); - assertEquals("foo a b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a b c "); - assertEquals("foo a b c", parser.getCommandLine(true)); - parser = new ArgumentParser("foo\\ a b"); - assertEquals("foo\\ a b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo \\ab"); - assertEquals("foo ab", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a\\ b\\ c "); - assertEquals("foo a\\ b\\ c", parser.getCommandLine(true)); - parser = new ArgumentParser("\\foo a b c "); - assertEquals("foo a b c", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a b c\\"); - assertEquals("foo a b c", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \\b c"); - assertEquals("foo a b c", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a\\'c b"); - assertEquals("foo a\\'c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a\\\"c b"); - assertEquals("foo a\\\"c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \\'c b"); - assertEquals("foo a \\'c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \\\"c b"); - assertEquals("foo a \\\"c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a\\' c b"); - assertEquals("foo a\\' c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a\\\" c b"); - assertEquals("foo a\\\" c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \\' c b"); - assertEquals("foo a \\' c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \\\" c b"); - assertEquals("foo a \\\" c b", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a c b\\'"); - assertEquals("foo a c b\\'", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a c b\\\""); - assertEquals("foo a c b\\\"", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a c b \\'"); - assertEquals("foo a c b \\\'", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a c b \\\""); - assertEquals("foo a c b \\\"", parser.getCommandLine(true)); - parser = new ArgumentParser("\\'foo a c b"); - assertEquals("\\\'foo a c b", parser.getCommandLine(true)); - parser = new ArgumentParser("\\\"foo a c b"); - assertEquals("\\\"foo a c b", parser.getCommandLine(true)); - parser = new ArgumentParser("\\' foo a c b"); - assertEquals("\\\' foo a c b", parser.getCommandLine(true)); - parser = new ArgumentParser("\\\" foo a c b"); - assertEquals("\\\" foo a c b", parser.getCommandLine(true)); - parser = new ArgumentParser("'foo a' b c d"); - assertEquals("foo\\ a b c d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a b 'c d'"); - assertEquals("foo a b c\\ d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a 'b c' d"); - assertEquals("foo a b\\ c d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a 'b\\e' d"); - assertEquals("foo a b\\\\e d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \"b\\e\" d"); - assertEquals("foo a b\\\\e d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a 'b c d"); - assertEquals("foo a b\\ c\\ d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \"b c d"); - assertEquals("foo a b\\ c\\ d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \"b c\" d"); - assertEquals("foo a b\\ c d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \"b c\"d"); - assertEquals("foo a b\\ cd", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a 'b c' d"); - assertEquals("foo a b\\ c d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a 'b c'd"); - assertEquals("foo a b\\ cd", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a 'b \" c' d"); - assertEquals("foo a b\\ \\\"\\ c d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \"b ' c\" d"); - assertEquals("foo a b\\ \\'\\ c d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a 'b \\\" c' d"); - assertEquals("foo a b\\ \\\\\\\"\\ c d", parser.getCommandLine(true)); - parser = new ArgumentParser("foo a \"b \' c\" d"); - assertEquals("foo a b\\ \\'\\ c d", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {}); - assertEquals("", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"a"}); - assertEquals("a", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"av"}); - assertEquals("av", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"a d"}); - assertEquals("a\\ d", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"a", "a"}); - assertEquals("a a", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"av", "a"}); - assertEquals("av a", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"a d", "a"}); - assertEquals("a\\ d a", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"a", "b b"}); - assertEquals("a b\\ b", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"av", "b b"}); - assertEquals("av b\\ b", parser.getCommandLine(true)); - parser = new ArgumentParser(new String[] {"a d", "b b"}); - assertEquals("a\\ d b\\ b", parser.getCommandLine(true)); - } -} diff --git a/core/org.eclipse.ptp.utils.core.tests/src/org/eclipse/ptp/utils/core/tests/suite/UtilsCoreTestSuite.java b/core/org.eclipse.ptp.utils.core.tests/src/org/eclipse/ptp/utils/core/tests/suite/UtilsCoreTestSuite.java deleted file mode 100644 index f2ce2a521..000000000 --- a/core/org.eclipse.ptp.utils.core.tests/src/org/eclipse/ptp/utils/core/tests/suite/UtilsCoreTestSuite.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.ptp.utils.core.tests.suite; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.eclipse.ptp.utils.core.tests.ArgumentParserTests; - -public class UtilsCoreTestSuite { - public static Test suite() { - TestSuite suite = new TestSuite(UtilsCoreTestSuite.class.getName()); - - suite.addTestSuite(ArgumentParserTests.class); - return suite; - } - -} diff --git a/debug/org.eclipse.ptp.debug.core.tests/.classpath b/debug/org.eclipse.ptp.debug.core.tests/.classpath deleted file mode 100644 index 16d067f28..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/debug/org.eclipse.ptp.debug.core.tests/.project b/debug/org.eclipse.ptp.debug.core.tests/.project deleted file mode 100644 index 9034eb002..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/.project +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.debug.core.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> - </natures> -</projectDescription> diff --git a/debug/org.eclipse.ptp.debug.core.tests/.settings/org.eclipse.jdt.core.prefs b/debug/org.eclipse.ptp.debug.core.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index d83075895..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,74 +0,0 @@ -#Sat Nov 07 12:58:41 EST 2009 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore -org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/debug/org.eclipse.ptp.debug.core.tests/META-INF/MANIFEST.MF b/debug/org.eclipse.ptp.debug.core.tests/META-INF/MANIFEST.MF deleted file mode 100644 index fa60f305d..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,12 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.ptp.debug.core.tests;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Vendor: %pluginProvider -Require-Bundle: org.eclipse.core.runtime, - org.junit, - org.eclipse.ptp.core, - org.eclipse.ptp.debug.core -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Import-Package: org.eclipse.ptp.debug.core diff --git a/debug/org.eclipse.ptp.debug.core.tests/build.properties b/debug/org.eclipse.ptp.debug.core.tests/build.properties deleted file mode 100644 index 34d2e4d2d..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/debug/org.eclipse.ptp.debug.core.tests/plugin.properties b/debug/org.eclipse.ptp.debug.core.tests/plugin.properties deleted file mode 100644 index b3cca65d5..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/plugin.properties +++ /dev/null @@ -1,13 +0,0 @@ -############################################################################### -# Copyright (c) 2010 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### - -pluginName=PTP Core Tests -pluginProvider=Eclipse PTP diff --git a/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/AIFTests.java b/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/AIFTests.java deleted file mode 100644 index df81d4a65..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/AIFTests.java +++ /dev/null @@ -1,156 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM - Initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.debug.core.tests; - -import junit.framework.TestCase; - -import org.eclipse.ptp.debug.core.pdi.model.aif.AIFFactory; -import org.eclipse.ptp.debug.core.pdi.model.aif.AIFFormatException; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFType; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeAddress; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeAggregate; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeArray; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeBool; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeChar; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeCharPointer; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeEnum; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeFloat; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeFunction; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeInt; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeNamed; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypePointer; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeRange; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeReference; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeString; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeUnion; -import org.eclipse.ptp.debug.core.pdi.model.aif.IAIFTypeVoid; - -public class AIFTests extends TestCase { - public void testTypes() { - IAIFType t; - try { - t = AIFFactory.getAIFType("a8"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeAddress); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("{|;;;}"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeAggregate); - t = AIFFactory.getAIFType("{a|x=is4,y=f4;;v=pa4;}"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeAggregate); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("[r0,2is4][r-1,3is4][r10,4is4][r-10,5is4][r0,6is4]is4"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeArray); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("b1"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeBool); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("c"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeChar); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("pa4"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeCharPointer); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("<|>is4"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeEnum); - t = AIFFactory.getAIFType("<a|x=-1,y=0,z=1>is4"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeEnum); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("f4"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeFloat); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("&is4,f8/f8"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeFunction); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("iu8"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeInt); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("%1/^a4{s1|a=is4,b=>1/;;;}"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeNamed); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("^a4{s1|a=is4,b=f4,c=c;;;}"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypePointer); - t = AIFFactory.getAIFType("^a4^a4c"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypePointer); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("r-4,10is4"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeRange); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("r-4,10is4"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeRange); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType(">3/"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeReference); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("s"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeString); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("(|)"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeUnion); - t = AIFFactory.getAIFType("(u|a=is4,b=f8)"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeUnion); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - try { - t = AIFFactory.getAIFType("v0"); //$NON-NLS-1$ - assertTrue(t instanceof IAIFTypeVoid); - } catch (AIFFormatException e) { - fail(e.getMessage()); - } - } -} diff --git a/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/TaskSetTests.java b/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/TaskSetTests.java deleted file mode 100644 index a68b91b09..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/TaskSetTests.java +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM - Initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.debug.core.tests; - -import junit.framework.TestCase; - -import org.eclipse.ptp.debug.core.TaskSet; - -public class TaskSetTests extends TestCase { - public void testToString() { - TaskSet b = new TaskSet(); - b.set(3, 13); - b.set(15, 22); - String str = b.toHexString().toUpperCase(); - - assertEquals(str, "00000000003F9FF8"); //$NON-NLS-1$ - - assertEquals(b.toString(), "{3-12,15-21}"); //$NON-NLS-1$ - } - - public void testFromString() { - String str = "06411eda"; //$NON-NLS-1$ - TaskSet b = new TaskSet(28, str); - - String res = b.toHexString(); - - assertEquals(str, res); - - str = "07"; //$NON-NLS-1$ - b = new TaskSet(3, str); - res = b.toHexString(); - - assertEquals(str, res); - } -} diff --git a/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/suite/DebugCoreTestSuite.java b/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/suite/DebugCoreTestSuite.java deleted file mode 100644 index 6e52cf8c7..000000000 --- a/debug/org.eclipse.ptp.debug.core.tests/src/org/eclipse/ptp/debug/core/tests/suite/DebugCoreTestSuite.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM - Initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.debug.core.tests.suite; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.eclipse.ptp.debug.core.tests.AIFTests; -import org.eclipse.ptp.debug.core.tests.TaskSetTests; - -public class DebugCoreTestSuite { - public static Test suite() { - TestSuite suite = new TestSuite(DebugCoreTestSuite.class.getName()); - - suite.addTestSuite(TaskSetTests.class); - suite.addTestSuite(AIFTests.class); - return suite; - } - -} diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/.classpath b/rdt/org.eclipse.ptp.rdt.ui.tests/.classpath deleted file mode 100644 index 3aaeea839..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/.classpath +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="test"/> - <classpathentry kind="src" path="suite"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/.project b/rdt/org.eclipse.ptp.rdt.ui.tests/.project deleted file mode 100644 index f21926cd4..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.rdt.ui.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/.settings/org.eclipse.jdt.core.prefs b/rdt/org.eclipse.ptp.rdt.ui.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f9482f28e..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -#Wed Nov 19 13:50:59 EST 2008 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/META-INF/MANIFEST.MF b/rdt/org.eclipse.ptp.rdt.ui.tests/META-INF/MANIFEST.MF deleted file mode 100644 index d75a279df..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,25 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Tests Plug-in -Bundle-SymbolicName: org.eclipse.ptp.rdt.ui.tests;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Require-Bundle: org.eclipse.ptp.rdt.core;bundle-version="1.0.0", - org.eclipse.ptp.rdt.core.tests;bundle-version="1.0.0", - org.eclipse.ptp.rdt.ui;bundle-version="1.0.0", - org.eclipse.cdt.ui.tests;bundle-version="5.0.2", - org.eclipse.cdt.ui;bundle-version="5.0.2", - org.eclipse.core.runtime;bundle-version="3.4.0", - org.eclipse.cdt.core;bundle-version="5.0.2", - org.eclipse.cdt.core.tests;bundle-version="5.0.1", - org.junit;bundle-version="3.8.2", - org.eclipse.ui;bundle-version="3.4.0", - org.eclipse.core.resources;bundle-version="3.4.0", - org.eclipse.jface.text;bundle-version="3.4.0", - org.eclipse.ui.editors;bundle-version="3.4.0", - org.eclipse.ptp.services.core;bundle-version="1.0.0" -Export-Package: org.eclipse.ptp.rdt.ui.tests.navigation, - org.eclipse.ptp.rdt.ui.tests.suite -Bundle-Activator: org.eclipse.ptp.rdt.ui.tests.RDTUITestPlugin -Bundle-ActivationPolicy: lazy -Import-Package: org.eclipse.ui.part diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/build.properties b/rdt/org.eclipse.ptp.rdt.ui.tests/build.properties deleted file mode 100644 index e98e69906..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/build.properties +++ /dev/null @@ -1,15 +0,0 @@ -############################################################################### -# Copyright (c) 2008, 2010 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -source.. = test/,\ - suite/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/fixtures/navigation_test_project/test.c b/rdt/org.eclipse.ptp.rdt.ui.tests/fixtures/navigation_test_project/test.c deleted file mode 100644 index ed3b53dbb..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/fixtures/navigation_test_project/test.c +++ /dev/null @@ -1,5 +0,0 @@ -#import "test.h" - -int main(int argc, char **argv) { - -} diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/fixtures/navigation_test_project/test.h b/rdt/org.eclipse.ptp.rdt.ui.tests/fixtures/navigation_test_project/test.h deleted file mode 100644 index e69de29bb..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/fixtures/navigation_test_project/test.h +++ /dev/null diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/RDTUITestPlugin.java b/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/RDTUITestPlugin.java deleted file mode 100644 index cb40be5c3..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/RDTUITestPlugin.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008, 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.rdt.ui.tests; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -public class RDTUITestPlugin extends AbstractUIPlugin { - - - private static RDTUITestPlugin plugin; - - public RDTUITestPlugin() { - super(); - plugin = this; - } - - public static RDTUITestPlugin getDefault() { - return plugin; - } -} diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/suite/UIBasicTestSuite.java b/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/suite/UIBasicTestSuite.java deleted file mode 100644 index db76260d5..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/suite/UIBasicTestSuite.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.rdt.ui.tests.suite; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - - -/** - * Tests that do not require a connection to a remote server. - */ -public class UIBasicTestSuite extends TestCase { - public static Test suite() { - TestSuite suite = new TestSuite(UIBasicTestSuite.class.getName()); - // TODO add some tests - return suite; - } -}
\ No newline at end of file diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/suite/UIConnectionTestSuite.java b/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/suite/UIConnectionTestSuite.java deleted file mode 100644 index 7b468b721..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/suite/org/eclipse/ptp/rdt/ui/tests/suite/UIConnectionTestSuite.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.rdt.ui.tests.suite; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -import org.eclipse.ptp.rdt.ui.tests.navigation.NavigationTests; - - -/** - * Tests that require a connection to be run, - * this suite must be launched from a ConnectionSuite. - */ -public class UIConnectionTestSuite extends TestCase { - public static Test suite() { - TestSuite suite = new TestSuite(UIConnectionTestSuite.class.getName()); - - suite.addTest(NavigationTests.suite()); - - return suite; - } -}
\ No newline at end of file diff --git a/rdt/org.eclipse.ptp.rdt.ui.tests/test/org/eclipse/ptp/rdt/ui/tests/navigation/NavigationTests.java b/rdt/org.eclipse.ptp.rdt.ui.tests/test/org/eclipse/ptp/rdt/ui/tests/navigation/NavigationTests.java deleted file mode 100644 index 96826179d..000000000 --- a/rdt/org.eclipse.ptp.rdt.ui.tests/test/org/eclipse/ptp/rdt/ui/tests/navigation/NavigationTests.java +++ /dev/null @@ -1,192 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008, 2010 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.rdt.ui.tests.navigation; - -import java.net.URI; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.eclipse.cdt.core.CCorePlugin; -import org.eclipse.cdt.core.dom.ast.IASTName; -import org.eclipse.cdt.core.dom.ast.IASTNode; -import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; -import org.eclipse.cdt.core.index.IIndex; -import org.eclipse.cdt.core.model.ILanguage; -import org.eclipse.cdt.core.model.ITranslationUnit; -import org.eclipse.cdt.internal.core.model.ASTCache.ASTRunnable; -import org.eclipse.cdt.internal.core.parser.ParserException; -import org.eclipse.cdt.internal.ui.editor.ASTProvider; -import org.eclipse.cdt.internal.ui.editor.CEditor; -import org.eclipse.cdt.ui.testplugin.EditorTestHelper; -import org.eclipse.cdt.ui.tests.text.selection.CPPSelectionTestsAnyIndexer; -import org.eclipse.core.resources.IFile; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.Status; -import org.eclipse.jface.text.ITextSelection; -import org.eclipse.jface.text.TextSelection; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.ptp.internal.rdt.core.index.RemoteFastIndexer; -import org.eclipse.ptp.internal.rdt.ui.search.actions.OpenDeclarationsAction; -import org.eclipse.ptp.rdt.core.tests.ConnectionManager; -import org.eclipse.ptp.rdt.core.tests.RemoteTestProject; -import org.eclipse.ptp.services.core.ServiceModelManager; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IViewReference; -import org.eclipse.ui.IWorkbenchPage; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.part.FileEditorInput; -import org.eclipse.ui.texteditor.AbstractTextEditor; - - -@SuppressWarnings("restriction") - -public class NavigationTests extends CPPSelectionTestsAnyIndexer { - - private static final int MAX_WAIT_TIME = 120000; - - /* I think a lot of the tests that fail do so because of two reasons: - * - Headers are not being skipped as they should be, - * - */ - private static final String[] TESTS_TO_RUN = { - "testBug93281", - "testBug207320", - "testTemplateClassMethod_207320", - //"testBasicDefinition", // FAIL cannot reproduce failure - "testBasicTemplateInstance_207320", - "testBug86829A", - //"testCPPSpecDeclsDefs", // FAIL cannot reproduce failure - "testBug168533", - "testBug95225", - //"testBug95202", // FAIL, should not fail when headers are skipped properly - "testBug101287", - "testBug102258", - "testBug103323", - "testBug78354", - //"testBug103697", // FAIL trying to use local path which fails - //"testBug108202", // FAIL - //"testCNavigationInCppProject_bug183973", // FAIL - //"testFuncWithTypedefForAnonymousStruct_190730", // FAIL - //"testFuncWithTypedefForAnonymousEnum_190730", // FAIL - "testMacroNavigation", - "testMacroNavigation_Bug208300", - "testIncludeNavigation", - //"testNavigationCppCallsC", // FAIL - //"testNavigationCCallsCpp", // FAIL - "testNavigationInDefinedExpression_215906", - }; - - public static Test suite() { - //return suite(NavigationTests.class); - TestSuite suite = new TestSuite(); - for(String testName : TESTS_TO_RUN) - suite.addTest(new NavigationTests(testName)); - return suite; - } - - - private static final String PROJECT_NAME = "navigation_test_project"; - - @Override - protected String getEditorID() { - return "org.eclipse.ptp.rdt.ui.editor.CEditor"; - } - - @Override - protected void waitUntilFileIsIndexed(IIndex index, IFile file, int maxmillis) throws Exception { - Thread.sleep(10000); - CCorePlugin.getIndexManager().joinIndexer(MAX_WAIT_TIME, new NullProgressMonitor()); - } - - public NavigationTests(String name) { - super(name, RemoteFastIndexer.ID); - } - - @Override - protected IASTNode testF3(IFile file, int offset, int length) throws ParserException, CoreException { - if (offset < 0) - throw new ParserException("offset can not be less than 0 and was " + offset); //$NON-NLS-1$ - - IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); - IEditorPart part = null; - try { - part = page.openEditor(new FileEditorInput(file), getEditorID(), true); //$NON-NLS-1$ - } catch (PartInitException e) { - assertFalse(true); - } - - if (part instanceof CEditor) { - CEditor editor= (CEditor) part; - EditorTestHelper.joinReconciler(EditorTestHelper.getSourceViewer(editor), 100, 500, 10); - ((AbstractTextEditor)part).getSelectionProvider().setSelection(new TextSelection(offset,length)); - - final OpenDeclarationsAction action = (OpenDeclarationsAction) editor.getAction("OpenDeclarations"); //$NON-NLS-1$ - action.runSync(); - - // update the file/part to point to the newly opened IFile/IEditorPart - part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor(); - assertTrue (part instanceof CEditor); - editor= (CEditor) part; - EditorTestHelper.joinReconciler(EditorTestHelper.getSourceViewer(editor), 100, 500, 10); - - // the action above should highlight the declaration, so now retrieve it and use that selection to get the IASTName selected on the TU - ISelection sel= editor.getSelectionProvider().getSelection(); - - final IASTName[] result= {null}; - if (sel instanceof ITextSelection) { - final ITextSelection textSel = (ITextSelection)sel; - ITranslationUnit tu = (ITranslationUnit)editor.getInputCElement(); - IStatus ok= ASTProvider.getASTProvider().runOnAST(tu, ASTProvider.WAIT_IF_OPEN, new NullProgressMonitor(), new ASTRunnable() { - public IStatus runOnAST(ILanguage language, IASTTranslationUnit ast) throws CoreException { - result[0]= ast.getNodeSelector(null).findName(textSel.getOffset(), textSel.getLength()); - return Status.OK_STATUS; - } - }); - assertTrue(ok.isOK()); - return result[0]; - } - } - - return null; - } - - - protected void setUp() throws Exception { - //super.setUp(); - - IWorkbenchPage page= PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); - IViewReference[] refs= page.getViewReferences(); - for (int i = 0; i < refs.length; i++) { - IViewReference viewReference = refs[i]; - page.setPartState(viewReference, IWorkbenchPage.STATE_RESTORED); - } - - URI projectRootURI = ConnectionManager.getInstance().getWorkspaceURI(PROJECT_NAME); - RemoteTestProject remoteProject = new RemoteTestProject(PROJECT_NAME, projectRootURI); - - ConnectionManager.getInstance().resetServiceModel(remoteProject.getName()); - ServiceModelManager.getInstance().printServiceModel(); - - fCProject = remoteProject.getCProject(); - - CCorePlugin.getIndexManager().setIndexerId(fCProject, RemoteFastIndexer.ID); - } - - - protected void tearDown() throws Exception { - super.tearDown(); - } - -} diff --git a/releng/org.eclipse.ptp.rdt.remotetools-feature/.project b/releng/org.eclipse.ptp.rdt.remotetools-feature/.project deleted file mode 100644 index 625183416..000000000 --- a/releng/org.eclipse.ptp.rdt.remotetools-feature/.project +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.rdt.remotetools-feature</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.pde.FeatureBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.FeatureNature</nature> - </natures> -</projectDescription> diff --git a/releng/org.eclipse.ptp.rdt.remotetools-feature/build.properties b/releng/org.eclipse.ptp.rdt.remotetools-feature/build.properties deleted file mode 100644 index e7421cc54..000000000 --- a/releng/org.eclipse.ptp.rdt.remotetools-feature/build.properties +++ /dev/null @@ -1,14 +0,0 @@ -############################################################################### -# Copyright (c) 2010 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -bin.includes = feature.xml,\ - epl-v10.html,\ - feature.properties,\ - license.html diff --git a/releng/org.eclipse.ptp.rdt.remotetools-feature/epl-v10.html b/releng/org.eclipse.ptp.rdt.remotetools-feature/epl-v10.html deleted file mode 100644 index 022ad2955..000000000 --- a/releng/org.eclipse.ptp.rdt.remotetools-feature/epl-v10.html +++ /dev/null @@ -1,328 +0,0 @@ -<html xmlns:o="urn:schemas-microsoft-com:office:office" -xmlns:w="urn:schemas-microsoft-com:office:word" -xmlns="http://www.w3.org/TR/REC-html40"> - -<head> -<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> -<meta name=ProgId content=Word.Document> -<meta name=Generator content="Microsoft Word 9"> -<meta name=Originator content="Microsoft Word 9"> -<link rel=File-List -href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"> -<title>Eclipse Public License - Version 1.0</title> -<!--[if gte mso 9]><xml> - <o:DocumentProperties> - <o:Revision>2</o:Revision> - <o:TotalTime>3</o:TotalTime> - <o:Created>2004-03-05T23:03:00Z</o:Created> - <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved> - <o:Pages>4</o:Pages> - <o:Words>1626</o:Words> - <o:Characters>9270</o:Characters> - <o:Lines>77</o:Lines> - <o:Paragraphs>18</o:Paragraphs> - <o:CharactersWithSpaces>11384</o:CharactersWithSpaces> - <o:Version>9.4402</o:Version> - </o:DocumentProperties> -</xml><![endif]--><!--[if gte mso 9]><xml> - <w:WordDocument> - <w:TrackRevisions/> - </w:WordDocument> -</xml><![endif]--> -<style> -<!-- - /* Font Definitions */ -@font-face - {font-family:Tahoma; - panose-1:2 11 6 4 3 5 4 4 2 4; - mso-font-charset:0; - mso-generic-font-family:swiss; - mso-font-pitch:variable; - mso-font-signature:553679495 -2147483648 8 0 66047 0;} - /* Style Definitions */ -p.MsoNormal, li.MsoNormal, div.MsoNormal - {mso-style-parent:""; - margin:0in; - margin-bottom:.0001pt; - mso-pagination:widow-orphan; - font-size:12.0pt; - font-family:"Times New Roman"; - mso-fareast-font-family:"Times New Roman";} -p - {margin-right:0in; - mso-margin-top-alt:auto; - mso-margin-bottom-alt:auto; - margin-left:0in; - mso-pagination:widow-orphan; - font-size:12.0pt; - font-family:"Times New Roman"; - mso-fareast-font-family:"Times New Roman";} -p.BalloonText, li.BalloonText, div.BalloonText - {mso-style-name:"Balloon Text"; - margin:0in; - margin-bottom:.0001pt; - mso-pagination:widow-orphan; - font-size:8.0pt; - font-family:Tahoma; - mso-fareast-font-family:"Times New Roman";} -@page Section1 - {size:8.5in 11.0in; - margin:1.0in 1.25in 1.0in 1.25in; - mso-header-margin:.5in; - mso-footer-margin:.5in; - mso-paper-source:0;} -div.Section1 - {page:Section1;} ---> -</style> -</head> - -<body lang=EN-US style='tab-interval:.5in'> - -<div class=Section1> - -<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b> -</p> - -<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER -THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, -REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE -OF THIS AGREEMENT.</span> </p> - -<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p> - -<p><span style='font-size:10.0pt'>"Contribution" means:</span> </p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and<br clear=left> -b) in the case of each subsequent Contributor:</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i) -changes to the Program, and</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii) -additions to the Program;</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where -such changes and/or additions to the Program originate from and are distributed -by that particular Contributor. A Contribution 'originates' from a Contributor -if it was added to the Program by such Contributor itself or anyone acting on -such Contributor's behalf. Contributions do not include additions to the -Program which: (i) are separate modules of software distributed in conjunction -with the Program under their own license agreement, and (ii) are not derivative -works of the Program. </span></p> - -<p><span style='font-size:10.0pt'>"Contributor" means any person or -entity that distributes the Program.</span> </p> - -<p><span style='font-size:10.0pt'>"Licensed Patents " mean patent -claims licensable by a Contributor which are necessarily infringed by the use -or sale of its Contribution alone or when combined with the Program. </span></p> - -<p><span style='font-size:10.0pt'>"Program" means the Contributions -distributed in accordance with this Agreement.</span> </p> - -<p><span style='font-size:10.0pt'>"Recipient" means anyone who -receives the Program under this Agreement, including all Contributors.</span> </p> - -<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -Subject to the terms of this Agreement, each Contributor hereby grants Recipient -a non-exclusive, worldwide, royalty-free copyright license to<span -style='color:red'> </span>reproduce, prepare derivative works of, publicly -display, publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and object code -form.</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) -Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free -patent license under Licensed Patents to make, use, sell, offer to sell, import -and otherwise transfer the Contribution of such Contributor, if any, in source -code and object code form. This patent license shall apply to the combination -of the Contribution and the Program if, at the time the Contribution is added -by the Contributor, such addition of the Contribution causes such combination -to be covered by the Licensed Patents. The patent license shall not apply to -any other combinations which include the Contribution. No hardware per se is -licensed hereunder. </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c) -Recipient understands that although each Contributor grants the licenses to its -Contributions set forth herein, no assurances are provided by any Contributor -that the Program does not infringe the patent or other intellectual property -rights of any other entity. Each Contributor disclaims any liability to Recipient -for claims brought by any other entity based on infringement of intellectual -property rights or otherwise. As a condition to exercising the rights and -licenses granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For example, -if a third party patent license is required to allow Recipient to distribute -the Program, it is Recipient's responsibility to acquire that license before -distributing the Program.</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d) -Each Contributor represents that to its knowledge it has sufficient copyright -rights in its Contribution, if any, to grant the copyright license set forth in -this Agreement. </span></p> - -<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p> - -<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the -Program in object code form under its own license agreement, provided that:</span> -</p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -it complies with the terms and conditions of this Agreement; and</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) -its license agreement:</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i) -effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title -and non-infringement, and implied warranties or conditions of merchantability -and fitness for a particular purpose; </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii) -effectively excludes on behalf of all Contributors all liability for damages, -including direct, indirect, special, incidental and consequential damages, such -as lost profits; </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii) -states that any provisions which differ from this Agreement are offered by that -Contributor alone and not by any other party; and</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv) -states that source code for the Program is available from such Contributor, and -informs licensees how to obtain it in a reasonable manner on or through a -medium customarily used for software exchange.<span style='color:blue'> </span></span></p> - -<p><span style='font-size:10.0pt'>When the Program is made available in source -code form:</span> </p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -it must be made available under this Agreement; and </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a -copy of this Agreement must be included with each copy of the Program. </span></p> - -<p><span style='font-size:10.0pt'>Contributors may not remove or alter any -copyright notices contained within the Program. </span></p> - -<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the -originator of its Contribution, if any, in a manner that reasonably allows -subsequent Recipients to identify the originator of the Contribution. </span></p> - -<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p> - -<p><span style='font-size:10.0pt'>Commercial distributors of software may -accept certain responsibilities with respect to end users, business partners -and the like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a commercial -product offering should do so in a manner which does not create potential -liability for other Contributors. Therefore, if a Contributor includes the -Program in a commercial product offering, such Contributor ("Commercial -Contributor") hereby agrees to defend and indemnify every other -Contributor ("Indemnified Contributor") against any losses, damages and -costs (collectively "Losses") arising from claims, lawsuits and other -legal actions brought by a third party against the Indemnified Contributor to -the extent caused by the acts or omissions of such Commercial Contributor in -connection with its distribution of the Program in a commercial product -offering. The obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In order -to qualify, an Indemnified Contributor must: a) promptly notify the Commercial -Contributor in writing of such claim, and b) allow the Commercial Contributor -to control, and cooperate with the Commercial Contributor in, the defense and -any related settlement negotiations. The Indemnified Contributor may participate -in any such claim at its own expense.</span> </p> - -<p><span style='font-size:10.0pt'>For example, a Contributor might include the -Program in a commercial product offering, Product X. That Contributor is then a -Commercial Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance claims and -warranties are such Commercial Contributor's responsibility alone. Under this -section, the Commercial Contributor would have to defend claims against the -other Contributors related to those performance claims and warranties, and if a -court requires any other Contributor to pay any damages as a result, the -Commercial Contributor must pay those damages.</span> </p> - -<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p> - -<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS -AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, -WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and distributing the -Program and assumes all risks associated with its exercise of rights under this -Agreement , including but not limited to the risks and costs of program errors, -compliance with applicable laws, damage to or loss of data, programs or -equipment, and unavailability or interruption of operations. </span></p> - -<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p> - -<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS -AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF -THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF -THE POSSIBILITY OF SUCH DAMAGES.</span> </p> - -<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p> - -<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid -or unenforceable under applicable law, it shall not affect the validity or -enforceability of the remainder of the terms of this Agreement, and without -further action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable.</span> </p> - -<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation -against any entity (including a cross-claim or counterclaim in a lawsuit) -alleging that the Program itself (excluding combinations of the Program with -other software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of the date -such litigation is filed. </span></p> - -<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement -shall terminate if it fails to comply with any of the material terms or -conditions of this Agreement and does not cure such failure in a reasonable -period of time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use and -distribution of the Program as soon as reasonably practicable. However, -Recipient's obligations under this Agreement and any licenses granted by -Recipient relating to the Program shall continue and survive. </span></p> - -<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute -copies of this Agreement, but in order to avoid inconsistency the Agreement is -copyrighted and may only be modified in the following manner. The Agreement -Steward reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement Steward has -the right to modify this Agreement. The Eclipse Foundation is the initial -Agreement Steward. The Eclipse Foundation may assign the responsibility to -serve as the Agreement Steward to a suitable separate entity. Each new version -of the Agreement will be given a distinguishing version number. The Program -(including Contributions) may always be distributed subject to the version of -the Agreement under which it was received. In addition, after a new version of -the Agreement is published, Contributor may elect to distribute the Program -(including its Contributions) under the new version. Except as expressly stated -in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to -the intellectual property of any Contributor under this Agreement, whether -expressly, by implication, estoppel or otherwise. All rights in the Program not -expressly granted under this Agreement are reserved.</span> </p> - -<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the -State of New York and the intellectual property laws of the United States of -America. No party to this Agreement will bring a legal action under this -Agreement more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation.</span> </p> - -<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p> - -</div> - -</body> - -</html> diff --git a/releng/org.eclipse.ptp.rdt.remotetools-feature/feature.properties b/releng/org.eclipse.ptp.rdt.remotetools-feature/feature.properties deleted file mode 100644 index 03c05a0e7..000000000 --- a/releng/org.eclipse.ptp.rdt.remotetools-feature/feature.properties +++ /dev/null @@ -1,162 +0,0 @@ -################################################################################# -# Copyright (c) 2009 IBM Corporation. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - Initial Implementation -# -################################################################################# - -# "featureName" property - name of the feature -featureName=PTP RDT Remote Tools Support - -# "providerName" property - name of the company that provides the feature -providerName=Eclipse PTP - -# "updateSiteName" property - label for the update site -updateSiteName=Eclipse PTP Update Site - -# "description" property - description of the feature -description=Allows RDT to be used with PTP Remote Tools. - -# copyright -copyright=\ -Copyright (c) 2008, 2010 IBM Corporation.\n\ -All rights reserved. This program and the accompanying materials\n\ -are made available under the terms of the Eclipse Public License v1.0\n\ -which accompanies this distribution, and is available at\n\ -http://www.eclipse.org/legal/epl-v10.html\n - -# "licenseURL" property - URL of the "Feature License" -# do not translate value - just change to point to a locale-specific HTML page -licenseURL=license.html - -# "license" property - text of the "Feature Update License" -# should be plain text version of license agreement pointed to be "licenseURL" -license=\ -Eclipse Foundation Software User Agreement\n\ -April 14, 2010\n\ -\n\ -Usage Of Content\n\ -\n\ -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ -OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ -USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ -AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ -NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ -AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ -AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ -OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ -TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ -OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ -BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ -\n\ -Applicable Licenses\n\ -\n\ -Unless otherwise indicated, all Content made available by the\n\ -Eclipse Foundation is provided to you under the terms and conditions of\n\ -the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ -provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ -For purposes of the EPL, "Program" will mean the Content.\n\ -\n\ -Content includes, but is not limited to, source code, object code,\n\ -documentation and other files maintained in the Eclipse Foundation source code\n\ -repository ("Repository") in software modules ("Modules") and made available\n\ -as downloadable archives ("Downloads").\n\ -\n\ - - Content may be structured and packaged into modules to facilitate delivering,\n\ - extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ - plug-in fragments ("Fragments"), and features ("Features").\n\ - - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ - in a directory named "plugins".\n\ - - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ - Each Feature may be packaged as a sub-directory in a directory named "features".\n\ - Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ - numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ - - Features may also include other Features ("Included Features"). Within a Feature, files\n\ - named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ -\n\ -The terms and conditions governing Plug-ins and Fragments should be\n\ -contained in files named "about.html" ("Abouts"). The terms and\n\ -conditions governing Features and Included Features should be contained\n\ -in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ -Licenses may be located in any directory of a Download or Module\n\ -including, but not limited to the following locations:\n\ -\n\ - - The top-level (root) directory\n\ - - Plug-in and Fragment directories\n\ - - Inside Plug-ins and Fragments packaged as JARs\n\ - - Sub-directories of the directory named "src" of certain Plug-ins\n\ - - Feature directories\n\ -\n\ -Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ -Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ -Update License") during the installation process. If the Feature contains\n\ -Included Features, the Feature Update License should either provide you\n\ -with the terms and conditions governing the Included Features or inform\n\ -you where you can locate them. Feature Update Licenses may be found in\n\ -the "license" property of files named "feature.properties" found within a Feature.\n\ -Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ -terms and conditions (or references to such terms and conditions) that\n\ -govern your use of the associated Content in that directory.\n\ -\n\ -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ -SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ -\n\ - - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ - - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ - - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ - - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ - - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ -\n\ -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ -TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ -is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ -govern that particular Content.\n\ -\n\ -\n\Use of Provisioning Technology\n\ -\n\ -The Eclipse Foundation makes available provisioning software, examples of which include,\n\ -but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ -the purpose of allowing users to install software, documentation, information and/or\n\ -other materials (collectively "Installable Software"). This capability is provided with\n\ -the intent of allowing such users to install, extend and update Eclipse-based products.\n\ -Information about packaging Installable Software is available at\n\ -http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ -\n\ -You may use Provisioning Technology to allow other parties to install Installable Software.\n\ -You shall be responsible for enabling the applicable license agreements relating to the\n\ -Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ -in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ -making it available in accordance with the Specification, you further acknowledge your\n\ -agreement to, and the acquisition of all necessary rights to permit the following:\n\ -\n\ - 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ - the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ - extending or updating the functionality of an Eclipse-based product.\n\ - 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ - Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ - 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ - govern the use of the Installable Software ("Installable Software Agreement") and such\n\ - Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ - with the Specification. Such Installable Software Agreement must inform the user of the\n\ - terms and conditions that govern the Installable Software and must solicit acceptance by\n\ - the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ - indication of agreement by the user, the provisioning Technology will complete installation\n\ - of the Installable Software.\n\ -\n\ -Cryptography\n\ -\n\ -Content may contain encryption software. The country in which you are\n\ -currently may have restrictions on the import, possession, and use,\n\ -and/or re-export to another country, of encryption software. BEFORE\n\ -using any encryption software, please check the country's laws,\n\ -regulations and policies concerning the import, possession, or use, and\n\ -re-export of encryption software, to see if this is permitted.\n\ -\n\ -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n -########### end of license property ########################################## diff --git a/releng/org.eclipse.ptp.rdt.remotetools-feature/feature.xml b/releng/org.eclipse.ptp.rdt.remotetools-feature/feature.xml deleted file mode 100644 index 43ed4e3d6..000000000 --- a/releng/org.eclipse.ptp.rdt.remotetools-feature/feature.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<feature - id="org.eclipse.ptp.rdt.remotetools" - label="%featureName" - version="4.0.4.qualifier" - provider-name="%providerName"> - - <description> - %description - </description> - - <copyright> - %copyright - </copyright> - - <license url="%licenseURL"> - %license - </license> - - <url> - <update label="%updateSiteName" url="http://download.eclipse.org/tools/ptp/updates/helios"/> - </url> - - <requires> - <import plugin="org.eclipse.core.runtime"/> - <import plugin="org.eclipse.core.resources" version="3.6.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.core.filesystem" version="1.3.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.dstore.core" version="3.1.1" match="greaterOrEqual"/> - <import plugin="org.eclipse.jface" version="3.6.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.ui" version="3.6.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.cdt.core" version="5.2.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.ptp.remote.core" version="4.0.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.ptp.services.core" version="1.0.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.ptp.rdt.core" version="1.1.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.ptp.remote.ui" version="3.0.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.ptp.services.ui" version="1.0.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.ptp.rdt.ui" version="2.0.0" match="greaterOrEqual"/> - <import plugin="org.eclipse.rse.connectorservice.dstore" version="3.1.1" match="greaterOrEqual"/> - <import plugin="org.eclipse.rse.core" version="3.1.1" match="greaterOrEqual"/> - </requires> - - <plugin - id="org.eclipse.ptp.rdt.server.dstore" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - -</feature> diff --git a/releng/org.eclipse.ptp.rdt.remotetools-feature/license.html b/releng/org.eclipse.ptp.rdt.remotetools-feature/license.html deleted file mode 100644 index c184ca36a..000000000 --- a/releng/org.eclipse.ptp.rdt.remotetools-feature/license.html +++ /dev/null @@ -1,107 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> -<title>Eclipse Foundation Software User Agreement</title> -</head> - -<body lang="EN-US"> -<h2>Eclipse Foundation Software User Agreement</h2> -<p>April 14, 2010</p> - -<h3>Usage Of Content</h3> - -<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS - (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND - CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE - OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR - NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND - CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> - -<h3>Applicable Licenses</h3> - -<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 - ("EPL"). A copy of the EPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. - For purposes of the EPL, "Program" will mean the Content.</p> - -<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code - repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").</p> - -<ul> - <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").</li> - <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> - <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins - and/or Fragments associated with that Feature.</li> - <li>Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.</li> -</ul> - -<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and -Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module -including, but not limited to the following locations:</p> - -<ul> - <li>The top-level (root) directory</li> - <li>Plug-in and Fragment directories</li> - <li>Inside Plug-ins and Fragments packaged as JARs</li> - <li>Sub-directories of the directory named "src" of certain Plug-ins</li> - <li>Feature directories</li> -</ul> - -<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the -installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or -inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. -Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in -that directory.</p> - -<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE -OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> - -<ul> - <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> - <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> - <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> - <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li> - <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> -</ul> - -<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please -contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p> - - -<h3>Use of Provisioning Technology</h3> - -<p>The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse - Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or - other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to - install, extend and update Eclipse-based products. Information about packaging Installable Software is available at <a - href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a> - ("Specification").</p> - -<p>You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the - applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology - in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the - Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:</p> - -<ol> - <li>A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology - on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based - product.</li> - <li>During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be - accessed and copied to the Target Machine.</li> - <li>Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable - Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target - Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern - the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such - indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.</li> -</ol> - -<h3>Cryptography</h3> - -<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to - another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, - possession, or use, and re-export of encryption software, to see if this is permitted.</p> - -<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p> -</body> -</html> diff --git a/releng/org.eclipse.ptp.releng/.cvsignore b/releng/org.eclipse.ptp.releng/.cvsignore deleted file mode 100644 index 3d9429e2c..000000000 --- a/releng/org.eclipse.ptp.releng/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -results -tools diff --git a/releng/org.eclipse.ptp.releng/.project b/releng/org.eclipse.ptp.releng/.project deleted file mode 100644 index 4f01de7b2..000000000 --- a/releng/org.eclipse.ptp.releng/.project +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.releng</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - </buildSpec> - <natures> - </natures> -</projectDescription> diff --git a/releng/org.eclipse.ptp.releng/addDownloadStats.xsl b/releng/org.eclipse.ptp.releng/addDownloadStats.xsl deleted file mode 100644 index 8381dc189..000000000 --- a/releng/org.eclipse.ptp.releng/addDownloadStats.xsl +++ /dev/null @@ -1,57 +0,0 @@ -<!--
-Copyright (c) 2010 Mia-Software
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
-Gregoire Dupe
--->
-<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
- version="1.0">
- <xsl:output encoding="UTF-8" method="xml" indent="yes" />
- <xsl:strip-space elements="*" />
-
- <xsl:template match="/">
- <xsl:processing-instruction name="artifactRepository">version='1.1.0'</xsl:processing-instruction>
-
- <xsl:apply-templates />
- </xsl:template>
-
- <xsl:template match="repository/properties">
- <properties size='{@size+1}'>
- <xsl:copy-of select="property" />
- <property name='p2.statsURI' value='http://download.eclipse.org/stats/ptp' />
- </properties>
- </xsl:template>
-
- <xsl:template match="artifact[@classifier='org.eclipse.update.feature' and @id='org.eclipse.ptp.core']/properties">
- <xsl:call-template name="artifact_properties"/>
- </xsl:template>
-
- <xsl:template match="artifact[@classifier='org.eclipse.update.feature' and @id='org.eclipse.ptp.rdt']/properties">
- <xsl:call-template name="artifact_properties"/>
- </xsl:template>
-
- <xsl:template match="artifact[@classifier='org.eclipse.update.feature' and @id='org.eclipse.photran']/properties">
- <xsl:call-template name="artifact_properties"/>
- </xsl:template>
-
- <xsl:template name="artifact_properties">
- <properties size='{@size+1}'>
- <xsl:copy-of select="property" />
- <property name='download.stats' value='{../@id}_{substring(../@version, 1, string-length(../@version)-15)}' />
- </properties>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:copy>
- <xsl:for-each select="@*">
- <xsl:copy-of select="." />
- </xsl:for-each>
- <xsl:apply-templates />
- </xsl:copy>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/releng/org.eclipse.ptp.releng/build.sh b/releng/org.eclipse.ptp.releng/build.sh deleted file mode 100644 index dc4eb0298..000000000 --- a/releng/org.eclipse.ptp.releng/build.sh +++ /dev/null @@ -1,33 +0,0 @@ -#******************************************************************************* -# Copyright (c) 2008, 2009 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -#******************************************************************************* - -# export display for running the tests -export DISPLAY=:1 - -# set up to use the Java 5 JRE -export PATH=/opt/public/common/ibm-java2-ppc-50/bin:$PATH - -# make sure we're in the releng project dir -cd `dirname $0` - -umask 0022 - -# Checkout basebuilder to run the build -mkdir -p tools -cd tools -cvs -d /cvsroot/eclipse checkout -r v20100423 org.eclipse.releng.basebuilder -cd .. - -# Let's go! -java -jar tools/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar \ - -ws gtk -arch ppc -os linux -application org.eclipse.ant.core.antRunner $* - -exit 0 diff --git a/releng/org.eclipse.ptp.releng/build.xml b/releng/org.eclipse.ptp.releng/build.xml deleted file mode 100644 index 160bf4bb5..000000000 --- a/releng/org.eclipse.ptp.releng/build.xml +++ /dev/null @@ -1,906 +0,0 @@ -<project name="PTP" default="nightly"> - <target name="hi"> - <echo message="${eclipse.home}"/> - </target> - - <target name="build" depends="zips,p2,test"/> - <target name="nightly" depends="tag,zips,sign,p2,test,copy,check"/> - <target name="testbuild" depends="zips,test,copy"/> - <target name="buildcopy" depends="zips,copy"/> - - <target name="init"> - <touch file="${user.home}/.cvspass" /> - <tstamp/> - <!-- Update for new simultaneous release --> - <property name="eclipseRelease" value="helios"/> - <!-- Update for new PTP branch --> - <property name="ptpBranchVersion" value="4.0.4"/> - <!-- The following properties need to be updated to reflect the version we are building against. --> - <!-- NOTE: changing any of these will require corresponding changes in org.eclipse.ptp.rdt.core.remotejars/build.xml --> - <!-- Update for new Eclipse version --> - <property name="eclipseDist" value="/home/data/httpd/download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/eclipse-SDK-3.6-linux-gtk-ppc.tar.gz"/> - <!-- Update for new CDT version --> - <property name="cdtDist" value="/home/data/httpd/download.eclipse.org/tools/cdt/builds/7.0.1/I.I201009141542/cdt-master-7.0.1-I201009141542.zip"/> - <!-- Update for new RSE version --> - <property name="rseDist" value="/home/data/httpd/download.eclipse.org/dsdp/tm/downloads/drops/M20100907-0720/RSE-SDK-M20100907-0720.zip"/> - <!-- Update for new Mylyn version --> - <property name="mylynDist" value="/home/data/httpd/download.eclipse.org/tools/mylyn/update/mylyn-3.4.1-e3.4.zip"/> - <!-- Update to build against a different branch --> - <!-- NOTE: master/build.properties will also have to be changed! --> - <property name="ptpTagBranch" value="-r ptp_4_0"/> - <property name="photranTagBranch" value="-r ptp_4_0"/> - <!-- Properties below here shouldn't need to be changed --> - <property name="timestamp" value="${DSTAMP}${TSTAMP}" /> - <property name="buildType" value="I" /> - <property name="buildId" value="${buildType}${timestamp}"/> - <property name="forceContextQualifier" value="${timestamp}"/> - <property name="buildingOSGi" value="true"/> - <property name="buildDirectory" value="${basedir}/results"/> - <property name="releaseDir" value="/home/www/tools/ptp/builds/${eclipseRelease}"/> - <property name="copyToDir" value="${releaseDir}/${buildType}.${buildId}"/> - <property name="testDirectory" value="${buildDirectory}/test"/> - <property name="baseLocation" value="${buildDirectory}/eclipse"/> - <property name="pde.build.scripts" value="${eclipse.pdebuild.scripts}"/> - <property name="collectingFolder" value="eclipse"/> - <property name="archivePrefix" value="eclipse"/> - <property name="zipsdir" value="${buildDirectory}/${buildType}.${buildId}"/> - <property name="masterFile" value="ptp-master-${ptpBranchVersion}-${buildId}.zip"/> - <property name="masterFeature" value="org.eclipse.ptp.master_${ptpBranchVersion}.${timestamp}.jar"/> - <property name="eclipseTest" value="org.eclipse.test_3.2.0"/> - <property name="mailto" value="g.watson@computer.org"/> - <property name="eclipseRoot" value=":pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse"/> - <property name="baseos" value="${osgi.os}"/> - <property name="basews" value="${osgi.ws}"/> - <property name="basearch" value="${osgi.arch}"/> - <property name="tagname" value="v${timestamp}"/> - <property name="testReports" value="${zipsdir}/testReports"/> - <property name="junit-report-output" value="${testReports}"/> - <property name="jvm1.5" value="/opt/public/common/ibm-java2-ppc-50/bin/java"/> - <condition property="onWindows"> - <os family="windows"/> - </condition> - <mkdir dir="${buildDirectory}"/> - <mkdir dir="${testReports}"/> - </target> - - <target name="fetch" depends="init"> - <ant antfile="build.xml" dir="${pde.build.scripts}" target="preBuild"> - <property name="builder" value="${basedir}/master"/> - </ant> - <ant antfile="build.xml" dir="${pde.build.scripts}" target="fetch"> - <property name="builder" value="${basedir}/master"/> - </ant> - </target> - - <target name="unzip" depends="init" unless="dontUnzip"> - <untar src="${eclipseDist}" dest="${buildDirectory}" compression="gzip"/> - <unzip src="${rseDist}" dest="${buildDirectory}"/> - <unzip src="${cdtDist}" dest="${buildDirectory}/eclipse"/> - <unzip src="${mylynDist}" dest="${buildDirectory}/eclipse"/> - </target> - - <target name="zips" depends="init,unzip"> - <ant antfile="build.xml" dir="${pde.build.scripts}"> - <property name="builder" value="${basedir}/master" /> - </ant> - <concat destfile="${zipsdir}/compilelog.txt"> - <fileset dir="${buildDirectory}/plugins" includes="**/*@dot.log"/> - </concat> - <loadfile property="compileLog" srcFile="${zipsdir}/compilelog.txt"/> - <condition property="hasErrors"> - <contains string="${compileLog}" substring=" ERROR"/> - </condition> - <move file="${zipsdir}/${masterFile}" todir="${buildDirectory}"/> - - <unzip src="${buildDirectory}/${masterFile}" dest="${buildDirectory}/site"/> - <copy file="${buildDirectory}/eclipse/epl-v10.html" todir="${buildDirectory}/site/eclipse"/> - <copy file="${buildDirectory}/eclipse/notice.html" todir="${buildDirectory}/site/eclipse"/> - <copy file="index.html" todir="${buildDirectory}/site/eclipse"/> - <mkdir dir="${buildDirectory}/site/eclipse/web"/> - <copy todir="${buildDirectory}/site/eclipse/web"> - <fileset dir="web"/> - </copy> - <copy file="buildsite.xml" tofile="${buildDirectory}/site/eclipse/site.xml"/> - <replace file="${buildDirectory}/site/eclipse/site.xml"> - <replacefilter token="@timeStamp@" value="${timestamp}"/> - </replace> - <copy file="pack.properties" todir="${buildDirectory}/site/eclipse"/> - - <!-- remove the master feature from the update site --> - <delete verbose="true" file="${buildDirectory}/site/eclipse/features/${masterFeature}"/> - - <zip destfile="${zipsdir}/${masterFile}" - basedir="${buildDirectory}/site/eclipse"/> - </target> - - <target name="sign" depends="init" unless="hasErrors"> - <exec executable="sign"> - <arg value="${buildDirectory}/${buildType}.${buildId}/${masterFile}"/> - <arg value="nomail"/> - <arg value="${buildDirectory}/signed"/> - </exec> - <waitfor maxwait="60" maxwaitunit="minute"> - <available file="${buildDirectory}/signed/${masterFile}"/> - </waitfor> - <move file="${buildDirectory}/signed/${masterFile}" todir="${zipsdir}"/> - </target> - - <target name="test" depends="init" unless="hasErrors"/> - - <target name="check" depends="init" if="hasErrors"> - <echo>BUILD FAILED</echo> - <echo>Errors were detected in the build output.</echo> - </target> - - <target name="copy" depends="init" unless="hasErrors"> - <mkdir dir="${copyToDir}"/> - <copy todir="${copyToDir}"> - <fileset dir="${buildDirectory}/${buildType}.${buildId}"/> - </copy> - <chmod perm="g+w" dir="${copyToDir}"> - <dirset dir="${copyToDir}"/> - </chmod> - <!-- Create symlink to latest build --> - <delete file="${releaseDir}/latest" followsymlinks="false" failonerror="false"/> - <!--symlink action="delete" link="${copyToDir}/latest" failonerror="false"/--> - <symlink link="${releaseDir}/latest" resource="${copyToDir}" overwrite="true"/> - <delete file="${releaseDir}/ptp-master-${ptpBranchVersion}-latest.zip" followsymlinks="false" failonerror="false"/> - <!--symlink action="delete" link="${copyToDir}/ptp-master-${ptpBranchVersion}-latest.zip" failonerror="false"/--> - <symlink link="${releaseDir}/ptp-master-${ptpBranchVersion}-latest.zip" resource="${copyToDir}/${masterFile}" overwrite="true"/> - <delete file="${releaseDir}/rdt-server-unix-${ptpBranchVersion}-latest.tar" followsymlinks="false" failonerror="false"/> - <!--symlink action="delete" link="${copyToDir}/rdt-server-unix-${ptpBranchVersion}-latest.tar" failonerror="false"/--> - <symlink link="${releaseDir}/rdt-server-unix-${ptpBranchVersion}-latest.tar" resource="${copyToDir}/rdt-server-unix-${ptpBranchVersion}.tar" overwrite="true"/> - <symlink link="${releaseDir}/rdt-server-aix-${ptpBranchVersion}-latest.tar" resource="${copyToDir}/rdt-server-aix-${ptpBranchVersion}.tar" overwrite="true"/> - </target> - - <target name="p2" depends="init" unless="hasErrors"> - <!-- unzip the signed master site --> - <property name="p2dir" value="${zipsdir}/p2"/> - <property name="destination" value="${zipsdir}/${masterFile}"/> - - <unzip src="${destination}" dest="${p2dir}"/> - - <!-- generate p2 metadata --> - <antcall target="p2.metadata.generator"> - <param name="p2site" value="${p2dir}"/> - </antcall> - - <!-- add download stats --> - <antcall target="download.stats"> - <param name="p2site" value="${p2dir}"/> - </antcall> - - <!-- zip everything back up --> - <zip destfile="${destination}" - basedir="${p2dir}"/> - <delete dir="${p2dir}"/> - </target> - - <target name="p2.metadata.generator"> - <echo message="Generate p2 Metadata" /> - <property name="p2site" value="${zipsdir}/p2"/> - <property name="launcher" value="${basedir}/tools/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar"/> - <java jar="${launcher}" fork="true" timeout="10800000" jvm="${jvm1.5}" failonerror="true" maxmemory="768m" dir="${buildDirectory}/eclipse"> - <arg line="-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator" /> - <arg line="-updateSite ${p2site}"/> - <arg line="-site file:${p2site}/site.xml"/> - <arg line="-metadataRepository file:${p2site}"/> - <arg line="-metadataRepositoryName PTP Update Site"/> - <arg line="-artifactRepository file:${p2site}"/> - <arg line="-artifactRepositoryName PTP Artifacts"/> - <arg line="-compress"/> - <arg line="-reusePack200Files"/> - <arg line="-noDefaultIUs"/> - <arg line="-vmargs -Xmx256M"/> - </java> - </target> - - <target name = "download.stats"> - <echo message="Adding download stats"/> - <unzip src="${p2dir}/artifacts.jar" dest="${p2dir}"/> - <move file="${p2dir}/artifacts.xml" tofile="${p2dir}/artifacts.xml_tmp"/> - <xslt style="${basedir}/addDownloadStats.xsl" in="${p2dir}/artifacts.xml_tmp" out="${p2dir}/artifacts.xml" /> - <zip destfile="${p2dir}/artifacts.jar" basedir="${p2dir}" includes="artifacts.xml"/> - <delete file="${p2dir}/artifacts.xml"/> - <delete file="${p2dir}/artifacts.xml_tmp"/> - </target> - - <target name="tagone"> - <cvs cvsroot="/cvsroot/tools" command="rtag ${tagbranch} ${tagname} ${tagmodule}"/> - </target> - - <target name="tag" depends="init"> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.master"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - - <!--Features--> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.utils-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.core-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.remote-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.remote.remotetools-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.remote.rse-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.remotetools-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rm.ibm.ll-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rm.ibm.pe-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rm.mpich2-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rm.openmpi-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rm.slurm-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rm.pbs-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.external-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.sdm-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.pldt-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.pldt.lapi-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.pldt.upc-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.etfw-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.etfw.tau-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.etfw.ppw-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.etfw.tau.fortran-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rdt-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rdt.xlc-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.rdt.remotejars-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.services-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.gem-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.sci-feature"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - - <!--Plugins--> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.utils.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.utils.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.proxy.protocol"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.remote.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.remote.remotetools.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.remote.remotetools.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.remote.rse.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.remote.rse.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.remote.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.generic.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.generic.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.help"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.proxy"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.help"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.proxy"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.mpich2.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.mpich2.proxy"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.mpich2.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.openmpi.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.openmpi.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.jproxy"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.help"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.proxy.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.help"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.proxy"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagbranch" value="${ptpTagBranch}"/> - <param name="tagmodule" value="org.eclipse.ptp/rms/org.eclipse.ptp.rm.ui"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/debug/org.eclipse.ptp.debug.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/debug/org.eclipse.ptp.debug.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.proxy"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.utils"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.generichost"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.launcher"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.preferences"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.utils"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.launch"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/doc/org.eclipse.ptp.help"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.common"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.help"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.lapi"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.mpi.analysis"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.mpi.analysis.cdt"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.mpi.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.openmp.analysis"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.openmp.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.openmp.ui.pv"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.upc"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/org.eclipse.ptp.pldt.wizards"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/ppw/org.eclipse.ptp.etfw.ppw"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.jars"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.papiselect"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.perfdmf"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.selinst"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.selinstfort"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.toolopts"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.feedback"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core.remotejars"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core.stubs"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.server.dstore"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.doc.user"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.managedbuilder.xlc.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.managedbuilder.xlupc.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.xlc"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.make.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core.tests"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.services.test"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.ui.test"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.aix.ppc"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.linux.ppc"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.linux.x86"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.linux.x86_64"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.macosx.ppc"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/releng/org.eclipse.ptp.macosx.x86"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.parallel"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.services.core"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.services.test"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/core/org.eclipse.ptp.services.ui"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/gem/org.eclipse.ptp.gem"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/sci/org.eclipse.ptp.sci"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/tools/gem/org.eclipse.ptp.gem.help"/> - <param name="tagbranch" value="${ptpTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran-dev-docs"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran-feature"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran-samples"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.cdtinterface"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.cdtinterface.vpg"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.cmdline"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.core"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.core.intel"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.core.vpg"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.core.vpg.preprocessor.c"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.core.vpg.preprocessor.c.tests"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.core.vpg.tests"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.core.vpg.tests.failing"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.doc.user"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.errorparsers.xlf"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.intel-feature"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.core"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.gnu.ui"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.intel.ui"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.ui"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.xlf.ui"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.master"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.releng"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.ui"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.ui.vpg"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.ui.vpg.preprocessor.c"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.vpg-feature"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.photran.xlf-feature"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine-feature"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine-support"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.core"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.core.refactoring"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.core.vpg"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.core.vpg.tests"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.doc.isv"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.examples.testing"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.examples.text"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.testing.junit3"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.ui"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.ui.refactoring"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - <antcall target="tagone"> - <param name="tagmodule" value="org.eclipse.ptp/photran/org.eclipse.rephraserengine.ui.vpg"/> - <param name="tagbranch" value="${photranTagBranch}"/> - </antcall> - </target> -</project> diff --git a/releng/org.eclipse.ptp.releng/buildsite.xml b/releng/org.eclipse.ptp.releng/buildsite.xml deleted file mode 100644 index 2d46145ca..000000000 --- a/releng/org.eclipse.ptp.releng/buildsite.xml +++ /dev/null @@ -1,105 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<site> - <description url="http://download.eclipse.org/tools/ptp/updates/helios"> - Parallel Tools Platform Helios Update Site - </description> - <feature url="features/org.eclipse.ptp_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.core_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.core" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.debug.sdm_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.debug.sdm" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.etfw_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.etfw" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.external_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.external" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.pldt_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.pldt" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.remote_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.remote" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.remote.remotetools_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.remote.remotetools" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.remotetools_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.remotetools" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.rm.ibm.ll_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rm.ibm.ll" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.rm.ibm.pe_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rm.ibm.pe" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.rm.mpich2_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rm.mpich2" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.rm.openmpi_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rm.openmpi" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.rm.pbs_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rm.pbs" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.rm.slurm_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rm.slurm" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.services_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.services" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.utils_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.utils" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.pldt.lapi_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.pldt.lapi" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.gem_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.gem" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.remote.rse_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.remote.rse" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.pldt.upc_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.pldt.upc" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.etfw.tau_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.etfw.tau" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.etfw.tau.fortran_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.etfw.tau.fortran" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.etfw.ppw_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.etfw.ppw" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.sci_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.sci" version="4.0.4.@timeStamp@"> - <category name="Parallel Tools Platform"/> - </feature> - <feature url="features/org.eclipse.ptp.rdt_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rdt" version="4.0.4.@timeStamp@"> - <category name="Remote Development Tools"/> - </feature> - <feature url="features/org.eclipse.ptp.rdt.xlc_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rdt.xlc" version="4.0.4.@timeStamp@"> - <category name="Remote Development Tools"/> - </feature> - <feature url="features/org.eclipse.ptp.rdt.remotetools_4.0.4.@timeStamp@.jar" id="org.eclipse.ptp.rdt.remotetools" version="4.0.4.@timeStamp@"> - <category name="Remote Development Tools"/> - </feature> - <feature url="features/org.eclipse.photran_6.0.4.@timeStamp@.jar" id="org.eclipse.photran" version="6.0.4.@timeStamp@"> - <category name="Fortran Development Tools (Photran)"/> - </feature> - <feature url="features/org.eclipse.photran.intel_6.0.4.@timeStamp@.jar" id="org.eclipse.photran.intel" version="6.0.4.@timeStamp@" os="linux"> - <category name="Fortran Development Tools (Photran)"/> - </feature> - <feature url="features/org.eclipse.photran.xlf_6.0.4.@timeStamp@.jar" id="org.eclipse.photran.xlf" version="6.0.4.@timeStamp@"> - <category name="Fortran Development Tools (Photran)"/> - </feature> - <feature url="features/org.eclipse.rephraserengine_6.0.4.@timeStamp@.jar" id="org.eclipse.rephraserengine" version="6.0.4.@timeStamp@"> - <category name="Fortran Development Tools (Photran)"/> - </feature> - <category-def name="Parallel Tools Platform" label="Parallel Tools Platform"/> - <category-def name="Remote Development Tools" label="Remote Development Tools"/> - <category-def name="Fortran Development Tools (Photran)" label="Fortran Development Tools (Photran)"/> -</site> diff --git a/releng/org.eclipse.ptp.releng/index.html b/releng/org.eclipse.ptp.releng/index.html deleted file mode 100644 index b402e6c82..000000000 --- a/releng/org.eclipse.ptp.releng/index.html +++ /dev/null @@ -1,81 +0,0 @@ -<html> -<head> -<title>PTP Update Site</title> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<style>@import url("web/site.css");</style> -<script type="text/javascript"> - var transformDone = false; - var stylesheet, xmlFile; - - function loadXMLDoc(url, callback) { - if (window.XMLHttpRequest) { - var req = new XMLHttpRequest(); - - function processReqChange() { - if (req.readyState == 4) { // only if req shows "loaded" - if (req.status == 200) { // only if "OK" - callback(req.responseXML); - } else { - alert("There was a problem retrieving the XML data:\n" + req.statusText); - } - } - } - - req.onreadystatechange = processReqChange; - req.open("GET", url, true); - req.send(null); - } - } - - function init() { - if (window.ActiveXObject) { - xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0"); - xmlFile.async = false; - xmlFile.load("site.xml"); - stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0"); - stylesheet.async = false; - stylesheet.load("web/site.xsl"); - cache = new ActiveXObject("msxml2.XSLTemplate.3.0"); - cache.stylesheet = stylesheet; - transformDataIE(); - } else { - xmlFile = stylesheet = null; - transformDone = false; - loadXMLDoc("site.xml", - function(result) { - xmlFile = result; - transform(); - } - ); - loadXMLDoc("web/site.xsl", - function(result) { - stylesheet = result; - transform(); - } - ); - } - } - function transform() { - if (!transformDone && xmlFile && stylesheet) { - var processor = new XSLTProcessor(); - processor.importStylesheet(stylesheet); - var doc = processor.transformToDocument(xmlFile); - var dataDivBody = document.getElementById("data"); -// alert(new XMLSerializer().serializeToString(doc.documentElement.innerHTML)); - dataDivBody.innerHTML = doc.documentElement.innerHTML; - transformDone = true; - } - } - function transformDataIE() { // separate transformation function for IE 6.0+ - var processor = cache.createProcessor(); - processor.input = xmlFile; - processor.transform(); - data.innerHTML = processor.output; - } -</script> -</head> -<body onload="init();"> -<!--[insert static HTML here]--> -<div id="data"><!-- this is where the transformed data goes --></div> -</body> -</html> diff --git a/releng/org.eclipse.ptp.releng/maps/photran.map b/releng/org.eclipse.ptp.releng/maps/photran.map deleted file mode 100644 index 4b962b9e8..000000000 --- a/releng/org.eclipse.ptp.releng/maps/photran.map +++ /dev/null @@ -1,36 +0,0 @@ -! Master feature -!feature@org.eclipse.photran.master=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.master - -! Photran features -feature@org.eclipse.rephraserengine=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine-feature -feature@org.eclipse.photran=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran-feature -feature@org.eclipse.photran.xlf=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.xlf-feature -feature@org.eclipse.photran.intel=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.intel-feature - -! Plugins -plugin@org.eclipse.rephraserengine.core=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine.core -plugin@org.eclipse.rephraserengine.core.refactoring=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine.core.refactoring -plugin@org.eclipse.rephraserengine.core.vpg=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine.core.vpg -plugin@org.eclipse.rephraserengine.doc.isv=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine.doc.isv -plugin@org.eclipse.rephraserengine.ui=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine.ui -plugin@org.eclipse.rephraserengine.ui.refactoring=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine.ui.refactoring -plugin@org.eclipse.rephraserengine.ui.vpg=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.rephraserengine.ui.vpg -plugin@org.eclipse.photran.core=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.core -plugin@org.eclipse.photran.managedbuilder.core=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.core -plugin@org.eclipse.photran.managedbuilder.ui=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.ui -plugin@org.eclipse.photran.cdtinterface=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.cdtinterface -plugin@org.eclipse.photran.ui=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.ui -plugin@org.eclipse.photran.managedbuilder.gnu.ui=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.gnu.ui -plugin@org.eclipse.photran.cdtinterface.vpg=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.cdtinterface.vpg -plugin@org.eclipse.photran.core.vpg=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.core.vpg -plugin@org.eclipse.photran.ui.vpg=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.ui.vpg -plugin@org.eclipse.photran.core.vpg.preprocessor.c=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.core.vpg.preprocessor.c -plugin@org.eclipse.photran.ui.vpg.preprocessor.c=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.ui.vpg.preprocessor.c -plugin@org.eclipse.photran.managedbuilder.intel.ui=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.intel.ui -plugin@org.eclipse.photran.core.intel=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.core.intel -plugin@org.eclipse.photran.errorparsers.xlf=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.errorparsers.xlf -plugin@org.eclipse.photran.managedbuilder.xlf.ui=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.managedbuilder.xlf.ui -plugin@org.eclipse.photran.doc.user=@photranTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/photran/org.eclipse.photran.doc.user - -! Tests - diff --git a/releng/org.eclipse.ptp.releng/maps/ptp.map b/releng/org.eclipse.ptp.releng/maps/ptp.map deleted file mode 100644 index a0594fabd..000000000 --- a/releng/org.eclipse.ptp.releng/maps/ptp.map +++ /dev/null @@ -1,165 +0,0 @@ -! The master -feature@org.eclipse.ptp.master=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.master - -! PTP features -feature@org.eclipse.ptp=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp-feature -feature@org.eclipse.ptp.utils=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.utils-feature -feature@org.eclipse.ptp.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.core-feature -feature@org.eclipse.ptp.remote=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.remote-feature -feature@org.eclipse.ptp.remote.remotetools=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.remote.remotetools-feature -feature@org.eclipse.ptp.remote.rse=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.remote.rse-feature -feature@org.eclipse.ptp.remotetools=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.remotetools-feature -feature@org.eclipse.ptp.rm.ibm.ll=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rm.ibm.ll-feature -feature@org.eclipse.ptp.rm.ibm.pe=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rm.ibm.pe-feature -feature@org.eclipse.ptp.rm.mpich2=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rm.mpich2-feature -feature@org.eclipse.ptp.rm.openmpi=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rm.openmpi-feature -feature@org.eclipse.ptp.rm.pbs=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rm.pbs-feature -feature@org.eclipse.ptp.rm.slurm=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rm.slurm-feature -feature@org.eclipse.ptp.external=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.external-feature -feature@org.eclipse.ptp.debug.sdm=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.sdm-feature -feature@org.eclipse.ptp.services=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.services-feature - -! PLDT features -feature@org.eclipse.ptp.pldt=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.pldt-feature -feature@org.eclipse.ptp.pldt.lapi=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.pldt.lapi-feature -feature@org.eclipse.ptp.pldt.upc=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.pldt.upc-feature - -! ETFw (formerly PERF) features -feature@org.eclipse.ptp.etfw=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.etfw-feature -feature@org.eclipse.ptp.etfw.tau=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.etfw.tau-feature -feature@org.eclipse.ptp.etfw.tau.fortran=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.etfw.tau.fortran-feature -feature@org.eclipse.ptp.etfw.ppw=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.etfw.ppw-feature - -! RDT features -feature@org.eclipse.ptp.rdt=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rdt-feature -feature@org.eclipse.ptp.rdt.xlc=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rdt.xlc-feature -feature@org.eclipse.ptp.rdt.remotejars=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.rdt.remotejars-feature - -! GEM feature -feature@org.eclipse.ptp.gem=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.gem-feature - -! PPW Feature -plugin@org.eclipse.ptp.etfw.ppw=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/ppw/org.eclipse.ptp.etfw.ppw - -! SCI feature -feature@org.eclipse.ptp.sci=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.sci-feature - -! PTP Plugins -plugin@org.eclipse.ptp=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp -plugin@org.eclipse.ptp.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.core -plugin@org.eclipse.ptp.utils.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.utils.core -plugin@org.eclipse.ptp.utils.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.utils.ui -plugin@org.eclipse.ptp.proxy.protocol=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.proxy.protocol -plugin@org.eclipse.ptp.remote.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.remote.core -plugin@org.eclipse.ptp.remote.remotetools.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.remote.remotetools.core -plugin@org.eclipse.ptp.remote.remotetools.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.remote.remotetools.ui -plugin@org.eclipse.ptp.remote.rse.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.remote.rse.core -plugin@org.eclipse.ptp.remote.rse.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.remote.rse.ui -plugin@org.eclipse.ptp.remote.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.remote.ui -plugin@org.eclipse.ptp.rm.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.core -plugin@org.eclipse.ptp.rm.generic.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.generic.core -plugin@org.eclipse.ptp.rm.generic.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.generic.ui -plugin@org.eclipse.ptp.rm.ibm.ll.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.core -plugin@org.eclipse.ptp.rm.ibm.ll.help=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.help -plugin@org.eclipse.ptp.rm.ibm.ll.proxy=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.proxy -plugin@org.eclipse.ptp.rm.ibm.ll.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.ll.ui -plugin@org.eclipse.ptp.rm.ibm.pe.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.core -plugin@org.eclipse.ptp.rm.ibm.pe.help=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.help -plugin@org.eclipse.ptp.rm.ibm.pe.proxy=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.proxy -plugin@org.eclipse.ptp.rm.ibm.pe.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ibm.pe.ui -plugin@org.eclipse.ptp.rm.mpi.mpich2.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.mpich2.core -plugin@org.eclipse.ptp.rm.mpi.mpich2.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.mpich2.ui -plugin@org.eclipse.ptp.rm.mpi.openmpi.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.openmpi.core -plugin@org.eclipse.ptp.rm.mpi.openmpi.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.mpi.openmpi.ui -plugin@org.eclipse.ptp.rm.pbs.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.core -plugin@org.eclipse.ptp.rm.pbs.help=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.help -plugin@org.eclipse.ptp.rm.pbs.jproxy=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.jproxy -plugin@org.eclipse.ptp.rm.pbs.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.pbs.ui -plugin@org.eclipse.ptp.rm.proxy.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.proxy.core -plugin@org.eclipse.ptp.rm.slurm.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.core -plugin@org.eclipse.ptp.rm.slurm.help=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.help -plugin@org.eclipse.ptp.rm.slurm.proxy=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.proxy -plugin@org.eclipse.ptp.rm.slurm.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.slurm.ui -plugin@org.eclipse.ptp.rm.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rms/org.eclipse.ptp.rm.ui -plugin@org.eclipse.ptp.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.ui -plugin@org.eclipse.ptp.debug.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/debug/org.eclipse.ptp.debug.core -plugin@org.eclipse.ptp.debug.sdm=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm -plugin@org.eclipse.ptp.debug.sdm.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm.core -plugin@org.eclipse.ptp.debug.sdm.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm.ui -plugin@org.eclipse.ptp.debug.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/debug/org.eclipse.ptp.debug.ui -plugin@org.eclipse.ptp.debug.sdm=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/debug/org.eclipse.ptp.debug.sdm -plugin@org.eclipse.ptp.proxy=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.proxy -plugin@org.eclipse.ptp.utils=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.utils -plugin@org.eclipse.ptp.launch=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.launch -plugin@org.eclipse.ptp.help=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/doc/org.eclipse.ptp.help - -! Services Plugins -plugin@org.eclipse.ptp.services.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.services.core -plugin@org.eclipse.ptp.services.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/core/org.eclipse.ptp.services.ui - -! Remote Tools Plugins -plugin@org.eclipse.ptp.remotetools.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.core -plugin@org.eclipse.ptp.remotetools.environment.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.core -plugin@org.eclipse.ptp.remotetools.environment.generichost=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.generichost -plugin@org.eclipse.ptp.remotetools.environment.launcher=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.launcher -plugin@org.eclipse.ptp.remotetools.environment.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.environment.ui -plugin@org.eclipse.ptp.remotetools.preferences=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.preferences -plugin@org.eclipse.ptp.remotetools.utils=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.remotetools.utils - -! PLDT Plugins -plugin@org.eclipse.ptp.pldt.common=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.common -plugin@org.eclipse.ptp.pldt.help=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.help -plugin@org.eclipse.ptp.pldt.lapi=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.lapi -plugin@org.eclipse.ptp.pldt.mpi.analysis=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.mpi.analysis -plugin@org.eclipse.ptp.pldt.mpi.analysis.cdt=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.mpi.analysis.cdt -plugin@org.eclipse.ptp.pldt.mpi.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.mpi.core -plugin@org.eclipse.ptp.pldt.openmp.analysis=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.openmp.analysis -plugin@org.eclipse.ptp.pldt.openmp.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.openmp.core -plugin@org.eclipse.ptp.pldt.openmp.ui.pv=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.openmp.ui.pv -plugin@org.eclipse.ptp.pldt.upc=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.upc -plugin@org.eclipse.ptp.pldt.wizards=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/org.eclipse.ptp.pldt.wizards - -! ETF Plugins -plugin@org.eclipse.ptp.etfw=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw -plugin@org.eclipse.ptp.etfw.tau=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau -plugin@org.eclipse.ptp.etfw.tau.papiselect=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.papiselect -plugin@org.eclipse.ptp.etfw.tau.perfdmf=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.perfdmf -plugin@org.eclipse.ptp.etfw.tau.selinst=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.selinst -plugin@org.eclipse.ptp.etfw.tau.selinstfort=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.tau.selinstfort -plugin@org.eclipse.ptp.etfw.toolopts=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.toolopts -plugin@org.eclipse.ptp.etfw.feedback=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.feedback - -! RDT Plugins -plugin@org.eclipse.ptp.rdt.core=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core -plugin@org.eclipse.ptp.rdt.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.ui -plugin@org.eclipse.ptp.rdt.doc.user=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.doc.user -plugin@org.eclipse.ptp.rdt.managedbuilder.xlc.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.managedbuilder.xlc.ui -plugin@org.eclipse.ptp.rdt.managedbuilder.xlupc.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.managedbuilder.xlupc.ui -plugin@org.eclipse.ptp.rdt.xlc=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.xlc -plugin@org.eclipse.ptp.rdt.make.ui=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.make.ui -plugin@org.eclipse.ptp.rdt.core.remotejars=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core.remotejars -plugin@org.eclipse.ptp.rdt.core.stubs=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core.stubs -plugin@org.eclipse.ptp.rdt.server.dstore=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.server.dstore - -! GEM Plugins -plugin@org.eclipse.ptp.gem=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/gem/org.eclipse.ptp.gem -plugin@org.eclipse.ptp.gem.help=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/gem/org.eclipse.ptp.gem.help - -! PPW Plugin -plugin@org.eclipse.ptp.etfw.ppw=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/ppw/org.eclipse.ptp.etfw.ppw - -! SCI Plugin -plugin@org.eclipse.ptp.sci=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/sci/org.eclipse.ptp.sci - -! Fragments -fragment@org.eclipse.ptp.aix.ppc=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.aix.ppc -fragment@org.eclipse.ptp.linux.ppc=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.linux.ppc -fragment@org.eclipse.ptp.linux.x86=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.linux.x86 -fragment@org.eclipse.ptp.linux.x86_64=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.linux.x86_64 -fragment@org.eclipse.ptp.macosx.ppc=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.macosx.ppc -fragment@org.eclipse.ptp.macosx.x86=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/releng/org.eclipse.ptp.macosx.x86 -fragment@org.eclipse.ptp.etfw.parallel=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/tools/etfw/org.eclipse.ptp.etfw.parallel - -! Tests -plugin@org.eclipse.ptp.rdt.core.tests=@ptpTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.ptp/rdt/org.eclipse.ptp.rdt.core.tests - diff --git a/releng/org.eclipse.ptp.releng/master/build.properties b/releng/org.eclipse.ptp.releng/master/build.properties deleted file mode 100644 index eabac8384..000000000 --- a/releng/org.eclipse.ptp.releng/master/build.properties +++ /dev/null @@ -1,104 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2007 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -##################### -# Parameters describing how and where to execute the build. -# Typical users need only update the following properties: -# baseLocation - where things you are building against are installed -# bootclasspath - The base jars to compile against (typicaly rt.jar) -# configs - the list of {os, ws, arch} configurations to build. -# -# Of course any of the settings here can be overridden by spec'ing -# them on the command line (e.g., -DbaseLocation=d:/eclipse - -############# CVS CONTROL ################ -# The CVS tag to use when fetching the map files from the repository -mapVersionTag=ptp_4_0 - -# The CVS tag to use when fetching elements to build. By default the -# builder will use whatever is in the maps. Use this value to override -# for example, when doing a nightly build out of HEAD -# fetchTag=HEAD - -ptpTag=ptp_4_0 -photranTag=ptp_4_0 - -############## BUILD / GENERATION CONTROL ################ -# The directory into which the build elements will be fetched and where -# the build will take place. buildDirectory and install should be the same -# value. -buildDirectory=build - -# Type of build. Used in naming the build output. Typically this value is -# one of I, N, M, S, ... -buildType=I - -# ID of the build. Used in naming the build output. -buildId=TestBuild - -# Label for the build. Used in naming the build output -buildLabel=${buildType}.${buildId} - -# Timestamp for the build. Used in naming the build output -timestamp=007 - -# Base location for anything the build needs to compile against. For example, -# when building GEF, the baseLocation should be the location of a previously -# installed Eclipse against which the GEF code will be compiled. -baseLocation= - -#Os/Ws/Arch/nl of the eclipse specified by baseLocation -#baseos -#basews -#basearch -#basenl - -# The location underwhich all of the build output will be collected. This will be -# the root path in the resultant zip file. -collPlace=eclipse - -# The directory in which to execute zip of the ${collPlace} directory -collBase=. - -# The list of {os, ws, arch} configurations to build. This -# value is a '&' separated list of ',' separate triples. For example, -# configs=win32,win32,x86 & linux,motif,x86 -# By default the value is *,*,* -configs= \ - aix,motif,ppc \ - & linux,gtk,x86 \ - & linux,gtk,x86_64 \ - & linux,gtk,ppc \ - & macosx,cocoa,ppc \ - & macosx,cocoa,x86 \ - & macosx,cocoa,x86_64 \ - & win32,win32,x86 - -outputUpdateJars=true -groupConfigurations=true - -#Arguments to send to the zip executable -zipargs= - -flattenDependencies=true - -############# JAVA COMPILER OPTIONS ############## -# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE -#bootclasspath=d:/ibm1.3.1/jre/lib/rt.jar - -javacDebugInfo=on -javacVerbose=true -javacFailOnError=false - -# The version of the source code -javacSource=1.5 - -# The version of the byte code targeted -javacTarget=1.5 diff --git a/releng/org.eclipse.ptp.releng/master/customTargets.xml b/releng/org.eclipse.ptp.releng/master/customTargets.xml deleted file mode 100644 index 77666e2a9..000000000 --- a/releng/org.eclipse.ptp.releng/master/customTargets.xml +++ /dev/null @@ -1,195 +0,0 @@ -<project name="Build specific targets and properties" default="noDefault" > - -<!-- ===================================================================== --> -<!-- Run a given ${target} on all elements being built --> -<!-- Add on <ant> task for each top level element being built. --> -<!-- ===================================================================== --> -<target name="allElements"> - <ant antfile="${genericTargets}" target="${target}"> - <property name="type" value="feature"/> - <property name="id" value="org.eclipse.ptp.master"/> - </ant> -</target> - -<!-- ===================================================================== --> -<!-- Targets to assemble the built elements for particular configurations --> -<!-- These generally call the generated assemble scripts (named in --> -<!-- ${assembleScriptName}) but may also add pre and post processing --> -<!-- Add one target for each root element and each configuration --> -<!-- ===================================================================== --> - -<target name="assemble.org.eclipse.ptp.master.group.group.group"> - <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> - <property name="archiveName" value="ptp-master-${ptpBranchVersion}-${buildId}.zip"/> - </ant> -</target> - -<!-- ===================================================================== --> -<!-- Check out map files from correct repository --> -<!-- Replace values for cvsRoot, package and mapVersionTag as desired. --> -<!-- ===================================================================== --> -<target name="getMapFiles"> - <copy file="${builder}/../maps/ptp.map" todir="${buildDirectory}/maps"/> - <replace file="${buildDirectory}/maps/ptp.map"> - <replacefilter token="@ptpTag@" value="${ptpTag}"/> - </replace> - <copy file="${builder}/../maps/photran.map" todir="${buildDirectory}/maps"/> - <replace file="${buildDirectory}/maps/photran.map"> - <replacefilter token="@photranTag@" value="${photranTag}"/> - </replace> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do before setup --> -<!-- ===================================================================== --> -<target name="preSetup"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do after setup but before starting the build proper --> -<!-- ===================================================================== --> -<target name="postSetup"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do before fetching the build elements --> -<!-- ===================================================================== --> -<target name="preFetch"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do after fetching the build elements --> -<!-- ===================================================================== --> -<target name="postFetch"> - <condition property="patchesAvailable"> - <available file="${builder}/patch.xml"/> - </condition> - <antcall target="applyPatches"/> -</target> - -<target name="applyPatches" if="patchesAvailable"> - <ant antfile="${builder}/patch.xml"/> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do before generating the build scripts. --> -<!-- ===================================================================== --> -<target name="preGenerate"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do after generating the build scripts. --> -<!-- ===================================================================== --> -<target name="postGenerate"> -</target> - - -<!-- ===================================================================== --> -<!-- Steps to do before running the build.xmls for the elements being built. --> -<!-- ===================================================================== --> -<target name="preProcess"> - <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@"> - <include name="**/about.mappings" /> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.aix.ppc/BUILD"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.linux.ppc/BUILD"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.linux.x86/BUILD"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.linux.x86_64/BUILD"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.macosx.ppc/BUILD"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.macosx.x86/BUILD"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.debug.sdm/configure"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.debug.sdm/configure.in"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.proxy/configure"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.proxy/configure.in"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.utils/configure"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.utils/configure.in"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.ll.proxy/configure"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.ll.proxy/configure.in"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.pe.proxy/configure"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.pe.proxy/configure.in"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.slurm.proxy/configure"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - <replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.slurm.proxy/configure.in"> - <replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/> - </replace> - -</target> - -<!-- ===================================================================== --> -<!-- Steps to do after running the build.xmls for the elements being built. --> -<!-- ===================================================================== --> -<target name="postProcess"> -</target> - - -<!-- ===================================================================== --> -<!-- Steps to do before running assemble. --> -<!-- ===================================================================== --> -<target name="preAssemble"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do after running assemble. --> -<!-- ===================================================================== --> -<target name="postAssemble"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do after the build is done. --> -<!-- ===================================================================== --> -<target name="postBuild"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do to test the build results --> -<!-- ===================================================================== --> -<target name="test"> -</target> - -<!-- ===================================================================== --> -<!-- Steps to do to publish the build results --> -<!-- ===================================================================== --> -<target name="publish"> -</target> - -<!-- ===================================================================== --> -<!-- Default target --> -<!-- ===================================================================== --> -<target name="noDefault"> - <echo message="You must specify a target when invoking this file" /> -</target> - -</project> diff --git a/releng/org.eclipse.ptp.releng/pack.properties b/releng/org.eclipse.ptp.releng/pack.properties deleted file mode 100644 index 1cb5a5e11..000000000 --- a/releng/org.eclipse.ptp.releng/pack.properties +++ /dev/null @@ -1 +0,0 @@ -pack200.default.args=-E4 diff --git a/releng/org.eclipse.ptp.releng/ptpbuild b/releng/org.eclipse.ptp.releng/ptpbuild deleted file mode 100644 index 373c1b814..000000000 --- a/releng/org.eclipse.ptp.releng/ptpbuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# ptpbuild wrapper script -# -# Usage: ptpbuild [-t tag] [-d build_dir] [build_args] -# -# where -# -# tag is the CVS tag used to check out the releng project (default HEAD) -# build_dir is the location that the build will take place -# build_args are any arguments you want to pass to the build script -# -# set up anything environment specific that needs to be done before -# launching the build script in the releng project - -LANG=en_US -TAG=HEAD -CDT_TAG=HEAD - -# main staging directory -BUILD_DIR=/opt/public/download-staging.priv/tools/ptp/releng - -args=`getopt c:d:t: $*` - -if [ $? != 0 ]; then - echo "usage: ptpbuild [-t tag] [-c cdt_tag] [-d build_dir] [build_args]" - exit 1 -fi - -set -- $args -for i -do - case "$i" - in - -c) CDT_TAG="$2"; shift; shift;; - -d) BUILD_DIR="$2"; shift; shift;; - -t) TAG="$2"; shift; shift;; - --) shift; break;; - esac -done - -BUILD_LOG=$BUILD_DIR/ptpbuild_${TAG}_`date +%Y%m%d%H%M`.log - -touch $BUILD_LOG -chmod a+r $BUILD_LOG - -{ -# create the releng staging directory and go there -mkdir -p $BUILD_DIR && cd $BUILD_DIR - -# remove the old build -rm -fr org.eclipse.ptp_${TAG} - -# Check out the releng project -cvs -d /cvsroot/tools co -r $TAG -d org.eclipse.ptp_${TAG} org.eclipse.ptp/releng/org.eclipse.ptp.releng - -# run the main script -cd org.eclipse.ptp_${TAG} -sh build.sh $* - -} >$BUILD_LOG 2>&1 - -if grep -q 'BUILD FAILED' $BUILD_LOG; then - echo "BUILD FAILED. See $BUILD_LOG for details." -fi - -exit 0 diff --git a/releng/org.eclipse.ptp.releng/update_versions b/releng/org.eclipse.ptp.releng/update_versions deleted file mode 100644 index 1be52ab4c..000000000 --- a/releng/org.eclipse.ptp.releng/update_versions +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -# -# script to update PTP versions -# -# Usage: update_versions ptp_version photran_version -# -# ptp_version - new version string for PTP (e.g. "3.0.1") -# photran_version - new version string for Photran (e.g. "5.0.1") -# -# Note: a "qualifier" suffix will automatically be added to the version where appropriate -# - -TMP_DIR=/tmp - -if [ $# -lt 2 ]; then - echo "usage: update_versions ptp_version photran_version" - exit 1 -fi - -ptp_version=$1 -photran_version=$2 - -PTP_FEATURES="\ - org.eclipse.ptp-feature \ - org.eclipse.ptp.core-feature \ - org.eclipse.ptp.etfw-feature \ - org.eclipse.ptp.etfw.ppw-feature \ - org.eclipse.ptp.etfw.tau-feature \ - org.eclipse.ptp.etfw.tau.fortran-feature \ - org.eclipse.ptp.external-feature \ - org.eclipse.ptp.gem-feature \ - org.eclipse.ptp.master \ - org.eclipse.ptp.pldt-feature \ - org.eclipse.ptp.pldt.lapi-feature \ - org.eclipse.ptp.pldt.upc-feature \ - org.eclipse.ptp.rdt-feature \ - org.eclipse.ptp.rdt.remotejars-feature \ - org.eclipse.ptp.rdt.remotetools-feature \ - org.eclipse.ptp.rdt.xlc-feature \ - org.eclipse.ptp.remote-feature \ - org.eclipse.ptp.remote.remotetools-feature \ - org.eclipse.ptp.remote.rse-feature \ - org.eclipse.ptp.remotetools-feature \ - org.eclipse.ptp.rm.ibm.ll-feature \ - org.eclipse.ptp.rm.ibm.pe-feature \ - org.eclipse.ptp.rm.mpich2-feature \ - org.eclipse.ptp.rm.openmpi-feature \ - org.eclipse.ptp.rm.pbs-feature \ - org.eclipse.ptp.rm.slurm-feature \ - org.eclipse.ptp.sci-feature \ - org.eclipse.ptp.sdm-feature \ - org.eclipse.ptp.services-feature \ - org.eclipse.ptp.utils-feature" - -PHOTRAN_FEATURES="\ - org.eclipse.photran-feature \ - org.eclipse.photran.intel-feature \ - org.eclipse.photran.xlf-feature \ - org.eclipse.rephraserengine-feature" - -PTP_PLUGINS="\ - org.eclipse.ptp.aix.ppc \ - org.eclipse.ptp.linux.ppc \ - org.eclipse.ptp.linux.x86 \ - org.eclipse.ptp.linux.x86_64 \ - org.eclipse.ptp.macosx.ppc \ - org.eclipse.ptp.macosx.x86 \ - org.eclipse.ptp" - -PTP_C_PROJECTS="\ - org.eclipse.ptp.debug.sdm \ - org.eclipse.ptp.proxy \ - org.eclipse.ptp.rm.ibm.pe.proxy \ - org.eclipse.ptp.rm.ibm.ll.proxy \ - org.eclipse.ptp.rm.slurm.proxy \ - org.eclipse.ptp.utils" - -update_feature() { - sed -e "s/version=\"[0-9]\.[0-9]\.[0-9]\.qualifier\"/version=\"$2\.qualifier\"/" < $1/feature.xml > $TMP_DIR/${1}_feature.xml - mv $TMP_DIR/${1}_feature.xml $1/feature.xml -} - -update_manifest() { - sed -e "s/Bundle-Version: *[0-9]\.[0-9]\.[0-9]\.qualifier/Bundle-Version: $2.qualifier/" < $1/META-INF/MANIFEST.MF > $TMP_DIR/${1}_MANIFEST.MF - mv $TMP_DIR/${1}_MANIFEST.MF $1/META-INF/MANIFEST.MF -} - -for feature in $PTP_FEATURES; do - echo "Updating $feature..." - update_feature $feature $ptp_version -done - -for plugin in $PTP_PLUGINS; do - echo "Updating $plugin..." - update_manifest $plugin $ptp_version -done - -for project in $PTP_C_PROJECTS; do - echo "Updating $project..." - update_manifest $project $ptp_version -done - -for feature in $PHOTRAN_FEATURES; do - echo "Updating $feature..." - update_feature $feature $photran_version -done - -echo "Updating org.eclipse.ptp.releng..." -sed -e "s/<property name=\"ptpBranchVersion\" value=\"[0-9]\.[0-9]\.[0-9]\"\/>/<property name=\"ptpBranchVersion\" value=\"$ptp_version\"\/>/" \ - < org.eclipse.ptp.releng/build.xml > $TMP_DIR/org.eclipse.ptp.releng_build.xml -mv $TMP_DIR/org.eclipse.ptp.releng_build.xml org.eclipse.ptp.releng/build.xml - -echo "Updating org.eclipse.ptp.rdt.core.remotejars.." -sed -e "s/<property name=\"serverVersion\" value=\"[0-9]\.[0-9]\.[0-9]\"\/>/<property name=\"serverVersion\" value=\"$ptp_version\"\/>/" \ - < org.eclipse.ptp.rdt.core.remotejars/build.xml > $TMP_DIR/org.eclipse.ptp.rdt.core.remotejars_build.xml -mv $TMP_DIR/org.eclipse.ptp.rdt.core.remotejars_build.xml org.eclipse.ptp.rdt.core.remotejars/build.xml - -exit 0 diff --git a/releng/org.eclipse.ptp.releng/web/site.css b/releng/org.eclipse.ptp.releng/web/site.css deleted file mode 100644 index 62c6f9ffa..000000000 --- a/releng/org.eclipse.ptp.releng/web/site.css +++ /dev/null @@ -1,12 +0,0 @@ -<STYLE type="text/css"> -td.spacer {padding-bottom: 10px; padding-top: 10px;} -.title { font-family: sans-serif; color: #99AACC;} -.bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; } -.sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white;} -.log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color:black;} -.big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white; border-top:10px solid white;} -.light-row {background:#FFFFFF} -.dark-row {background:#EEEEFF} -.header {background:#99AADD} -#indent {word-wrap : break-word;width :300px;text-indent:10px;} -</STYLE> diff --git a/releng/org.eclipse.ptp.releng/web/site.xsl b/releng/org.eclipse.ptp.releng/web/site.xsl deleted file mode 100644 index 574006fa0..000000000 --- a/releng/org.eclipse.ptp.releng/web/site.xsl +++ /dev/null @@ -1,214 +0,0 @@ -<xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl="urn:schemas-microsoft-com:xslt"> -<xsl:output method="html" encoding="UTF-8"/> -<xsl:key name="cat" match="category" use="@name"/> -<xsl:template match="/"> -<xsl:for-each select="site"> - <html> - <head> - <title>PTP Update Site</title> - <style>@import url("web/site.css");</style> - </head> - <body> - <h1 class="title">PTP Update Site</h1> - <p class="bodyText"><xsl:value-of select="description"/></p> - <table width="100%" border="0" cellspacing="1" cellpadding="2"> - <xsl:for-each select="category-def"> - <xsl:sort select="@label" order="ascending" case-order="upper-first"/> - <xsl:sort select="@name" order="ascending" case-order="upper-first"/> - <xsl:if test="count(key('cat',@name)) != 0"> - <tr class="header"> - <td class="sub-header" width="30%"> - <xsl:value-of select="@name"/> - </td> - <td class="sub-header" width="70%"> - <xsl:value-of select="@label"/> - </td> - </tr> - <xsl:for-each select="key('cat',@name)"> - <xsl:sort select="ancestor::feature//@version" order="ascending"/> - <xsl:sort select="ancestor::feature//@id" order="ascending" case-order="upper-first"/> - <tr> - <xsl:choose> - <xsl:when test="(position() mod 2 = 1)"> - <xsl:attribute name="class">dark-row</xsl:attribute> - </xsl:when> - <xsl:otherwise> - <xsl:attribute name="class">light-row</xsl:attribute> - </xsl:otherwise> - </xsl:choose> - <td class="log-text" id="indent"> - <xsl:choose> - <xsl:when test="ancestor::feature//@label"> - <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a> - <br/> - <div id="indent"> - (<xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@version"/>) - </div> - </xsl:when> - <xsl:otherwise> - <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@version"/></a> - </xsl:otherwise> - </xsl:choose> - <br /> - </td> - <td> - <table> - <xsl:if test="ancestor::feature//@os"> - <tr><td class="log-text" id="indent">Operating Systems:</td> - <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@os"/></td> - </tr> - </xsl:if> - <xsl:if test="ancestor::feature//@ws"> - <tr><td class="log-text" id="indent">Windows Systems:</td> - <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@ws"/></td> - </tr> - </xsl:if> - <xsl:if test="ancestor::feature//@nl"> - <tr><td class="log-text" id="indent">Languages:</td> - <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@nl"/></td> - </tr> - </xsl:if> - <xsl:if test="ancestor::feature//@arch"> - <tr><td class="log-text" id="indent">Architecture:</td> - <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@arch"/></td> - </tr> - </xsl:if> - </table> - </td> - </tr> - </xsl:for-each> - <tr><td class="spacer"><br/></td><td class="spacer"><br/></td></tr> - </xsl:if> - </xsl:for-each> - <xsl:if test="count(feature) > count(feature/category)"> - <tr class="header"> - <td class="sub-header" colspan="2"> - Uncategorized - </td> - </tr> - </xsl:if> - <xsl:choose> - <xsl:when test="function-available('msxsl:node-set')"> - <xsl:variable name="rtf-nodes"> - <xsl:for-each select="feature[not(category)]"> - <xsl:sort select="@id" order="ascending" case-order="upper-first"/> - <xsl:sort select="@version" order="ascending" /> - <xsl:value-of select="."/> - <xsl:copy-of select="." /> - </xsl:for-each> - </xsl:variable> - <xsl:variable name="myNodeSet" select="msxsl:node-set($rtf-nodes)/*"/> - <xsl:for-each select="$myNodeSet"> - <tr> - <xsl:choose> - <xsl:when test="position() mod 2 = 1"> - <xsl:attribute name="class">dark-row</xsl:attribute> - </xsl:when> - <xsl:otherwise> - <xsl:attribute name="class">light-row</xsl:attribute> - </xsl:otherwise> - </xsl:choose> - <td class="log-text" id="indent"> - <xsl:choose> - <xsl:when test="@label"> - <a href="{@url}"><xsl:value-of select="@label"/></a> - <br /> - <div id="indent"> - (<xsl:value-of select="@id"/> - <xsl:value-of select="@version"/>) - </div> - </xsl:when> - <xsl:otherwise> - <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a> - </xsl:otherwise> - </xsl:choose> - <br /><br /> - </td> - <td> - <table> - <xsl:if test="@os"> - <tr><td class="log-text" id="indent">Operating Systems:</td> - <td class="log-text" id="indent"><xsl:value-of select="@os"/></td> - </tr> - </xsl:if> - <xsl:if test="@ws"> - <tr><td class="log-text" id="indent">Windows Systems:</td> - <td class="log-text" id="indent"><xsl:value-of select="@ws"/></td> - </tr> - </xsl:if> - <xsl:if test="@nl"> - <tr><td class="log-text" id="indent">Languages:</td> - <td class="log-text" id="indent"><xsl:value-of select="@nl"/></td> - </tr> - </xsl:if> - <xsl:if test="@arch"> - <tr><td class="log-text" id="indent">Architecture:</td> - <td class="log-text" id="indent"><xsl:value-of select="@arch"/></td> - </tr> - </xsl:if> - </table> - </td> - </tr> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:for-each select="feature[not(category)]"> - <xsl:sort select="@id" order="ascending" case-order="upper-first"/> - <xsl:sort select="@version" order="ascending" /> - <tr> - <xsl:choose> - <xsl:when test="count(preceding-sibling::feature[not(category)]) mod 2 = 1"> - <xsl:attribute name="class">dark-row</xsl:attribute> - </xsl:when> - <xsl:otherwise> - <xsl:attribute name="class">light-row</xsl:attribute> - </xsl:otherwise> - </xsl:choose> - <td class="log-text" id="indent"> - <xsl:choose> - <xsl:when test="@label"> - <a href="{@url}"><xsl:value-of select="@label"/></a> - <br /> - <div id="indent"> - (<xsl:value-of select="@id"/> - <xsl:value-of select="@version"/>) - </div> - </xsl:when> - <xsl:otherwise> - <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a> - </xsl:otherwise> - </xsl:choose> - <br /><br /> - </td> - <td> - <table> - <xsl:if test="@os"> - <tr><td class="log-text" id="indent">Operating Systems:</td> - <td class="log-text" id="indent"><xsl:value-of select="@os"/></td> - </tr> - </xsl:if> - <xsl:if test="@ws"> - <tr><td class="log-text" id="indent">Windows Systems:</td> - <td class="log-text" id="indent"><xsl:value-of select="@ws"/></td> - </tr> - </xsl:if> - <xsl:if test="@nl"> - <tr><td class="log-text" id="indent">Languages:</td> - <td class="log-text" id="indent"><xsl:value-of select="@nl"/></td> - </tr> - </xsl:if> - <xsl:if test="@arch"> - <tr><td class="log-text" id="indent">Architecture:</td> - <td class="log-text" id="indent"><xsl:value-of select="@arch"/></td> - </tr> - </xsl:if> - </table> - </td> - </tr> - </xsl:for-each> - </xsl:otherwise> - </xsl:choose> - </table> - </body> - </html> -</xsl:for-each> -</xsl:template> -</xsl:stylesheet> diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.classpath b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.classpath deleted file mode 100644 index 64c5e31b7..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.project b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.project deleted file mode 100644 index 196b388cd..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.ptp.etfw.feedback.sample</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.settings/org.eclipse.jdt.core.prefs b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index a72f27fdc..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,8 +0,0 @@ -#Fri Nov 06 09:51:25 EST 2009 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/META-INF/MANIFEST.MF b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/META-INF/MANIFEST.MF deleted file mode 100644 index f6603e2ea..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/META-INF/MANIFEST.MF +++ /dev/null @@ -1,12 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Sample -Bundle-SymbolicName: org.eclipse.ptp.etfw.feedback.sample; singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Activator: org.eclipse.ptp.etfw.feedback.sample.Activator -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.ptp.etfw.feedback;bundle-version="1.0.0", - org.eclipse.core.resources;bundle-version="3.5.1" -Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/build.properties b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/build.properties deleted file mode 100644 index 0d3d3a745..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = plugin.xml,\ - META-INF/,\ - .,\ - icons/ diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/data/sample.c b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/data/sample.c deleted file mode 100644 index 2632918b6..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/data/sample.c +++ /dev/null @@ -1,20 +0,0 @@ -/* - ============================================================================ - Name : SampleC.c - Author : - Version : - Copyright : Your copyright notice - Description : Hello World in C, Ansi-style - ============================================================================ - */ - -#include <stdio.h> -#include <stdlib.h> - -int main(void) { - puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */ - for (int var = 0; var < max; ++var) { - puts("loop"); - } - return EXIT_SUCCESS; -} diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/data/sample.xml b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/data/sample.xml deleted file mode 100644 index 3198a3bbb..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/data/sample.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<SampleXMLRoot> - <MyItem name="main is here" parent="mysample" file="sample.c" function="main" lineNo="14" isFunction="true" id="0"/> - <MyItem name="loop is here" parent="mysample" file="sample.c" function="main" lineNo="16" isFunction="true" id="1"/> - <MyItem name="this is return" parent="mysample" file="sample.c" function="turkey" lineNo="19" isFunction="true" id="2"/> - <MyItem name="open brace" parent="braces" file="sample.c" function="turkey" lineNo="14" isFunction="true" id="3"/> - <MyItem name="close brace" parent="braces" file="sample.c" function="turkey" lineNo="18" isFunction="true" id="4"/> -</SampleXMLRoot>
\ No newline at end of file diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/feedback_action.gif b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/feedback_action.gif Binary files differdeleted file mode 100644 index 47580d0fd..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/feedback_action.gif +++ /dev/null diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/feedback_view.gif b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/feedback_view.gif Binary files differdeleted file mode 100644 index 9fa6f8ee8..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/feedback_view.gif +++ /dev/null diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/sample.gif b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/sample.gif Binary files differdeleted file mode 100644 index 34fb3c9d8..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/icons/sample.gif +++ /dev/null diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/plugin.xml b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/plugin.xml deleted file mode 100644 index a4fe36b4f..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/plugin.xml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> - - <extension - point="org.eclipse.ui.menus"> - - <menuContribution - locationURI="menu:org.eclipse.ui.main.menu?after=additions"> - <menu - label="Feedback" - mnemonic="%menu.mnemonic" - id="org.eclipse.ptp.etfw.feedback.actions.menus.sampleMenu"> - <command - commandId="org.eclipse.ptp.etfw.feedback.actions.commands.sampleCommand" - mnemonic="%command.mnemonic" - id="org.eclipse.ptp.etfw.feedback.actions.menus.sampleCommand"> - </command> - </menu> - </menuContribution> - <menuContribution - locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions"> - <toolbar - id="org.eclipse.ptp.etfw.feedback.actions.toolbars.sampleToolbar"> - <command - commandId="org.eclipse.ptp.etfw.feedback.actions.commands.sampleCommand" - icon="icons/feedback_view.gif" - tooltip="Show ETFw Feedback view for selected XML file" - id="org.eclipse.ptp.etfw.feedback.actions.toolbars.sampleCommand"> - </command> - </toolbar> - </menuContribution> - </extension> - <extension - id="sampleParser" - name="Sample PTP Feedback view report items" - point="org.eclipse.ptp.etfw.feedback.parser"> - <feedtype - class="org.eclipse.ptp.etfw.feedback.sample.SampleFeedbackParser" - id="org.eclipse.ptp.etfw.feedback.sample.parser" - name="Sample feedback parser" - nodeName="SampleXMLRoot"> - </feedtype> - </extension> - <extension - point="org.eclipse.ui.views"> - <!-- <category - name="Sample Feedback View" - id="org.eclipse.ptp.etfw.feedback"> - </category> - --> - <view - name="Sample Feedback items" - icon="icons/feedback_view.gif" - category="org.eclipse.ptp.etfw.feedback" - class="org.eclipse.ptp.etfw.feedback.sample.SampleFeedbackView" - id="org.eclipse.ptp.etfw.feedback.sample.view"> - </view> - </extension> - <extension - id="sampleAction" - name="Sample Added Action" - point="org.eclipse.ptp.etfw.feedback.action"> - <action - class="org.eclipse.ptp.etfw.feedback.sample.actions.SampleFeedbackAction" - icon="icons/feedback_action.gif" - id="sampleFeedbackAction1" - name="Sample Feedback Action" - viewID="org.eclipse.ptp.etfw.feedback.sample.view"> - </action> - </extension> - -</plugin> diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/Activator.java b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/Activator.java deleted file mode 100644 index 6bb582f3c..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/Activator.java +++ /dev/null @@ -1,74 +0,0 @@ -/********************************************************************** - * Copyright (c) 2009 IBM Corporation. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.ptp.etfw.feedback.sample; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.ptp.etfw.feedback.sample"; - public static final String MARKER_ID = "org.eclipse.ptp.etfw.feedback.sample.marker"; - public static final String VIEW_ID = "org.eclipse.ptp.etfw.feedback.sample.view"; - - // The shared instance - private static Activator plugin; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } -} diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackItem.java b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackItem.java deleted file mode 100644 index ad21c96ff..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackItem.java +++ /dev/null @@ -1,122 +0,0 @@ -/********************************************************************** - * Copyright (c) 2009 IBM Corporation. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.ptp.etfw.feedback.sample; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.eclipse.core.resources.IMarker; -import org.eclipse.ptp.etfw.feedback.FeedbackIDs; -import org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem; - -/** - * @author Beth Tibbitts - * - */ -public class SampleFeedbackItem implements IFeedbackItem { - private String name; - private String parentID; - private String id; - private String description; - private String filename; - private int lineNo; - - /** - * map of values by attribute name, that the view LabelProvider will want to ask for - */ - Map<String,String> map = new HashMap<String,String>(); - - public SampleFeedbackItem(String name, String parentID, String id, String filename, int lineNo, String description) { - this.name=name; - this.parentID=parentID; - this.id=id; - this.filename=filename; - this.lineNo=lineNo; - this.description=description; - - map.put(FeedbackIDs.FEEDBACK_ATTR_NAME, name); - map.put(FeedbackIDs.FEEDBACK_ATTR_FILENAME, filename); - map.put(FeedbackIDs.FEEDBACK_ATTR_ID, id); - map.put(IMarker.LINE_NUMBER, Integer.toString(lineNo)); - map.put(FeedbackIDs.FEEDBACK_ATTR_DESC, description); - } - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#getChildren() - */ - public List<IFeedbackItem> getChildren() { - // TODO Auto-generated method stub - return null; - } - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#getDescription() - */ - public String getDescription() { - return description; - } - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#getFile() - */ - public String getFile() { - return filename; - } - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#getID() - */ - public String getID() { - return id; - } - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#getLineNoStart() - */ - public int getLineNoStart() { - return this.lineNo; - } - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#getName() - */ - public String getName() { - return name; - } - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#getParentID() - */ - public String getParentID() { - return parentID; - } - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem#hasChildren() - */ - public boolean hasChildren() { - // TODO Auto-generated method stub - return false; - } - public Object getObject() { - // TODO Auto-generated method stub - return null; - } - public String getAttr(String key) { - return map.get(key); - } - public Object getObject(String key) { - // TODO Auto-generated method stub - return null; - } - -} diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackParser.java b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackParser.java deleted file mode 100644 index d42585c47..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackParser.java +++ /dev/null @@ -1,182 +0,0 @@ -/********************************************************************** - * Copyright (c) 2009 IBM Corporation. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.ptp.etfw.feedback.sample; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; -import javax.xml.xpath.XPath; -import javax.xml.xpath.XPathConstants; -import javax.xml.xpath.XPathExpression; -import javax.xml.xpath.XPathExpressionException; -import javax.xml.xpath.XPathFactory; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IWorkspace; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.Path; -import org.eclipse.ptp.etfw.feedback.AbstractFeedbackParser; -import org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; -import org.xml.sax.SAXException; - -/** - * Sample parser to return items for the ETFw Feedback view - * @author beth - * - */ -public class SampleFeedbackParser extends AbstractFeedbackParser { - private boolean traceOn=false; - - /* (non-Javadoc) - * @see org.eclipse.ptp.etfw.feedback.obj.IFeedbackParser#getFeedbackItems() - */ - public IFeedbackItem[] getFeedbackItems() { - // TODO Auto-generated method stub - return null; - } - - public List<IFeedbackItem> getFeedbackItems(IFile file) { - if(traceOn)System.out.println("Reading xml file: "+file.getLocation()); - String xmlfile = file.getLocation().toOSString(); - List<IFeedbackItem> items=new ArrayList<IFeedbackItem>(); - try { - items=parse(xmlfile); - } catch (XPathExpressionException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (ParserConfigurationException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (SAXException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - - return items; - } - - public void setFile(IFile file) { - System.out.println("not used!"); - - } - - public List<IFeedbackItem> getFeedbackItems(File file) { - // this is probably twisted around, too much converting back and forth - IWorkspace workspace =ResourcesPlugin.getWorkspace(); - IPath location = Path.fromOSString(file.getAbsolutePath()); - IFile ifile = workspace.getRoot().getFileForLocation(location); - List<IFeedbackItem> items = getFeedbackItems(ifile); - return items; - } - - public void setFile(File file) { - System.out.println("not used!"); - - } - - /** - * Marker ID for markers added by this feedback parser. - * For now they are all the same, using plugin id. - */ - public String getMarkerID() { - return Activator.MARKER_ID; - } - public String getViewID() { - return Activator.VIEW_ID; - } - - /** - * Populate objects from the xml file given - * @param xmlfile - * @throws ParserConfigurationException - * @throws SAXException - * @throws IOException - * @throws XPathExpressionException - */ - public List<IFeedbackItem> parse(String xmlfile) - throws ParserConfigurationException, SAXException, - IOException, XPathExpressionException { - - DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance(); - domFactory.setNamespaceAware(true); // never forget this! - Document document = null; - DocumentBuilder builder = domFactory.newDocumentBuilder(); - - File file = new File(xmlfile); - if(!file.exists()) { - System.out.println("Cannot find file: "+xmlfile); - return null; - } - if(traceOn)System.out.println("Parse XML file: "+file); - - List<IFeedbackItem> items = new ArrayList<IFeedbackItem>(); - - // look for file in same dir as xml file - IPath p = new Path(xmlfile); - p=p.removeLastSegments(1); - String filepath=p.toPortableString()+IPath.SEPARATOR;//+"mhd.F"; - - document = builder.parse(file); - - XPathFactory factory = XPathFactory.newInstance(); - XPath xpath = factory.newXPath(); - - /* get the hotspots */ - XPathExpression expr - = xpath.compile("//*[local-name()='MyItem']"); - - Object result = expr.evaluate(document, XPathConstants.NODESET); - NodeList nodes = (NodeList) result; - for (int i = 0; i < nodes.getLength(); i++) { - NamedNodeMap attributes = nodes.item(i).getAttributes(); - if (attributes == null) continue; - try { - String name = attributes.getNamedItem("name").getNodeValue(); - - String fname = attributes.getNamedItem("file").getNodeValue(); - fname=filepath+fname; // fully qualify (if needed?) - String function = attributes.getNamedItem("function").getNodeValue(); - String line = attributes.getNamedItem("lineNo").getNodeValue(); - int lineNo = Integer.parseInt(line); - String id = attributes.getNamedItem("id").getNodeValue(); - Node parentNode=attributes.getNamedItem("parent"); - String parentID="noParent"; - if(parentNode!=null) { - parentID=attributes.getNamedItem("parent").getNodeValue(); - } - SampleFeedbackItem item = new SampleFeedbackItem(name, parentID, id, fname, lineNo, function); - items.add(item); - } catch (Exception e) { - System.out.println("SampleFeedbackParser: Exception creating item " + i); - } - - }//end for - - - - return items; - } - -} diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackView.java b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackView.java deleted file mode 100644 index c0141483c..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleFeedbackView.java +++ /dev/null @@ -1,127 +0,0 @@ -/********************************************************************** - * Copyright (c) 2009 IBM Corporation. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.ptp.etfw.feedback.sample; - -import org.eclipse.core.resources.IMarker; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.ptp.etfw.feedback.FeedbackIDs; -import org.eclipse.ptp.etfw.feedback.preferences.PreferenceConstants; -import org.eclipse.ptp.etfw.feedback.views.SimpleTreeTableMarkerView; - - - -/** - * Expose xlC compiler transformation information in an eclipse view - * - * @author beth - * - */ -public class SampleFeedbackView extends SimpleTreeTableMarkerView { - /** - * Assure that parent nodes will get created as needed: that is, - * we don't have IFeedbackItem objects for the parents. Parent "nodes" - * are created for each unique parentID, thus "categorizing" the items - * automatically - */ - private static boolean CREATE_PARENT_NODES=true; - - - /** - * Attribute names, used to store info in the marker, corresponding to each column in the view. - * Use these constants or values of your own. - * To add/remove a column, modify this: (1) - */ - private static String[] attrNames=new String[] { - FeedbackIDs.FEEDBACK_ATTR_NAME, - FeedbackIDs.FEEDBACK_ATTR_FILENAME, - FeedbackIDs.FEEDBACK_ATTR_ID, - FeedbackIDs.FEEDBACK_ATTR_FUNCTION_CALLEE, - IMarker.LINE_NUMBER, // Note: currently column 5 (index=4) must be an int value, presumably line number. - // This restriction will be lifted and generalized later. - /*IMarker.CHAR_START,IMarker.CHAR_END*/ - FeedbackIDs.FEEDBACK_ATTR_DESC}; - /** To add/remove a column, modify this: (2)*/ - private static String[] colNames=new String[] {"Type/Name","File", "ID", "blank", "LineNo", - /*"Char start","Char end"*/ "Description*" }; - /** To add/remove a column, modify this: (3)*/ - private static int[] widths = new int[] { 160, 100, 50, 50, 80, 200 }; - - protected IPreferenceStore preferenceStore; - protected boolean maintainExpandCollapseState; - - - /** - * Use the ctor that allows an arbitrary number of extra columns. - * This ctor is called (1). FIXME need to generalize the name "Xform" used here? - */ - public SampleFeedbackView() { - super(Activator.getDefault(), "XForm", "XForms", attrNames,colNames,widths, - Activator.MARKER_ID, "parent",CREATE_PARENT_NODES); - preferenceStore = Activator.getDefault().getPreferenceStore(); - maintainExpandCollapseState=preferenceStore.getBoolean(PreferenceConstants.P_MAINTAIN_EXPAND_COLLAPSE_STATE); - - } - - /** - * Provide something for the "Info" popup action, based on the marker - * <br>Since we didn't use the Artifact, Artifact Manager, etc in the base class we need something to look useful here. - */ - @Override - public String extractMarkerInfo(IMarker marker) { - StringBuffer infoBuffer= new StringBuffer(); - String filename = marker.getResource().getName(); - String name=getStrAttr(marker, FeedbackIDs.FEEDBACK_ATTR_NAME); - infoBuffer.append("\nThis information provided by SampleFeedbackView.extractMarkerInfo()"); - infoBuffer.append("\nFile name: ").append(filename); - - infoBuffer.append("\nLine number: ").append(getStrAttr(marker,IMarker.LINE_NUMBER)); - infoBuffer.append("\nName: ").append(name); - String parent=getStrAttr(marker, FeedbackIDs.FEEDBACK_ATTR_PARENT); - infoBuffer.append("\nParent (Item type): ").append(parent); - infoBuffer.append("\nDescription: ").append(getStrAttr(marker,FeedbackIDs.FEEDBACK_ATTR_DESC)); - return infoBuffer.toString(); - } - public String getStrAttr(IMarker marker, String attrName) { - try { - String str=marker.getAttribute(attrName).toString(); - - return str; - }catch(CoreException e) { - System.out.println("Exception getting marker attr in CompilerXFormTreeTableView.getStrAttr() "+e.getMessage()); - return "*error*"; - } - - } - - /** - * - */ - @Override - protected void maintainExpandCollapseStatus() { - // re-query each time, in case prefs have changed - maintainExpandCollapseState = preferenceStore.getBoolean(PreferenceConstants.P_MAINTAIN_EXPAND_COLLAPSE_STATE); - if (maintainExpandCollapseState) { - switch (expandCollapseStatus) { - case EXPAND_COLLAPSE_EXPANDALL: - expandAllAction.run(); - break; - case EXPAND_COLLAPSE_COLLAPSEALL: - collapseAllAction.run(); - break; - case EXPAND_COLLAPSE_NONE: - // do nothing: user hasn't done expandAll or collapseAll yet. - } - } - } - -} diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleShowFeedbackHandler.java b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleShowFeedbackHandler.java deleted file mode 100644 index b32824d40..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/SampleShowFeedbackHandler.java +++ /dev/null @@ -1,24 +0,0 @@ -/********************************************************************** - * Copyright (c) 2009 IBM Corporation. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.ptp.etfw.feedback.sample; - -import org.eclipse.ptp.etfw.feedback.actions.handlers.ShowFeedbackHandler; - -/** - * Handler to handle actions from this plug-in to show its data in the Feedback View - * - * @author beth tibbitts - * - */ -public class SampleShowFeedbackHandler extends ShowFeedbackHandler { - -} diff --git a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/actions/SampleFeedbackAction.java b/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/actions/SampleFeedbackAction.java deleted file mode 100644 index 80d75ff0e..000000000 --- a/tools/etfw/org.eclipse.ptp.etfw.feedback.sample/src/org/eclipse/ptp/etfw/feedback/sample/actions/SampleFeedbackAction.java +++ /dev/null @@ -1,61 +0,0 @@ -/********************************************************************** - * Copyright (c) 2010 IBM Corporation. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.ptp.etfw.feedback.sample.actions; - -import org.eclipse.core.resources.IMarker; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.ptp.etfw.feedback.AbstractFeedbackAction; -import org.eclipse.ptp.etfw.feedback.obj.IFeedbackItem; -import org.eclipse.ptp.etfw.feedback.sample.Activator; - -/** - * A sample action that can be added to the ETFw Feedback view - * @author beth - * - */ -public class SampleFeedbackAction extends AbstractFeedbackAction { - - - - public void run(IMarker marker) { - String name="(unknown)"; - try { - name = (String)marker.getAttribute("name"); - } catch (CoreException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - MessageDialog.openInformation(null, "Sample action", "Do something interesting here with marker: "+name); - - } - - public void run(IFeedbackItem item) { - MessageDialog.openInformation(null, "Sample action", "Do something interesting here with IFeedbackItem"); - - } - - - public String getToolTip() { - return "SampleFeedbackAction tooltip"; - } - - @Override - public String getText() { - return "SampleFeedbackAction text"; - } - - @Override - public String getPluginId() { - return Activator.PLUGIN_ID; - } - -} |