Skip to content

Commit

Permalink
Fix script to resolve target/cached_classpath.txt not found error (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
yaalsn authored May 16, 2024
1 parent c1cac07 commit c2e8037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,13 @@ find_module_jar() {
BUILT_JAR=$(find_module_jar_at ${BK_HOME}/${MODULE_PATH}/target ${MODULE_NAME})
if [ -z "${BUILT_JAR}" ]; then
echo "Couldn't find module '${MODULE_NAME}' jar." >&2
read -p "Do you want me to run \`mvn package -DskipTests\` for you ? (y|n) " answer
read -p "Do you want me to run \`mvn install -DskipTests\` for you ? (y|n) " answer
case "${answer:0:1}" in
y|Y )
mkdir -p ${BK_HOME}/logs
output="${BK_HOME}/logs/build.out"
echo "see output at ${output} for the progress ..." >&2
mvn package -DskipTests &> ${output}
mvn install -DskipTests &> ${output}
;;
* )
exit 1
Expand Down

0 comments on commit c2e8037

Please sign in to comment.