Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornsandonato2010-11-12 20:16:49 +0000
committernsandonato2010-11-12 20:16:49 +0000
commit0c72f75906810bc78038905f7db22f2c97f4c87f (patch)
tree05a20def477aae8d862d85a02116e6a6e73e2766 /bundles/org.eclipse.jst.jsp.core
parent238c39a335a49e839b8f498322a53d7b2dbcb7b9 (diff)
downloadwebtools.sourceediting-0c72f75906810bc78038905f7db22f2c97f4c87f.tar.gz
webtools.sourceediting-0c72f75906810bc78038905f7db22f2c97f4c87f.tar.xz
webtools.sourceediting-0c72f75906810bc78038905f7db22f2c97f4c87f.zip
[3.2.3,3.3] [329750] Cannot find tag library descriptor if the tld is in another mapped folder
Diffstat (limited to 'bundles/org.eclipse.jst.jsp.core')
-rw-r--r--bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/taglib/ProjectDescription.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/taglib/ProjectDescription.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/taglib/ProjectDescription.java
index 415f52e3cb..a4f142ddfb 100644
--- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/taglib/ProjectDescription.java
+++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/taglib/ProjectDescription.java
@@ -2558,7 +2558,7 @@ class ProjectDescription {
String taglibLocation = readTextofChild(taglibs.item(iTaglib), "taglib-location").trim(); //$NON-NLS-1$
IPath path = null;
if (taglibLocation.startsWith("/")) { //$NON-NLS-1$
- path = new Path(getLocalRoot(webxml.getFullPath().toString()) + taglibLocation);
+ path = FacetModuleCoreSupport.resolve(new Path(webxml.getFullPath().toString()), taglibLocation);
}
else {
path = new Path(URIHelper.normalize(taglibLocation, webxml.getFullPath().toString(), getLocalRoot(webxml.getFullPath().toString())));

Back to the top