Created
June 8, 2023 15:24
-
-
Save sampottinger/df9fe30855361b0b042a8c2edfb13d34 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup a new VM (like gitpod) for building Processing-java | |
# Released under MIT license | |
yes | sudo apt-get install rsync | |
cd /tmp | |
wget https://dlcdn.apache.org//ant/binaries/apache-ant-1.10.12-bin.zip | |
unzip apache-ant-1.10.12-bin.zip | |
wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.5%2B8/OpenJDK17U-jdk_x64_linux_hotspot_17.0.5_8.tar.gz | |
tar -xvf OpenJDK17U-jdk_x64_linux_hotspot_17.0.5_8.tar.gz | |
mv jdk-17.0.5+8/ ~ | |
mv apache-ant-1.10.12 ~ | |
cd ~ | |
echo 'export ANT_HOME="/home/gitpod/apache-ant-1.10.12"' >> .bash_profile | |
echo 'export PATH="$PATH:/home/gitpod/apache-ant-1.10.12/bin"' >> .bash_profile | |
echo 'export JAVA_HOME="/home/gitpod/jdk-17.0.5+8"' >> .bash_profile | |
source .bash_profile | |
cd /workspace/processing4/build | |
ant clean | |
ant test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment