generated from sigonasr2/JavaProjectTemplate
Setup build script for opengl libs
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
bcdbfe16cb
commit
80170e2cf2
@ -1,17 +1,27 @@
|
||||
#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
|
||||
if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
if javac -source ${SOURCE_VERSION} -target ${TARGET_VERSION} -Xlint:unchecked -cp ${CLASS_PATH} -d ${OUT_DIR} ${PROJECT_DIR}/*.java; then
|
||||
printf "\n\n\nRunning Program...\n\n"
|
||||
ORIGINAL_LOC=$(pwd)
|
||||
cd lib
|
||||
rm -Rf bin
|
||||
mkdir bin
|
||||
jar -xvf gluegen-rt-natives-linux-amd64.jar
|
||||
jar -xvf gluegen-rt.jar
|
||||
jar -xvf jogl-all.jar
|
||||
jar -xvf jogl-all-natives-linux-amd64.jar
|
||||
mv $(find . -type d -not -path "." -not -path "./bin" -not -name "lib") bin
|
||||
cd ..
|
||||
cd $OUT_DIR
|
||||
if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
exit
|
||||
fi
|
||||
if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
exit
|
||||
fi
|
||||
java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+PrintCommandLineFlags -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
exit
|
||||
fi
|
||||
if java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"; then
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
exit
|
||||
fi
|
||||
java ${CUSTOM_PARAMS} -cp .:../lib/bin/ -XX:+PrintCommandLineFlags -Djava.library.path="${LIBRARY_PATH}" ${MAIN_CLASS} "$@"
|
||||
${ORIGINAL_LOC}/${LANGUAGE}/scripts/clean.sh
|
||||
fi
|
21
lib/bin/META-INF/MANIFEST.MF
Normal file
21
lib/bin/META-INF/MANIFEST.MF
Normal file
@ -0,0 +1,21 @@
|
||||
Manifest-Version: 1.0
|
||||
Ant-Version: Apache Ant 1.9.4
|
||||
Created-By: 1.8.0_60-b27 (Oracle Corporation)
|
||||
Application-Name: Java Bindings for OpenGL
|
||||
Specification-Title: Java Bindings for OpenGL API Specification
|
||||
Specification-Version: 2.3
|
||||
Specification-Vendor: JogAmp Community
|
||||
Implementation-Title: Java Bindings for OpenGL Runtime Environment
|
||||
Implementation-Version: 2.3.2
|
||||
Implementation-Build: 2.3-b1469-20151010
|
||||
Implementation-Branch: origin/master
|
||||
Implementation-Commit: e794fc40ba723f2fca4ac892e873975fb393e007
|
||||
Implementation-Vendor: JogAmp Community
|
||||
Implementation-URL: http://jogamp.org/
|
||||
Extension-Name: jogamp.nativetag.opengl
|
||||
Implementation-Vendor-Id: com.jogamp
|
||||
Trusted-Library: true
|
||||
Permissions: all-permissions
|
||||
Application-Library-Allowable-Codebase: *
|
||||
Codebase: *.jogamp.org
|
||||
|
BIN
lib/bin/com/jogamp/common/ExceptionUtils$CustomStackTrace.class
Normal file
BIN
lib/bin/com/jogamp/common/ExceptionUtils$CustomStackTrace.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/ExceptionUtils.class
Normal file
BIN
lib/bin/com/jogamp/common/ExceptionUtils.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/GlueGenVersion.class
Normal file
BIN
lib/bin/com/jogamp/common/GlueGenVersion.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/JogampRuntimeException.class
Normal file
BIN
lib/bin/com/jogamp/common/JogampRuntimeException.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/jvm/JNILibLoaderBase$1.class
Normal file
BIN
lib/bin/com/jogamp/common/jvm/JNILibLoaderBase$1.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/bin/com/jogamp/common/jvm/JNILibLoaderBase.class
Normal file
BIN
lib/bin/com/jogamp/common/jvm/JNILibLoaderBase.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/AssetURLConnection.class
Normal file
BIN
lib/bin/com/jogamp/common/net/AssetURLConnection.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/AssetURLContext$1.class
Normal file
BIN
lib/bin/com/jogamp/common/net/AssetURLContext$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/AssetURLContext.class
Normal file
BIN
lib/bin/com/jogamp/common/net/AssetURLContext.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/AssetURLStreamHandler.class
Normal file
BIN
lib/bin/com/jogamp/common/net/AssetURLStreamHandler.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/PiggybackURLConnection.class
Normal file
BIN
lib/bin/com/jogamp/common/net/PiggybackURLConnection.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/PiggybackURLContext.class
Normal file
BIN
lib/bin/com/jogamp/common/net/PiggybackURLContext.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/Uri$ASCIIEncoded.class
Normal file
BIN
lib/bin/com/jogamp/common/net/Uri$ASCIIEncoded.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/Uri$Encoded.class
Normal file
BIN
lib/bin/com/jogamp/common/net/Uri$Encoded.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/Uri.class
Normal file
BIN
lib/bin/com/jogamp/common/net/Uri.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/UriQueryProps.class
Normal file
BIN
lib/bin/com/jogamp/common/net/UriQueryProps.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/asset/Handler$1.class
Normal file
BIN
lib/bin/com/jogamp/common/net/asset/Handler$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/net/asset/Handler.class
Normal file
BIN
lib/bin/com/jogamp/common/net/asset/Handler.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/AbstractBuffer.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/AbstractBuffer.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/Buffers.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/Buffers.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/ByteBufferInputStream.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/ByteBufferInputStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/CachedBufferFactory$1.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/CachedBufferFactory$1.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/CachedBufferFactory.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/CachedBufferFactory.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/MappedByteBufferInputStream.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/MappedByteBufferInputStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/MappedByteBufferOutputStream.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/MappedByteBufferOutputStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/NativeBuffer.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/NativeBuffer.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/PointerBuffer.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/PointerBuffer.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/nio/StructAccessor.class
Normal file
BIN
lib/bin/com/jogamp/common/nio/StructAccessor.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/AndroidVersion.class
Normal file
BIN
lib/bin/com/jogamp/common/os/AndroidVersion.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/DynamicLibraryBundle$1.class
Normal file
BIN
lib/bin/com/jogamp/common/os/DynamicLibraryBundle$1.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/DynamicLibraryBundle.class
Normal file
BIN
lib/bin/com/jogamp/common/os/DynamicLibraryBundle.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/DynamicLibraryBundleInfo.class
Normal file
BIN
lib/bin/com/jogamp/common/os/DynamicLibraryBundleInfo.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/DynamicLinker.class
Normal file
BIN
lib/bin/com/jogamp/common/os/DynamicLinker.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/DynamicLookupHelper.class
Normal file
BIN
lib/bin/com/jogamp/common/os/DynamicLookupHelper.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/MachineDataInfo$StaticConfig.class
Normal file
BIN
lib/bin/com/jogamp/common/os/MachineDataInfo$StaticConfig.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/MachineDataInfo.class
Normal file
BIN
lib/bin/com/jogamp/common/os/MachineDataInfo.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$1.class
Normal file
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$2.class
Normal file
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$2.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$3.class
Normal file
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$3.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$4.class
Normal file
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$4.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$5.class
Normal file
BIN
lib/bin/com/jogamp/common/os/NativeLibrary$5.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/NativeLibrary.class
Normal file
BIN
lib/bin/com/jogamp/common/os/NativeLibrary.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/Platform$1.class
Normal file
BIN
lib/bin/com/jogamp/common/os/Platform$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/Platform$ABIType.class
Normal file
BIN
lib/bin/com/jogamp/common/os/Platform$ABIType.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/Platform$CPUFamily.class
Normal file
BIN
lib/bin/com/jogamp/common/os/Platform$CPUFamily.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/Platform$CPUType.class
Normal file
BIN
lib/bin/com/jogamp/common/os/Platform$CPUType.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/Platform$OSType.class
Normal file
BIN
lib/bin/com/jogamp/common/os/Platform$OSType.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/os/Platform.class
Normal file
BIN
lib/bin/com/jogamp/common/os/Platform.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/type/WriteCloneable.class
Normal file
BIN
lib/bin/com/jogamp/common/type/WriteCloneable.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/ArrayHashMap.class
Normal file
BIN
lib/bin/com/jogamp/common/util/ArrayHashMap.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/ArrayHashSet.class
Normal file
BIN
lib/bin/com/jogamp/common/util/ArrayHashSet.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitfield$Factory.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitfield$Factory.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitfield$Util.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitfield$Util.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitfield.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitfield.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteArrayStream.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteArrayStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteBufferStream.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteBufferStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteInputStream.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteInputStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteOutputStream.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteOutputStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteStream.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitstream$ByteStream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Bitstream.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Bitstream.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/CustomCompress.class
Normal file
BIN
lib/bin/com/jogamp/common/util/CustomCompress.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/FloatStack.class
Normal file
BIN
lib/bin/com/jogamp/common/util/FloatStack.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/Function.class
Normal file
BIN
lib/bin/com/jogamp/common/util/Function.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/FunctionTask.class
Normal file
BIN
lib/bin/com/jogamp/common/util/FunctionTask.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/HashUtil.class
Normal file
BIN
lib/bin/com/jogamp/common/util/HashUtil.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IOUtil$1.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IOUtil$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IOUtil$ClassResources.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IOUtil$ClassResources.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IOUtil$StreamMonitor.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IOUtil$StreamMonitor.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IOUtil.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IOUtil.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntBitfield.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntBitfield.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$1.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$2.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$2.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$Entry.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$Entry.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$EntryCM.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$EntryCM.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$EntryIterator.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap$EntryIterator.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntIntHashMap.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$1.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$2.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$2.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$Entry.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$Entry.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$EntryCM.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap$EntryCM.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntLongHashMap.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$1.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$1.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$2.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$2.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$Entry.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$Entry.class
Normal file
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$EntryCM.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap$EntryCM.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap.class
Normal file
BIN
lib/bin/com/jogamp/common/util/IntObjectHashMap.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