Open retronym opened 5 years ago
Hmmm, another problem in my built checkout:
$ ./gradlew clean install
BUILD SUCCESSFUL in 0s
5 actionable tasks: 5 executed
$ ls /Users/jz/code/jfr-flame-graph/build/lib/
ls: /Users/jz/code/jfr-flame-graph/build/lib/: No such file or directory
$ ls /Users/jz/code/jfr-flame-graph/build/libs
jfr-flame-graph-0.0.4-SNAPSHOT.jar
$ sh -x ./jfr-flamegraph -help
+ PRG=./jfr-flamegraph
+ '[' -h ./jfr-flamegraph ']'
++ ls -ld ./jfr-flamegraph
+ ls='lrwxr-xr-x 1 jz staff 29 Mar 22 17:36 ./jfr-flamegraph -> build/scripts/jfr-flame-graph'
++ expr 'lrwxr-xr-x 1 jz staff 29 Mar 22 17:36 ./jfr-flamegraph -> build/scripts/jfr-flame-graph' : '.*-> \(.*\)$'
+ link=build/scripts/jfr-flame-graph
+ expr build/scripts/jfr-flame-graph : '/.*'
++ dirname ./jfr-flamegraph
+ PRG=./build/scripts/jfr-flame-graph
+ '[' -h ./build/scripts/jfr-flame-graph ']'
++ pwd
+ SAVED=/code/jfr-flame-graph
++ dirname ./build/scripts/jfr-flame-graph
+ cd ./build/scripts/..
++ pwd -P
+ APP_HOME=/Users/jz/code/jfr-flame-graph/build
+ cd /code/jfr-flame-graph
+ APP_NAME=jfr-flame-graph
++ basename ./jfr-flamegraph
+ APP_BASE_NAME=jfr-flamegraph
+ DEFAULT_JVM_OPTS=
+ MAX_FD=maximum
+ cygwin=false
+ msys=false
+ darwin=false
+ nonstop=false
+ case "`uname`" in
++ uname
+ darwin=true
+ CLASSPATH=/Users/jz/code/jfr-flame-graph/build/lib/jfr-flame-graph-0.0.4-SNAPSHOT.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.flightrecorder_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.common_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/jcommander-1.72.jar:/Users/jz/code/jfr-flame-graph/build/lib/gson-2.8.5.jar
+ '[' -n /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home ']'
+ '[' -x /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/sh/java ']'
+ JAVACMD=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/bin/java
+ '[' '!' -x /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/bin/java ']'
+ '[' false = false -a true = false -a false = false ']'
+ true
+ GRADLE_OPTS=' "-Xdock:name=jfr-flame-graph" "-Xdock:icon=/Users/jz/code/jfr-flame-graph/build/media/gradle.icns"'
+ false
++ save -help
++ for i in '"$@"'
++ printf '%s\n' -help
++ sed 's/'\''/'\''\\'\'''\''/g;1s/^/'\''/;$s/$/'\'' \\/'
++ echo ' '
+ APP_ARGS=''\''-help'\'' \
'
+ eval set -- -classpath '"/Users/jz/code/jfr-flame-graph/build/lib/jfr-flame-graph-0.0.4-SNAPSHOT.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.flightrecorder_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.common_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/jcommander-1.72.jar:/Users/jz/code/jfr-flame-graph/build/lib/gson-2.8.5.jar"' com.github.chrishantha.jfr.flamegraph.output.Application ''\''-help'\'' \
'
++ set -- -classpath /Users/jz/code/jfr-flame-graph/build/lib/jfr-flame-graph-0.0.4-SNAPSHOT.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.flightrecorder_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.common_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/jcommander-1.72.jar:/Users/jz/code/jfr-flame-graph/build/lib/gson-2.8.5.jar com.github.chrishantha.jfr.flamegraph.output.Application -help
++ uname
+ '[' Darwin = Darwin ']'
+ '[' /Users/jz = /code/jfr-flame-graph ']'
+ exec /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/bin/java -classpath /Users/jz/code/jfr-flame-graph/build/lib/jfr-flame-graph-0.0.4-SNAPSHOT.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.flightrecorder_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/com.jrockit.mc.common_5.5.1.172852.jar:/Users/jz/code/jfr-flame-graph/build/lib/jcommander-1.72.jar:/Users/jz/code/jfr-flame-graph/build/lib/gson-2.8.5.jar com.github.chrishantha.jfr.flamegraph.output.Application -help
Error: Could not find or load main class com.github.chrishantha.jfr.flamegraph.output.Application
I wonder if there is some Gradle component that has changed the convention for pluralization of this directories?