Skip to content

Instantly share code, notes, and snippets.

@boseji
Last active December 27, 2015 07:29
Show Gist options
  • Save boseji/7289260 to your computer and use it in GitHub Desktop.
Save boseji/7289260 to your computer and use it in GitHub Desktop.
ANT Build Scripts for Linux
#!/bin/sh
set +v
#export JAVA_PATH= set your JDK install path here - not the bin directory
#export ANT_PATH= set your Ant extracted path here - not the bin directory
export JAVA_HOME=$JAVA_PATH
export ANT_HOME=$ANT_PATH
export PATH=$JAVA_PATH/bin:$ANT_PATH/bin:$PATH
clear
echo ANT Build Environment Setup Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment