Author: scabanovich
Date: 2009-06-17 10:16:55 -0400 (Wed, 17 Jun 2009)
New Revision: 16014
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4493
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java 2009-06-17
14:15:58 UTC (rev 16013)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java 2009-06-17
14:16:55 UTC (rev 16014)
@@ -246,7 +246,11 @@
findTldsInFolder(cs[i], base + cs[i].getAttributeValue("name") +
"/");
} else if(cs[i].getFileType() == XModelObject.FILE) {
String entity = cs[i].getModelEntity().getName();
- if(!entity.startsWith("FileTLD")) continue;
+ boolean ok = entity.startsWith("FileTLD");
+ if(!ok &&
"META-INF".equals(folder.getAttributeValue("name")) &&
entity.startsWith("FileFaceletTaglib")) {
+ ok = true;
+ }
+ if(!ok) continue;
String uri = cs[i].getAttributeValue("uri");
String location = base + FileAnyImpl.toFileName(cs[i]);
if(folder instanceof FolderImpl) {