Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 53 lines (39 sloc) 0.727 kB
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
1 #!/bin/bash
2
3 # run in sequences the different maven calls needed to fully build Scala IDE from scratch
4
5
6 #ROOT_DIR=$(dirname $(readlink -f $0))
7 # not as good as the readlink version, but it is not working on os X
8 ROOT_DIR=$(dirname $0)
9
10 RUNNING_DIR=${PWD}
11
12 if [ -z "$*" ]
13 then
63d9441 @dotta Defaulted build-all.sh script to do a mvn clean install (instead of o…
dotta authored
14 ARGS="clean install"
bfc88fd @skyluc Major refactoring of the maven build.
skyluc authored
15 else
16 ARGS="$*"
17 fi
18
19 echo "Running with: mvn ${ARGS}"
20
21 # the parent project
22 cd ${ROOT_DIR}
23 mvn ${ARGS}
24
25 RES=$?
26 if [ ${RES} != 0 ]
27 then
28 exit ${RES}
29 fi
30
31 # the toolchain
32 cd ${RUNNING_DIR}
33 cd ${ROOT_DIR}/org.scala-ide.build-toolchain
34 mvn ${ARGS}
35
36 RES=$?
37 if [ ${RES} != 0 ]
38 then
39 exit ${RES}
40 fi
41
42 # the plugins
43 cd ${RUNNING_DIR}
44 cd ${ROOT_DIR}/org.scala-ide.sdt.build
45 mvn ${ARGS}
46
47 RES=$?
48 if [ ${RES} != 0 ]
49 then
50 exit ${RES}
51 fi
52
Something went wrong with that request. Please try again.