If I attempt to push, say, a java app to Cloud Foundry and my jar doesn't exist, I get a pretty arcane error about the lstat system call, which isn't too helpful. Admittedly I do personally know about this and how one looks up files in Go, but I suspect a lot of people do not.
./gradlew clean
echo WHOOPS I ACCIDENTALLY ALL THE JARS
cf push MySpecialApp -p build/libs/my-service-0.1.1.jar
Updating app MySpecialApp in org My-Special-Org / space My-Special-Space as tjarratt...
OK
FAILED
Error processing app files: lstat /Users/pivotal/workspace/my-special-service/build/libs/my-special-service-0.1.1.jar: no such file or directory
Something nicer about the files not existing would be pretty helpful.
I would propose
./gradlew clean
echo WHOOPS I ACCIDENTALLY ALL THE JARS
cf push MySpecialApp -p build/libs/my-service-0.1.1.jar
Updating app MySpecialApp in org My-Special-Org / space My-Special-Space as tjarratt...
OK
FAILED
Error processing app files: my-special-service-0.1.1.jar ***does not exist***
If I attempt to push, say, a java app to Cloud Foundry and my jar doesn't exist, I get a pretty arcane error about the
lstatsystem call, which isn't too helpful. Admittedly I do personally know about this and how one looks up files in Go, but I suspect a lot of people do not.Something nicer about the files not existing would be pretty helpful.
I would propose