Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hello you stupid doxygen. Our inline functions are visible to the users, please don...
[simgrid.git] / examples / java / comm_time / CommTimeTest.java
index 326985d..ef31c0b 100644 (file)
@@ -1,8 +1,5 @@
 /*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier         
- * All right reserved. 
+ * Copyright 2006,2007,2010 The SimGrid Team. All right reserved. 
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. 
@@ -18,21 +15,17 @@ public class CommTimeTest {
     * which also contains such a launcher
     */
    
-    public static void main(String[] args) throws JniException, NativeException {
+    public static void main(String[] args) throws NativeException {
        
        /* initialize the MSG simulation. Must be done before anything else (even logging). */
        Msg.init(args);
 
-       if(args.length < 2) {
-               
+       if(args.length < 2) {                   
          Msg.info("Usage   : CommTime platform_file deployment_file");
          Msg.info("example : CommTime comm_time_platform.xml comm_time_deployment.xml");
          System.exit(1);
        }
        
-        /* specify a paje output file. */
-        Msg.pajeOutput("comm_time.trace");
-               
        /* construct the platform and deploy the application */
        Msg.createEnvironment(args[0]);
        Msg.deployApplication(args[1]);