244086 Build path errors after restart
diff --git a/features/org.eclipse.jst.web_core.feature.patch/buildnotes_org.eclipse.jst.web_core.feature.patch.html b/features/org.eclipse.jst.web_core.feature.patch/buildnotes_org.eclipse.jst.web_core.feature.patch.html index d8571ad..58d3499 100644 --- a/features/org.eclipse.jst.web_core.feature.patch/buildnotes_org.eclipse.jst.web_core.feature.patch.html +++ b/features/org.eclipse.jst.web_core.feature.patch/buildnotes_org.eclipse.jst.web_core.feature.patch.html
@@ -13,6 +13,7 @@ <p>Bug <a href="https://bugs.eclipse.org/243747">243747</a>. "Cannot find the tag library descriptor" after removing a taglib file with duplicate URI.</p> +<p>Bug <a href='https://bugs.eclipse.org/bugs/show_bug.cgi?id=244086'>244086</a>. Build path errors after restart</p> </body> </html> \ No newline at end of file
diff --git a/features/org.eclipse.jst.web_core.feature.patch/feature.properties b/features/org.eclipse.jst.web_core.feature.patch/feature.properties index ab40244..3bc89b3 100644 --- a/features/org.eclipse.jst.web_core.feature.patch/feature.properties +++ b/features/org.eclipse.jst.web_core.feature.patch/feature.properties
@@ -28,7 +28,8 @@ The bugs and fixes are described in the following bugzilla entries:\n\ \n\ Bug https://bugs.eclipse.org/243747 Cannot find the tag library descriptor" after removing a taglib file with duplicate URI.\n\ - +Bug https://bugs.eclipse.org/244086 Build path errors after restart\n\ +\n\ # "copyright" property - text of the "Feature Update Copyright" copyright=\ Copyright (c) 2008 IBM Corporation and others.\n\
diff --git a/features/org.eclipse.jst.web_core.feature.patch/feature.xml b/features/org.eclipse.jst.web_core.feature.patch/feature.xml index 6c8e109..9d5c608 100644 --- a/features/org.eclipse.jst.web_core.feature.patch/feature.xml +++ b/features/org.eclipse.jst.web_core.feature.patch/feature.xml
@@ -20,10 +20,20 @@ <requires> <import feature="org.eclipse.jst.web_core.feature" version="3.0.1.v200807220252-7M7AEUwEFp_acwcTs1eRz-u" patch="true"/> </requires> + <plugin id="org.eclipse.jst.jsp.core" download-size="0" install-size="0" version="0.0.0" unpack="false"/> + + <plugin + id="org.eclipse.jst.j2ee" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + </feature>
diff --git a/plugins/org.eclipse.jst.j2ee/META-INF/MANIFEST.MF b/plugins/org.eclipse.jst.j2ee/META-INF/MANIFEST.MF index eadfd90..103a9a2 100644 --- a/plugins/org.eclipse.jst.j2ee/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.jst.j2ee/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: %Bundle-Name.0 Bundle-SymbolicName: org.eclipse.jst.j2ee; singleton:=true -Bundle-Version: 1.1.201.qualifier +Bundle-Version: 1.1.202.qualifier Bundle-Activator: org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin Bundle-Vendor: %Bundle-Vendor.0 Bundle-Localization: plugin
diff --git a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.java b/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.java index f44cf9b..e10f991 100644 --- a/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.java +++ b/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.java
@@ -50,6 +50,9 @@ public class J2EEModuleVirtualComponent extends VirtualComponent implements IComponentImplFactory { + public static String GET_JAVA_REFS = "GET_JAVA_REFS"; + public static String GET_FUZZY_EAR_REFS = "GET_FUZZY_EAR_REFS"; + public J2EEModuleVirtualComponent() { super(); } @@ -79,6 +82,15 @@ return getReferences(false, false); } + @Override + public IVirtualReference[] getReferences(Map<String, Object> options) { + Object objGetJavaRefs = options.get(GET_JAVA_REFS); + Object objGetFuzzyEarRefs = options.get(GET_FUZZY_EAR_REFS); + boolean getJavaRefs = objGetJavaRefs != null ? ((Boolean)objGetJavaRefs).booleanValue() : true; + boolean findFuzzyEARRefs = objGetFuzzyEarRefs != null ? ((Boolean)objGetFuzzyEarRefs).booleanValue() : false; + return getReferences(getJavaRefs, findFuzzyEARRefs); + } + public IVirtualReference[] getReferences() { return getReferences(true, false); }