View | Details | Raw Unified | Return to bug 214156 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java (-1 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2007 IBM Corporation and others.
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 9-14 Link Here
9
 *     IBM Corporation - initial API and implementation
9
 *     IBM Corporation - initial API and implementation
10
 *     Brock Janiczak <brockj@tpg.com.au> - bug 169373
10
 *     Brock Janiczak <brockj@tpg.com.au> - bug 169373
11
 *     Gary Duprex <Gary.Duprex@aspectstools.com> - bug 150225
11
 *     Gary Duprex <Gary.Duprex@aspectstools.com> - bug 150225
12
 *     Bartosz Michalik <bartosz.michalik@gmail.com> - bug 214156
12
 *******************************************************************************/
13
 *******************************************************************************/
13
package org.eclipse.pde.internal.core.builders;
14
package org.eclipse.pde.internal.core.builders;
14
15
Lines 44-49 Link Here
44
	public static final int M_DEPRECATED_PROVIDE_PACKAGE = 0x1019; // deprecation
45
	public static final int M_DEPRECATED_PROVIDE_PACKAGE = 0x1019; // deprecation
45
	public static final int M_EXECUTION_ENVIRONMENT_NOT_SET = 0x1020; // other problem
46
	public static final int M_EXECUTION_ENVIRONMENT_NOT_SET = 0x1020; // other problem
46
	public static final int M_MISSING_BUNDLE_CLASSPATH_ENTRY = 0x1021; // fatal problem
47
	public static final int M_MISSING_BUNDLE_CLASSPATH_ENTRY = 0x1021; // fatal problem
48
	public static final int M_LAZYLOADING_HAS_NO_EFFECT = 0x1022; //other problem
47
49
48
	// build properties fixes
50
	// build properties fixes
49
	public static final int B_APPEND_SLASH_FOLDER_ENTRY = 0x2001;
51
	public static final int B_APPEND_SLASH_FOLDER_ENTRY = 0x2001;
(-)src/org/eclipse/pde/internal/core/builders/BundleErrorReporter.java (-3 / +3 lines)
Lines 9-15 Link Here
9
 *     IBM Corporation - initial API and implementation
9
 *     IBM Corporation - initial API and implementation
10
 *     Brock Janiczak <brockj@tpg.com.au> - bug 169373
10
 *     Brock Janiczak <brockj@tpg.com.au> - bug 169373
11
 *     Gary Duprex <Gary.Duprex@aspectstools.com> - bug 150225
11
 *     Gary Duprex <Gary.Duprex@aspectstools.com> - bug 150225
12
 *     Bartosz Michalik <bartosz.michalik@gmail.com> - bug 209432
12
 *     Bartosz Michalik <bartosz.michalik@gmail.com> - bug 209432, 214156
13
 *******************************************************************************/
13
 *******************************************************************************/
14
package org.eclipse.pde.internal.core.builders;
14
package org.eclipse.pde.internal.core.builders;
15
15
Lines 92-98 Link Here
92
		if (fModel instanceof IBundlePluginModelBase) {
92
		if (fModel instanceof IBundlePluginModelBase) {
93
			IBundlePluginModelBase bundleModel = (IBundlePluginModelBase) fModel;
93
			IBundlePluginModelBase bundleModel = (IBundlePluginModelBase) fModel;
94
			IBundle bundle = bundleModel.getBundleModel().getBundle();
94
			IBundle bundle = bundleModel.getBundleModel().getBundle();
95
			IManifestHeader bundleClasspathheader = (IManifestHeader) bundle.getManifestHeader(Constants.BUNDLE_CLASSPATH);
95
			IManifestHeader bundleClasspathheader = bundle.getManifestHeader(Constants.BUNDLE_CLASSPATH);
96
96
97
			IPackageFragmentRoot[] roots = ManifestUtils.findPackageFragmentRoots(bundleClasspathheader, fProject);
97
			IPackageFragmentRoot[] roots = ManifestUtils.findPackageFragmentRoots(bundleClasspathheader, fProject);
98
			// Running list of packages in the project
98
			// Running list of packages in the project
Lines 945-951 Link Here
945
		if (header != null) {
945
		if (header != null) {
946
			IHeader activator = getHeader(Constants.BUNDLE_ACTIVATOR);
946
			IHeader activator = getHeader(Constants.BUNDLE_ACTIVATOR);
947
			if (activator == null && "true".equals(header.getValue())) { //$NON-NLS-1$
947
			if (activator == null && "true".equals(header.getValue())) { //$NON-NLS-1$
948
				report(PDECoreMessages.BundleErrorReporter_lazyStart_missingActivator, header.getLineNumber() + 1, CompilerFlags.WARNING, PDEMarkerFactory.M_DIRECTIVE_HAS_NO_EFFECT, PDEMarkerFactory.CAT_OTHER);
948
				report(PDECoreMessages.BundleErrorReporter_lazyStart_missingActivator, header.getLineNumber() + 1, CompilerFlags.WARNING, PDEMarkerFactory.M_LAZYLOADING_HAS_NO_EFFECT, PDEMarkerFactory.CAT_OTHER);
949
			}
949
			}
950
			if (TargetPlatformHelper.getTargetVersion() < 3.2 && severity != CompilerFlags.IGNORE) {
950
			if (TargetPlatformHelper.getTargetVersion() < 3.2 && severity != CompilerFlags.IGNORE) {
951
				report(PDECoreMessages.BundleErrorReporter_lazyStart_unsupported, header.getLineNumber() + 1, severity, PDEMarkerFactory.NO_RESOLUTION, PDEMarkerFactory.CAT_OTHER);
951
				report(PDECoreMessages.BundleErrorReporter_lazyStart_unsupported, header.getLineNumber() + 1, severity, PDEMarkerFactory.NO_RESOLUTION, PDEMarkerFactory.CAT_OTHER);

Return to bug 214156