[MacPorts] #36646: groovy @2.0.5: gradle-1.2-bin.zip.part (No such file or directory)

MacPorts noreply at macports.org
Fri Jan 11 12:17:44 PST 2013


#36646: groovy @2.0.5: gradle-1.2-bin.zip.part (No such file or directory)
---------------------+------------------------
  Reporter:  nils@…  |      Owner:  breskeby@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.2
Resolution:          |   Keywords:
      Port:  groovy  |
---------------------+------------------------

Comment (by nchen.dev@…):

 Here's a simple workaround that the port maintainer can easily do:

 Change build.cmd on line 40 of the portfile from

 {{{
 ./gradlew
 }}}

 to

 {{{
 GRADLE_USER_HOME=${workpath} ./gradlew
 }}}

 I am not certain what has changed between the different versions of
 Gradle/gradlew that the Groovy source is using, but if you don't
 explicitly set the GRADLE_USER_HOME to some directory, it tries to install
 it into /opt/local/var/macports/home/.gradle which the script does not
 have access to.

-- 
Ticket URL: <https://trac.macports.org/ticket/36646#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list