Fix all jar build systems to incorporate external jars
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
e896e1289b
commit
96304c507e
5
Java/scripts/build.sh
Normal file → Executable file
5
Java/scripts/build.sh
Normal file → Executable file
@ -1,10 +1,9 @@
|
||||
#Builds and runs the project.
|
||||
#Java
|
||||
source ${LANGUAGE}/scripts/version_info
|
||||
rm -Rf out/*
|
||||
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java
|
||||
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 -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
java -cp .:../lib/bin -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
@ -1,4 +1,4 @@
|
||||
#Cleans up and removes unused files.
|
||||
#Java
|
||||
find . -type f -name *.class -delete
|
||||
find . -type f -name manifest -delete
|
||||
find -type f -name *.class -delete
|
||||
find -type f -name manifest -delete
|
@ -2,7 +2,7 @@
|
||||
#Java
|
||||
source ${LANGUAGE}/scripts/version_info
|
||||
rm -Rf bin/*
|
||||
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp src -d bin ${PROJECT_DIR}/${PROJECT_NAME}.java
|
||||
javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH} -d ${OUT_DIR} ${PROJECT_DIR}/${PROJECT_NAME}.java
|
||||
printf "\n\n\nGenerating Manifest...\n\n"
|
||||
touch manifest
|
||||
echo "Main-Class: ${MAIN_CLASS}" >> manifest
|
||||
@ -10,7 +10,8 @@ printf "\n\n\nCreating Jar...\n\n"
|
||||
ORIGINAL_LOC=$(pwd)
|
||||
cd ${OUT_DIR}
|
||||
jar cfm ${PROJECT_NAME}.jar ${ORIGINAL_LOC}/manifest sig
|
||||
jar uf ${PROJECT_NAME}.jar -C ../lib/bin/ .
|
||||
printf "\n\n\nRunning Program...\n\n"
|
||||
java -jar ${PROJECT_NAME}.jar "$@"
|
||||
cd ..
|
||||
java -cp .:../lib/bin -Djava.library.path="${LIBRARY_PATH}" -jar ${PROJECT_NAME}.jar "$@"
|
||||
./${LANGUAGE}/scripts/clean.sh
|
||||
cd ..
|
||||
|
Binary file not shown.
BIN
jinput-2.0.9.jar
Normal file
BIN
jinput-2.0.9.jar
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/AbstractComponent.class
Normal file
BIN
lib/bin/net/java/games/input/AbstractComponent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/AbstractController.class
Normal file
BIN
lib/bin/net/java/games/input/AbstractController.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/ButtonUsage.class
Normal file
BIN
lib/bin/net/java/games/input/ButtonUsage.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Component$Identifier$Axis.class
Normal file
BIN
lib/bin/net/java/games/input/Component$Identifier$Axis.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Component$Identifier$Button.class
Normal file
BIN
lib/bin/net/java/games/input/Component$Identifier$Button.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Component$Identifier$Key.class
Normal file
BIN
lib/bin/net/java/games/input/Component$Identifier$Key.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Component$Identifier.class
Normal file
BIN
lib/bin/net/java/games/input/Component$Identifier.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Component$POV.class
Normal file
BIN
lib/bin/net/java/games/input/Component$POV.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Component.class
Normal file
BIN
lib/bin/net/java/games/input/Component.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Controller$PortType.class
Normal file
BIN
lib/bin/net/java/games/input/Controller$PortType.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Controller$Type.class
Normal file
BIN
lib/bin/net/java/games/input/Controller$Type.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Controller.class
Normal file
BIN
lib/bin/net/java/games/input/Controller.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/ControllerEnvironment.class
Normal file
BIN
lib/bin/net/java/games/input/ControllerEnvironment.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/ControllerEvent.class
Normal file
BIN
lib/bin/net/java/games/input/ControllerEvent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/ControllerListener.class
Normal file
BIN
lib/bin/net/java/games/input/ControllerListener.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIAbstractController.class
Normal file
BIN
lib/bin/net/java/games/input/DIAbstractController.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIComponent.class
Normal file
BIN
lib/bin/net/java/games/input/DIComponent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIControllers.class
Normal file
BIN
lib/bin/net/java/games/input/DIControllers.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIDeviceObject.class
Normal file
BIN
lib/bin/net/java/games/input/DIDeviceObject.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIDeviceObjectData.class
Normal file
BIN
lib/bin/net/java/games/input/DIDeviceObjectData.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIEffectInfo.class
Normal file
BIN
lib/bin/net/java/games/input/DIEffectInfo.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIIdentifierMap.class
Normal file
BIN
lib/bin/net/java/games/input/DIIdentifierMap.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIKeyboard.class
Normal file
BIN
lib/bin/net/java/games/input/DIKeyboard.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DIMouse.class
Normal file
BIN
lib/bin/net/java/games/input/DIMouse.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DataQueue.class
Normal file
BIN
lib/bin/net/java/games/input/DataQueue.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DefaultControllerEnvironment.class
Normal file
BIN
lib/bin/net/java/games/input/DefaultControllerEnvironment.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/bin/net/java/games/input/DirectInputEnvironmentPlugin.class
Normal file
BIN
lib/bin/net/java/games/input/DirectInputEnvironmentPlugin.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/DummyWindow.class
Normal file
BIN
lib/bin/net/java/games/input/DummyWindow.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/ElementType.class
Normal file
BIN
lib/bin/net/java/games/input/ElementType.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Event.class
Normal file
BIN
lib/bin/net/java/games/input/Event.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/EventQueue.class
Normal file
BIN
lib/bin/net/java/games/input/EventQueue.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/GenericDesktopUsage.class
Normal file
BIN
lib/bin/net/java/games/input/GenericDesktopUsage.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/IDirectInput.class
Normal file
BIN
lib/bin/net/java/games/input/IDirectInput.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/IDirectInputDevice.class
Normal file
BIN
lib/bin/net/java/games/input/IDirectInputDevice.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/IDirectInputEffect.class
Normal file
BIN
lib/bin/net/java/games/input/IDirectInputEffect.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Keyboard.class
Normal file
BIN
lib/bin/net/java/games/input/Keyboard.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/KeyboardUsage.class
Normal file
BIN
lib/bin/net/java/games/input/KeyboardUsage.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxAbsInfo.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxAbsInfo.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxAbstractController.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxAbstractController.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxAxisDescriptor.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxAxisDescriptor.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxCombinedController.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxCombinedController.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxComponent.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxComponent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxConstantFF.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxConstantFF.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxControllers.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxControllers.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxDevice.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxDevice.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxDeviceTask.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxDeviceTask.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxDeviceThread.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxDeviceThread.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxEnvironmentPlugin$1.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxEnvironmentPlugin$1.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxEnvironmentPlugin.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxEnvironmentPlugin.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxEvent.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxEvent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxEventComponent.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxEventComponent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxEventDevice$1.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxEventDevice$1.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxEventDevice.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxEventDevice.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxForceFeedbackEffect$1.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxForceFeedbackEffect$1.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxForceFeedbackEffect.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxForceFeedbackEffect.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxInputID.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxInputID.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxJoystickAxis.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxJoystickAxis.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxJoystickButton.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxJoystickButton.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxJoystickDevice.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxJoystickDevice.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxJoystickEvent.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxJoystickEvent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxJoystickPOV.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxJoystickPOV.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxKeyboard.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxKeyboard.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxMouse.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxMouse.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxNativeTypesMap.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxNativeTypesMap.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxPOV.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxPOV.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/LinuxRumbleFF.class
Normal file
BIN
lib/bin/net/java/games/input/LinuxRumbleFF.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/Mouse.class
Normal file
BIN
lib/bin/net/java/games/input/Mouse.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/NativeDefinitions.class
Normal file
BIN
lib/bin/net/java/games/input/NativeDefinitions.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXAbstractController.class
Normal file
BIN
lib/bin/net/java/games/input/OSXAbstractController.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXComponent.class
Normal file
BIN
lib/bin/net/java/games/input/OSXComponent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXControllers.class
Normal file
BIN
lib/bin/net/java/games/input/OSXControllers.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXEnvironmentPlugin.class
Normal file
BIN
lib/bin/net/java/games/input/OSXEnvironmentPlugin.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXEvent.class
Normal file
BIN
lib/bin/net/java/games/input/OSXEvent.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXHIDDevice.class
Normal file
BIN
lib/bin/net/java/games/input/OSXHIDDevice.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXHIDDeviceIterator.class
Normal file
BIN
lib/bin/net/java/games/input/OSXHIDDeviceIterator.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXHIDElement.class
Normal file
BIN
lib/bin/net/java/games/input/OSXHIDElement.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXHIDQueue.class
Normal file
BIN
lib/bin/net/java/games/input/OSXHIDQueue.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXKeyboard.class
Normal file
BIN
lib/bin/net/java/games/input/OSXKeyboard.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/OSXMouse.class
Normal file
BIN
lib/bin/net/java/games/input/OSXMouse.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/PluginClassLoader$1.class
Normal file
BIN
lib/bin/net/java/games/input/PluginClassLoader$1.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/bin/net/java/games/input/PluginClassLoader.class
Normal file
BIN
lib/bin/net/java/games/input/PluginClassLoader.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/RawDevice.class
Normal file
BIN
lib/bin/net/java/games/input/RawDevice.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/RawDeviceInfo.class
Normal file
BIN
lib/bin/net/java/games/input/RawDeviceInfo.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/RawHIDInfo.class
Normal file
BIN
lib/bin/net/java/games/input/RawHIDInfo.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/RawIdentifierMap.class
Normal file
BIN
lib/bin/net/java/games/input/RawIdentifierMap.class
Normal file
Binary file not shown.
BIN
lib/bin/net/java/games/input/RawInputEnvironmentPlugin.class
Normal file
BIN
lib/bin/net/java/games/input/RawInputEnvironmentPlugin.class
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user