]> AND Public Git Repository - simgrid.git/blobdiff - examples/java/priority/priority.tesh
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
compile new example(cherry picked from commit 9a6d1a5f9568d67edc3871161782c2cc39586637)
[simgrid.git] / examples / java / priority / priority.tesh
index f7ff99b039f6f274162438edac7f7202e477561a..1a0b8adc45d61e01a35a4665517d74c17d076ba9 100644 (file)
@@ -1,8 +1,8 @@
-#! ./tesh
+#! tesh
 
 ! output sort
 
-$ java -cp .:${srcdir:=.}/examples:${srcdir:=.}/simgrid.jar priority/Priority ${srcdir:=.}/examples/platform.xml ${srcdir:=.}/examples/priority/priorityDeployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+$ java -classpath ${classpath:=.} priority/Priority ${srcdir:=.}/platform.xml ${srcdir:=.}/priority/priorityDeployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
 > [  0.000000] (1:priority.Test@Fafard) Hello! Running a task of size 7.6296E7 with priority 1.0
 > [  0.000000] (2:priority.Test@Fafard) Hello! Running a task of size 7.6296E7 with priority 2.0
 > [  0.833332] (2:priority.Test@Fafard) Goodbye now!