The Unified and Autonomous Development Platform
chore: Revert dev.sh changes
Robin Shen839691adbee8
diff --git a/dev.sh b/dev.shindex 48eb94b443..4c2067f37f 100755--- a/dev.sh+++ b/dev.sh@@ -40,15 +40,13 @@ ensure_artifact() {}build_classpath() {- local_artifacts=$(find . -path '*/target/classes' -type d ! -path '*/bin/*' \- | while read -r dir; do basename "$(dirname "$(dirname "$dir")")"; done | sort -u)- exclude_artifacts=$(echo "$local_artifacts" | paste -sd, -)run_maven -pl server-product dependency:build-classpath \- -DexcludeArtifactIds="$exclude_artifacts" \-Dmdep.outputFile=target/deps-classpath.txt || return 1module_cp=$(find . -path '*/target/classes' -type d ! -path '*/bin/*' \| tr '\n' ':' | sed 's/:$//')+ local_artifacts=$(find . -path '*/target/classes' -type d ! -path '*/bin/*' \+ | while read -r dir; do basename "$(dirname "$(dirname "$dir")")"; done | sort -u)deps_cp=$(tr ':' '\n' < server-product/target/deps-classpath.txt | while read -r jar; doartifact=$(echo "$jar" | sed -n 's|.*/io/onedev/\([^/]*\)/.*|\1|p')if [ -n "$artifact" ] && echo "$local_artifacts" | grep -qx "$artifact"; then@@ -311,3 +309,4 @@ trap cleanup_run EXITjava $MAVEN_OPTS $hotswap_options -cp "$classpath" \io.onedev.commons.bootstrap.Bootstrap "$@"+