중간커밋

This commit is contained in:
leeheejin
2025-11-10 12:17:16 +09:00
parent ba78332607
commit 8b3c8b182c
12 changed files with 986 additions and 244 deletions

View File

@@ -53,7 +53,10 @@ echo "DEBUG: Effective classpath for javac: $EFFECTIVE_CLASSPATH"
# src 폴더 내의 모든 .java 파일 컴파일
echo "Compiling Java files for development..."
find src -name "*.java" -print0 | xargs -0 javac -encoding UTF-8 -source 1.7 -target 1.7 -d WebContent/WEB-INF/classes -cp "$EFFECTIVE_CLASSPATH"
# Java 7 호환 바이트코드 생성을 위한 추가 옵션
# -source 1.7 -target 1.7: Java 7 문법 및 바이트코드 버전 사용
# -Xlint:-options: 경고 메시지 억제
find src -name "*.java" -print0 | xargs -0 javac -encoding UTF-8 -source 1.7 -target 1.7 -Xlint:-options -d WebContent/WEB-INF/classes -cp "$EFFECTIVE_CLASSPATH"
if [ $? -ne 0 ]; then
echo "Java compilation failed. Exiting script."
exit 1