mei_rt2mei_rt2_fix_1
Last change
on this file since e3c7769 was
e3c7769,
checked in by Mei <mei@…>, 12 years ago
|
1) wrap up java interface with swig/jni/abac linkup
2) java regression tests
3) update doc related to new java implmentation
|
-
Property mode set to
100644
|
File size:
877 bytes
|
Rev | Line | |
---|
[97a6a36] | 1 | |
---|
[e3c7769] | 2 | .PHONY : tt tchunk |
---|
[97a6a36] | 3 | all: run_attr run_prove |
---|
| 4 | |
---|
| 5 | clean: |
---|
| 6 | @rm -f *.pem *.der *.log pfile |
---|
[e3c7769] | 7 | @rm -rf build *.class tt rr |
---|
[97a6a36] | 8 | |
---|
| 9 | |
---|
| 10 | run_attr: |
---|
| 11 | make clean |
---|
| 12 | rm -rf attr.log |
---|
| 13 | ant |
---|
| 14 | javac -classpath ./build/classes abac_attr.java |
---|
| 15 | java -classpath ./build/classes:. abac_attr 1 >attr.log 2>&1 |
---|
| 16 | |
---|
| 17 | run_prove: |
---|
| 18 | rm -rf prover.log |
---|
| 19 | make run_attr |
---|
| 20 | ./run_prover 1 >prover.log 2>& 1 |
---|
| 21 | |
---|
| 22 | tchunk: |
---|
| 23 | make clean |
---|
| 24 | javac -classpath ./build/classes tchunk.java |
---|
| 25 | java -classpath ./build/classes:. tchunk 1 IceCream_ID.pem IceCream_private.pem |
---|
| 26 | java -classpath ./build/classes:. tchunk 0 IceCream_ID.pem IceCream_private.pem |
---|
[e3c7769] | 27 | |
---|
| 28 | tt: |
---|
| 29 | @make clean |
---|
| 30 | @ant |
---|
| 31 | @javac -classpath ./build/classes tbasic.java |
---|
| 32 | @echo 'java -XX:+PrintGCDetails -XX:+DisableExplicitGC -classpath ./build/classes:. tbasic' > rr |
---|
| 33 | @echo 'jdb -launch -classpath ./build/classes:. -sourcepath ../../../swig/java tbasic' > tt |
---|
| 34 | @chmod +x tt |
---|
| 35 | @chmod +x rr |
---|
Note: See
TracBrowser
for help on using the repository browser.