Open johnsudaar opened 4 years ago
@johnsudaar : Would it be OK to do the check in the bin/release
script?
It feels a bit weird to me.
I think it should be checked earlier, in the bin/compile
script
Discussion with Françosi what has been decided:
bin/compile
it should be called to mention which war
file will be used during execution, and give a hint to modify WAR_PATH
to use another one. If no .war
could be found, the deployment should fail.bin/release
a wrapper script should be used, created in bin/start-war-app
which will re-use the find method or directly start the app defined in WAR_PATH
Currently if no war file is found, we fail with the following error message:
We should fail with a better error message saying that no war files were found and link them to the Procfile docs.