aboutsummaryrefslogtreecommitdiffstats
path: root/docs/teaching/exercises/scripts/setpaths.sh
blob: e944776ed827697ae1953e38980516783b4db708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# this file should be sourced, NOT executed

# Change this to be the full path for this directory
EXTRACTION=$HOME/aj-@aj.event@

if [ "$JAVA_HOME" = "" ] 
then
    echo Please remember to manually set $JAVA_HOME to 
    echo the location of your java installation
fi

export ASPECTJ_HOME=$EXTRACTION/aspectj
export PATH=$ASPECTJ_HOME/bin:$PATH
export CLASSPATH=.:$ASPECTJ_HOME/lib/aspectjrt.jar:$EXTRACTION/junit.jar:$JAVA_HOME/jre/lib/rt.jar

chmod a+x $ASPECTJ_HOME/bin/ajc
chmod a+x $ASPECTJ_HOME/bin/ajbrowser