Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
java examples have outdated default values
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 22 Nov 2017 16:01:45 +0000 (17:01 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 22 Nov 2017 16:01:45 +0000 (17:01 +0100)
Thanks Kevin Piotrkowski for the report

examples/java/app/masterworker/Main.java
examples/java/task/priority/Main.java

index d252ee4..4c051d6 100644 (file)
@@ -21,8 +21,8 @@ class Main {
     /* initialize the MSG simulation. Must be done before anything else (even logging). */
     Msg.init(args);
 
-    String platf  = args.length > 1 ? args[0] : "examples/java/platform.xml";
-    String deploy =  args.length > 1 ? args[1] : "examples/java/masterworker/masterworkerDeployment.xml";
+    String platf  = args.length > 1 ? args[0] : "../platforms/small_platform.xml";
+    String deploy =  args.length > 1 ? args[1] : "app/masterworker/masterworker.xml";
 
     Msg.verb("Platform: "+platf+"; Deployment:"+deploy+"; Current directory: "+new File(".").getAbsolutePath());
 
index fd301f3..272898f 100644 (file)
@@ -17,7 +17,7 @@ public class Main {
     Msg.init(args);
     if(args.length < 2) {
       Msg.info("Usage   : Priority platform_file deployment_file");
-      Msg.info("example : Priority ../platforms/platform.xml priorityDeployment.xml");
+      Msg.info("example : Priority ../platforms/small_platform.xml priority.xml");
       System.exit(1);
     }