You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script docker/joynr-android/scripts/build/java-android-clean-build runs with set -e, which means exit immediately if a command exits with a non-zero status. Running this script again, without deleting the keystores/truststores, will generate the following error and abort the whole script:
keytool error: java.lang.Exception: Certificate not imported, alias <mykey> already exists
Therefore it isn't possible to do a clean maven build again with the current implementation.
Another problem with the keytool part in this script is, that the following lines:
The script
docker/joynr-android/scripts/build/java-android-clean-build
runs withset -e
, which means exit immediately if a command exits with a non-zero status. Running this script again, without deleting the keystores/truststores, will generate the following error and abort the whole script:Therefore it isn't possible to do a clean maven build again with the current implementation.
Another problem with the keytool part in this script is, that the following lines:
joynr/docker/joynr-android/scripts/build/java-android-clean-build
Line 45 in d65b7d8
joynr/docker/joynr-android/scripts/build/java-android-clean-build
Line 51 in d65b7d8
require an additional
-noprompt
, otherwise the following output is printed to the console if the script runs again:In this case the
keytool
expects input from the user, which is not possible if the docker container wasn't started in interactive mode.The text was updated successfully, but these errors were encountered: