Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README with actual location of build script #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

retronym
Copy link
Contributor

No description provided.

@retronym
Copy link
Contributor Author

/code/jfr-flame-graph
$ ls build/bin
ls: build/bin: No such file or directory
/code/jfr-flame-graph
$ ls build/scripts
jfr-flame-graph     jfr-flame-graph.bat

@retronym retronym closed this Mar 22, 2019
@retronym retronym reopened this Mar 22, 2019
@retronym
Copy link
Contributor Author

retronym commented Mar 22, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant