### Eclipse Workspace Patch 1.0 #P org.eclipse.pde.core Index: src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java,v retrieving revision 1.20 diff -u -r1.20 PDEMarkerFactory.java --- src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java 2 Jan 2008 15:56:21 -0000 1.20 +++ src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java 3 Jan 2008 03:37:39 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 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 @@ -9,6 +9,7 @@ * IBM Corporation - initial API and implementation * Brock Janiczak - bug 169373 * Gary Duprex - bug 150225 + * Bartosz Michalik - bug 214156 *******************************************************************************/ package org.eclipse.pde.internal.core.builders; @@ -44,6 +45,7 @@ public static final int M_DEPRECATED_PROVIDE_PACKAGE = 0x1019; // deprecation public static final int M_EXECUTION_ENVIRONMENT_NOT_SET = 0x1020; // other problem public static final int M_MISSING_BUNDLE_CLASSPATH_ENTRY = 0x1021; // fatal problem + public static final int M_LAZYLOADING_HAS_NO_EFFECT = 0x1022; //other problem // build properties fixes public static final int B_APPEND_SLASH_FOLDER_ENTRY = 0x2001; Index: src/org/eclipse/pde/internal/core/builders/BundleErrorReporter.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/BundleErrorReporter.java,v retrieving revision 1.57 diff -u -r1.57 BundleErrorReporter.java --- src/org/eclipse/pde/internal/core/builders/BundleErrorReporter.java 2 Jan 2008 21:09:38 -0000 1.57 +++ src/org/eclipse/pde/internal/core/builders/BundleErrorReporter.java 3 Jan 2008 03:37:39 -0000 @@ -9,7 +9,7 @@ * IBM Corporation - initial API and implementation * Brock Janiczak - bug 169373 * Gary Duprex - bug 150225 - * Bartosz Michalik - bug 209432 + * Bartosz Michalik - bug 209432, 214156 *******************************************************************************/ package org.eclipse.pde.internal.core.builders; @@ -92,7 +92,7 @@ if (fModel instanceof IBundlePluginModelBase) { IBundlePluginModelBase bundleModel = (IBundlePluginModelBase) fModel; IBundle bundle = bundleModel.getBundleModel().getBundle(); - IManifestHeader bundleClasspathheader = (IManifestHeader) bundle.getManifestHeader(Constants.BUNDLE_CLASSPATH); + IManifestHeader bundleClasspathheader = bundle.getManifestHeader(Constants.BUNDLE_CLASSPATH); IPackageFragmentRoot[] roots = ManifestUtils.findPackageFragmentRoots(bundleClasspathheader, fProject); // Running list of packages in the project @@ -945,7 +945,7 @@ if (header != null) { IHeader activator = getHeader(Constants.BUNDLE_ACTIVATOR); if (activator == null && "true".equals(header.getValue())) { //$NON-NLS-1$ - report(PDECoreMessages.BundleErrorReporter_lazyStart_missingActivator, header.getLineNumber() + 1, CompilerFlags.WARNING, PDEMarkerFactory.M_DIRECTIVE_HAS_NO_EFFECT, PDEMarkerFactory.CAT_OTHER); + report(PDECoreMessages.BundleErrorReporter_lazyStart_missingActivator, header.getLineNumber() + 1, CompilerFlags.WARNING, PDEMarkerFactory.M_LAZYLOADING_HAS_NO_EFFECT, PDEMarkerFactory.CAT_OTHER); } if (TargetPlatformHelper.getTargetVersion() < 3.2 && severity != CompilerFlags.IGNORE) { report(PDECoreMessages.BundleErrorReporter_lazyStart_unsupported, header.getLineNumber() + 1, severity, PDEMarkerFactory.NO_RESOLUTION, PDEMarkerFactory.CAT_OTHER);