Grails

Grails searches the entire current directory tree for plugins

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.0.2
  • Component/s: Plugins
  • Labels:
    None
  • Environment:
    Mac OS X 10.5, Java 1.5

Description

When you execute:

grails create-app appname

You might be in a really big directory, as I was this morning. In that case, this line:

src/commons/org/codehaus/groovy/grails/cli/GrailsScriptRunner.groovy:185
def plugins = RESOLVER.getResources("file:${baseDir.absolutePath}/**/*GrailsPlugin.groovy")

Attempts to search that entire directory tree for GrailsPlugins. This does not scale well. I have millions of files under parts of the tree where I might want to create a Grails application. Suggested fix would be to be more specific about where these plugins can live.

Activity

Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: