commit | 78ea9832e05f6cb7c3ffc9a3b1f1024bc991dd3a | [log] [tgz] |
---|---|---|
author | nitind <nitind> | Thu Sep 15 11:41:07 2005 +0000 |
committer | nitind <nitind> | Thu Sep 15 11:41:07 2005 +0000 |
tree | 15a6946c0f498a0e9e279beb2d48684283a4b5d0 | |
parent | e19fe0001139d770fe319ec579f54f9999688a95 [diff] |
skip closed projects
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java index 7fd3408..ddc7886 100644 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java +++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java
@@ -332,8 +332,8 @@ */ private void addClasspathEntriesForProject(IProject p, TaglibClassLoader loader) { - // avoid infinite recursion - if(fProjectEntries.contains(p.getFullPath().toString())) + // avoid infinite recursion and closed project + if(!p.isAccessible() || fProjectEntries.contains(p.getFullPath().toString())) return; fProjectEntries.add(p.getFullPath().toString());