Open taylorSando opened 9 years ago
@taylorSando Thanks for reporting this; as you noted, that entire part of the bin/compile
script is taken verbatim from the lein buildpack and I have not yet tested it in this configuration.
If you figure out what it is, or find a fix, could you update this issue?
I've added my code to bin/compile and bin/detect.
Having same issue
+1
When attempting to use even a bare bones app, with just a build.boot in the directory, I'm just getting:
Installing OpenJDK 1.8.../tmp/buildpack_ece3941132503b960455c652ae21d2e0/bin/compile: 192: /tmp/buildpack_ece3941132503b960455c652ae21d2e0/bin/compile: Bad substitution cp: cannot stat '//opt/with_jmap': No such file or directory
! Push rejected, failed to compile BootClojure app
I have forked the code and did some debugging, it's happening here:
Install JDK
javaVersion=$(detect_java_version ${BUILD_DIR}) echo -n "-----> Installing OpenJDK ${javaVersion}..."
Right here
install_java ${BUILD_DIR} ${javaVersion} jdk_overlay ${BUILD_DIR} echo "done"
It's very weird, because the clojure/lein buildpack is using the exact same code as far as I can tell.