Skip to content
Snippets Groups Projects
Commit 66e70d5a authored by sveseli's avatar sveseli
Browse files

add script for running ant

parent 0f509937
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
# Run ant
if [ -z $DM_ROOT_DIR ]; then
cd `dirname $0` && myDir=`pwd`
setupFile=$myDir/../../setup.sh
if [ ! -f $setupFile ]; then
echo "Cannot find setup file: $setupFile"
exit 1
fi
source $setupFile
fi
DM_HOST_ARCH=`uname | tr [A-Z] [a-z]`-`uname -m`
export JAVA_HOME=$DM_SUPPORT/java/$DM_HOST_ARCH
export ANT_HOME=$DM_SUPPORT/ant
export PATH=$ANT_HOME/bin:$PATH
ant $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment