Ivy Plugin

Ivy plugin downloads file to GRAILS_HOME

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor 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).

Activity

Hide
Heninng Sprang added a comment -

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

Show
Heninng Sprang added a comment - 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
Hide
Heninng Sprang added a comment -

BTW: please let me know if you prefer a different way for getting the patch sent in here!

Do you need/want a svn unified diff? would that make it easier for you to fix it?

Show
Heninng Sprang added a comment - BTW: please let me know if you prefer a different way for getting the patch sent in here! Do you need/want a svn unified diff? would that make it easier for you to fix it?
Hide
Heninng Sprang added a comment -

Again as attachement here, in case the file get's lost on code.google.com somehow...

Show
Heninng Sprang added a comment - Again as attachement here, in case the file get's lost on code.google.com somehow...
Hide
Peter Ledbrook added a comment -

Diffs against Subversion HEAD are preferred.

Show
Peter Ledbrook added a comment - Diffs against Subversion HEAD are preferred.

People

Vote (4)
Watch (6)

Dates

  • Created:
    Updated: