Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.7, 2.0.1
-
Fix Version/s: 2.1-RC1
-
Component/s: Project infrastructure
-
Labels:
-
Environment:OS X ('darwin')
Description
in $GRAILS_HOME/bin/startGrails:
119 # Allow access to Cocoa classes on OS X
120 if $darwin; then
121 STARTER_CLASSPATH="$STARTER_CLASSPATH:/System/Library/Java"
122 fi
line #121 should be changed to
121 STARTER_CLASSPATH="$STARTER_CLASSPATH:/System/Library/Java/Support"
Background: within /System/Library/Java are lots of irrelevant Java libs (even whole JVMs), the support classes for Cocoa-Bindings are within the 'Support' subfolder; before patching this, my grails project wouldn't start for hours (due to the monster-classpath)
Pull request – https://github.com/grails/grails-core/pull/170