forked from dgc-rhul/frontier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frontier-bld.sh
executable file
·40 lines (31 loc) · 1.24 KB
/
frontier-bld.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
if [ $# -eq 0 ]
then
echo "No arguments supplied: Do you want to build for \"core\" or \"pi\" experiments?"
exit;
fi
pushd seep-system/examples/acita_demo_2015 ; ant clean ; popd
pushd seep-system/examples/stateless-simple-query ; ant clean ; popd
#mvn -Djavacpp.platform=linux-armhf clean compile assembly:single
mkdir -p seep-system/examples/acita_demo_2015/lib
mkdir -p seep-system/examples/stateless-simple-query/lib
rm -f seep-system/examples/acita_demo_2015/lib/*.jar
if [[ "$1" = "core" ]]
then
cp seep-system/pom.xml.core seep-system/pom.xml
else
cp seep-system/pom.xml.pi seep-system/pom.xml
cp seep-system/examples/acita_demo_2015/lib.arm/*.jar seep-system/examples/acita_demo_2015/lib
fi
mvn clean compile assembly:single
cp seep-system/target/seep-system-0.0.1-SNAPSHOT.jar seep-system/examples/acita_demo_2015/lib
cp seep-system/target/seep-system-0.0.1-SNAPSHOT.jar seep-system/examples/stateless-simple-query/lib
mkdir -p seep-system/examples/acita_demo_2015/tmp
if [[ "$1" = "core" ]]
then
pushd seep-system/examples/acita_demo_2015 ; ant dist-res ; popd
else
pushd seep-system/examples/acita_demo_2015 ; ant dist ; popd
fi
pushd seep-system/examples/stateless-simple-query ; ant ; popd
#./gradlew build -x test