Complete Java Project template for running and creating Jar files for Java projects, with built-in fast-pixel blitting engine.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#Builds and runs the project.
|
|
|
|
#Java
|
|
|
|
source ${LANGUAGE}/scripts/version_info
|
|
|
|
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH} -d ${OUT_DIR} ${PROJECT_DIR}/*.java
|
|
|
|
printf "\n\n\nRunning Program...\n\n"
|
|
|
|
ORIGINAL_LOC=$(pwd)
|
|
|
|
cd $OUT_DIR
|
|
|
|
java -cp .:../lib/bin -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
|
|
|
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|