Skip to content

Commit

Permalink
Quick-fix for Import-Package resolution failure: Edits
Browse files Browse the repository at this point in the history
  • Loading branch information
alshamams committed Jul 23, 2023
1 parent ae118d5 commit caf4ec5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ public class PDECoreMessages extends NLS {

public static String ManifestConsistencyChecker_buildPropertiesSubtask;

public static String AddMandatoryAttrResolution_label;

public static String AddMandatoryAttrResolution_description;

public static String BuildErrorReporter_missingEntry;
public static String BuildErrorReporter_missingFolder;
public static String BuildErrorReporter_emptyEntry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ BuildErrorReporter_CompilercomplianceLevel=Compiler compliance level
Builders_Manifest_key_not_found = Key ''{0}'' is not found in localization properties file: {1}
Builders_Manifest_useless_file = A plug-in manifest must contain at least one extension or extension point
BuildErrorReporter_missingEntry = ''{0}'' build entry is missing
AddMandatoryAttrResolution_label=Adds mandatory attribute value
AddMandatoryAttrResolution_description=Add mandatory attribute value
BundleErrorReporter_MissingMandatoryDirective=Mandatory attribute missing for the imported package

Builders_Convert_missingAttribute = ''{0}'' attribute is missing
Builders_Convert_illegalValue = Illegal value for ''{0}'' attribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2609,10 +2609,6 @@ public class PDEUIMessages extends NLS {

public static String RemoveImportPkgResolution_label;

public static String AddMandatoryAttrResolution_label;

public static String AddMandatoryAttrResolution_description;

public static String NoLineTerminationResolutionCreate_description;

public static String NoLineTerminationResolutionCreate_label;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

import org.eclipse.core.resources.IMarker;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.pde.internal.core.PDECoreMessages;
import org.eclipse.pde.internal.core.text.bundle.Bundle;
import org.eclipse.pde.internal.core.text.bundle.BundleModel;
import org.eclipse.pde.internal.core.text.bundle.ImportPackageHeader;
import org.eclipse.pde.internal.core.text.bundle.ImportPackageObject;
import org.eclipse.pde.internal.ui.PDEPlugin;
import org.eclipse.pde.internal.ui.PDEUIMessages;
import org.osgi.framework.Constants;

/**
Expand Down Expand Up @@ -62,12 +62,12 @@ protected void createChange(BundleModel model) {

@Override
public String getDescription() {
return PDEUIMessages.AddMandatoryAttrResolution_label;
return PDECoreMessages.AddMandatoryAttrResolution_label;
}

@Override
public String getLabel() {
return PDEUIMessages.AddMandatoryAttrResolution_description;
return PDECoreMessages.AddMandatoryAttrResolution_description;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2303,9 +2303,6 @@ ReplaceBuildEntryResolution_replaceToken=Change the value of ''{1}'' build entry
RemoveImportPkgResolution_label=Remove the ''{0}'' package from the list
OptionalImportPkgResolution_description=Mark ''{0}'' as an optional imported package
OptionalImportPkgResolution_label=Mark package ''{0}'' as an optional imported package
AddMandatoryAttrResolution_label=Adds mandatory attribute value
AddMandatoryAttrResolution_description=Add mandatory attribute value
BundleErrorReporter_MissingMandatoryDirective=Mandatory attribute missing for the imported package
OptionalRequireBundleResolution_description=Mark bundle ''{0}'' as optional
OptionalRequireBundleResolution_label=Mark bundle ''{0}'' as optional
AddBundleManifestVersionResolution_description=Adds the 'Bundle-ManifestVersion: 2' header to support OSGi R4 headers
Expand Down

0 comments on commit caf4ec5

Please sign in to comment.