diff --git a/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF b/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF index 58917c063b4..6e3a7e8dc3e 100644 --- a/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF +++ b/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %name Bundle-SymbolicName: org.eclipse.pde.core; singleton:=true -Bundle-Version: 3.17.200.qualifier +Bundle-Version: 3.18.0.qualifier Bundle-Activator: org.eclipse.pde.internal.core.PDECore Bundle-Vendor: %provider-name Bundle-Localization: plugin diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/core/build/IBuildEntry.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/core/build/IBuildEntry.java index 0d7da2ef767..935373c1f1f 100644 --- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/core/build/IBuildEntry.java +++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/core/build/IBuildEntry.java @@ -27,39 +27,47 @@ public interface IBuildEntry extends IWritable { /** * A property name for changes to the 'name' field. */ - public static final String P_NAME = "name"; //$NON-NLS-1$ + String P_NAME = "name"; //$NON-NLS-1$ /** * The prefix for any key denoting the source folders that * should be compiled into a JAR. The suffix will * be the name of the JAR. */ - public static final String JAR_PREFIX = "source."; //$NON-NLS-1$ + String JAR_PREFIX = "source."; //$NON-NLS-1$ /** * The prefix for any key denoting output folders for a particular * JAR. The suffix will be the name of the JAR. */ - public static final String OUTPUT_PREFIX = "output."; //$NON-NLS-1$ + String OUTPUT_PREFIX = "output."; //$NON-NLS-1$ /** * The name of the key that lists all the folders and files * to be included in the binary build. */ - public static final String BIN_INCLUDES = "bin.includes"; //$NON-NLS-1$ + String BIN_INCLUDES = "bin.includes"; //$NON-NLS-1$ /** * The name of the key that lists all the folders and files * to be included in the source build. */ - public static final String SRC_INCLUDES = "src.includes"; //$NON-NLS-1$ + String SRC_INCLUDES = "src.includes"; //$NON-NLS-1$ /** * The name of the key that declares extra library entries to be added * to the class path at build time only.. */ - public static final String JARS_EXTRA_CLASSPATH = "jars.extra.classpath"; //$NON-NLS-1$ + String JARS_EXTRA_CLASSPATH = "jars.extra.classpath"; //$NON-NLS-1$ /** * The name of the key that declares additional plug-in dependencies to augment development classpath * * @since 3.2 */ - public static final String SECONDARY_DEPENDENCIES = "additional.bundles"; //$NON-NLS-1$ + String SECONDARY_DEPENDENCIES = "additional.bundles"; //$NON-NLS-1$ + + /** + * The name of the key that declares additional plug-in requirements for + * tests + * + * @since 3.18 + */ + String TEST_REQUIREMENTS = "test.requirements"; //$NON-NLS-1$ /** * Adds the token to the list of token for this entry. diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java index ccce3be142d..61601d853e2 100644 --- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java +++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java @@ -204,6 +204,7 @@ private List computePluginEntriesByModel() { } if (fBuild != null) { addSecondaryDependencies(desc, added, entries); + addTestDependencies(desc, added, entries); } addBndClasspath(desc, added, entries); @@ -231,6 +232,12 @@ private List computePluginEntriesByModel() { return entries; } + private void addTestDependencies(BundleDescription desc, Set added, + List entries) { + // TODO Auto-generated method stub + + } + private void addBndClasspath(BundleDescription desc, Set added, List entries) { try { Optional bndProject = BndProjectManager.getBndProject(project);