Compare commits
1 Commits
ycplm_node
...
V202603190
| Author | SHA1 | Date | |
|---|---|---|---|
| 03e09bcc2d |
@@ -53,7 +53,7 @@ echo "DEBUG: Effective classpath for javac: $EFFECTIVE_CLASSPATH"
|
|||||||
# src 폴더 내의 모든 .java 파일 컴파일
|
# src 폴더 내의 모든 .java 파일 컴파일
|
||||||
echo "Compiling Java files for development..."
|
echo "Compiling Java files for development..."
|
||||||
|
|
||||||
find src -name "*.java" -print0 | xargs -0 javac -encoding UTF-8 -source 1.8 -target 1.8 -d WebContent/WEB-INF/classes -cp "$EFFECTIVE_CLASSPATH"
|
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"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Java compilation failed. Exiting script."
|
echo "Java compilation failed. Exiting script."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user