2 user_test
: queue.nit
$(shell ..
/..
/..
/..
/bin
/nitls
-M user_test.nit
) ..
/..
/..
/..
/bin
/nitc
3 CLASSPATH
=`pwd` ..
/..
/..
/..
/bin
/nitc user_test.nit
5 # Manually add our class file to the Jar for easy access
6 jar
-uf user_test.jar Queue.class
9 Queue.class
: Queue.java
12 # The Nit wrapper to the Java class
13 queue.nit
: Queue.class
14 ..
/..
/bin
/jwrapper Queue.class
-o queue.nit
-p
"Java" -i auto
19 .
/user_test
> user_test.res
21 # Compare the result with the expected
22 diff user_test.sav user_test.res