From 201f9a9a7c4c1d31da92e34f7d21ee6994972f0f Mon Sep 17 00:00:00 2001 From: Nic0Nic0Nii Date: Mon, 23 May 2022 18:44:36 +0000 Subject: [PATCH] Nice...target appears twice Co-authored-by: sigonasr2 --- Java/scripts/build.sh | 3 +-- Java/scripts/jar.sh | 2 +- Java/scripts/md5 | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Java/scripts/build.sh b/Java/scripts/build.sh index 722f061..b8a2bed 100755 --- a/Java/scripts/build.sh +++ b/Java/scripts/build.sh @@ -1,9 +1,8 @@ #Builds and runs the project. #Java - source ${LANGUAGE}/scripts/version_info rm -Rf out/* -javac -source ${SOURCE_VERSION} -target -target ${TARGET_VERSION} -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java +javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java printf "\n\n\nRunning Program...\n\n" ORIGINAL_LOC=$(pwd) cd $OUT_DIR diff --git a/Java/scripts/jar.sh b/Java/scripts/jar.sh index b942fc6..1d3fad6 100755 --- a/Java/scripts/jar.sh +++ b/Java/scripts/jar.sh @@ -2,7 +2,7 @@ #Java source ${LANGUAGE}/scripts/version_info rm -Rf bin/* -javac -source ${SOURCE_VERSION} -target -target ${TARGET_VERSION} -Xlint:unchecked -cp src -d bin ${PROJECT_DIR}/${PROJECT_NAME}.java +javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp src -d bin ${PROJECT_DIR}/${PROJECT_NAME}.java printf "\n\n\nGenerating Manifest...\n\n" touch manifest echo "Main-Class: ${MAIN_CLASS}" >> manifest diff --git a/Java/scripts/md5 b/Java/scripts/md5 index 68bdaed..d641757 100644 --- a/Java/scripts/md5 +++ b/Java/scripts/md5 @@ -1,5 +1,5 @@ -build.sh:a92d03fe231db40dfab03c88f3ad3f72 - +build.sh:55f0208b07ba384f45009d6f92fe88fe - clean.sh:96ce35f2d2dcb555421e00a6afda23ca - commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - -jar.sh:dd20151fedff690e2cbe0aede3458e13 - +jar.sh:56f9b7c6dc8e85f28ffefe9ce82b1f07 - version_info:da52e1bbd6f9f5b183cbff77f8571d5e -