Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Debian Linux, OpenJDK 6
Description
The _Install script of the Ivy plugin version 2.0.0-rc1 tries to download a file into $GRAILS_HOME/downloads. This should be a no-no since it breaks setups where a system-wide Grails installation is shared and read-only (as in my Hudson build server).
I'm also bitten by this bug.
Discussed on the list here:
http://grails.markmail.org/search/list:user#query:list%3Auser+page:1+mid:znye3pa2oburbbdo+state:results#
The solution is to replace all occurences of grailsHome in the plugin's code with grailsWorkDir
I did not try, but I think then also the lines where grailsHome is defined can be removed as grailsWorkDir seems to be an internal variable that is available anyway.
A fixed version of the plugin is available for download here:
http://ant-deb-task.googlecode.com/issues/attachment?aid=5021269628287780399&name=grails-ivy-2.0.0-rc1b.zip