From 52401de2a57226c88ed7b957caf1e6672fda30ab Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 3 Mar 2011 20:46:32 +0100 Subject: [PATCH] lib/groovy*.jar is not necessary for groovy distributions --- .../plugins/groovy/config/GroovyLibraryDescription.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/config/GroovyLibraryDescription.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/config/GroovyLibraryDescription.java index b36f2deb8d1b..e70b4480e2f0 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/config/GroovyLibraryDescription.java +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/config/GroovyLibraryDescription.java @@ -80,10 +80,6 @@ public class GroovyLibraryDescription extends CustomLibraryDescription { @Nullable public static GroovyLibraryPresentationProviderBase findManager(@NotNull VirtualFile dir) { - if (GroovyUtils.getFilesInDirectoryByPattern(dir.getPath() + "/lib", "groovy.*\\.jar").length == 0) { - return null; - } - final String name = dir.getName(); final List providers = ContainerUtil.findAll(LibraryPresentationProvider.EP_NAME.getExtensions(), GroovyLibraryPresentationProviderBase.class);