forked from david-sabata/sin-xroads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compile.sh
18 lines (13 loc) · 1.11 KB
/
compile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
mkdir -p build
chmod a+xr build
#javac -sourcepath src -d build -encoding UTF-8 -classpath libs/jade.jar:libs/commons-codec-1.3.jar src/xroads/*.java
javac -sourcepath src -d build -encoding UTF-8 -classpath libs/jade.jar:libs/commons-codec-1.3.jar src/xroads/agents/*.java
javac -sourcepath src -d build -encoding UTF-8 -classpath libs/jade.jar:libs/commons-codec-1.3.jar src/xroads/behaviours/*.java
javac -sourcepath src -d build -encoding UTF-8 -classpath libs/jade.jar:libs/commons-codec-1.3.jar src/xroads/behaviours/carfsm/*.java
javac -sourcepath src -d build -encoding UTF-8 -classpath libs/jade.jar:libs/commons-codec-1.3.jar src/xroads/behaviours/xroadfsm/*.java
javac -sourcepath src -d build -encoding UTF-8 -classpath libs/jade.jar:libs/commons-codec-1.3.jar src/xroads/gui/*.java
mkdir -p bin
cp libs/jade.jar bin/jade.jar
cp libs/commons-codec-1.3.jar bin/commons-codec-1.3.jar
jar cmf src/manifest bin/sin-project.jar build/xroads/*.class build/xroads/agents/*.class build/xroads/behaviours/*.class build/xroads/behaviours/carfsm/*.class build/xroads/behaviours/xroadfsm/*.class build/xroads/gui/*.class