Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 53 lines (39 sloc) 0.719 kb
#!/bin/bash
# run in sequences the different maven calls needed to fully build Scala IDE from scratch
#ROOT_DIR=$(dirname $(readlink -f $0))
# not as good as the readlink version, but it is not working on os X
ROOT_DIR=$(dirname $0)
RUNNING_DIR=${PWD}
if [ -z "$*" ]
then
ARGS=install
else
ARGS="$*"
fi
echo "Running with: mvn ${ARGS}"
# the parent project
cd ${ROOT_DIR}
mvn ${ARGS}
RES=$?
if [ ${RES} != 0 ]
then
exit ${RES}
fi
# the toolchain
cd ${RUNNING_DIR}
cd ${ROOT_DIR}/org.scala-ide.build-toolchain
mvn ${ARGS}
RES=$?
if [ ${RES} != 0 ]
then
exit ${RES}
fi
# the plugins
cd ${RUNNING_DIR}
cd ${ROOT_DIR}/org.scala-ide.sdt.build
mvn ${ARGS}
RES=$?
if [ ${RES} != 0 ]
then
exit ${RES}
fi
Jump to Line
Something went wrong with that request. Please try again.