[MacPorts] #56768: Gradle init fails

MacPorts noreply at macports.org
Fri Jul 6 01:10:58 UTC 2018


#56768: Gradle init fails
---------------------+----------------------
  Reporter:  l-g     |      Owner:  amake
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  gradle  |
---------------------+----------------------

Comment (by amake):

 The `currentDir` at the end of this line looks suspect:

 {{{
 20:23:22.597 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient]
 Connected to daemon DaemonInfo{pid=34492, address=[1dbd6499-7d7c-
 4a52-8bf0-a96bd2a298d5 port:52208, addresses:[/0:0:0:0:0:0:0:1,
 /127.0.0.1]], state=Idle, lastBusy=1530728557709,
 context=DefaultDaemonContext[uid=18f40db9-e3cd-413a-bbbf-
 6015a3faddea,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home,daemonRegistryDir=/Users/lg/.gradle/daemon,pid=34492,idleTimeout=10800000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}.
 Dispatching request Build{id=0b9ae9aa-76eb-4b3d-9af0-9c12c619b0f6,
 currentDir=/opt/local/bin}.
 }}}

 What is your pwd when you run the gradle command? Are you trying to run
 gradle from `/opt/local/bin`? Because you should be running it from the
 root of your project.

-- 
Ticket URL: <https://trac.macports.org/ticket/56768#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list