1 /* Copyright (c) 2014. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
6 package cloud.migration;
8 import org.simgrid.msg.Host;
9 import org.simgrid.msg.HostNotFoundException;
10 import org.simgrid.msg.Msg;
11 import org.simgrid.msg.NativeException;
14 private static boolean endOfTest = false;
16 public static void setEndOfTest(){
20 public static boolean isEndOfTest(){
24 public static void main(String[] args) throws NativeException {
25 /* Init. internal values */
28 if (args.length < 2) {
29 Msg.info("Usage : Main platform_file.xml dployment_file.xml");
33 /* construct the platform and deploy the application */
34 Msg.createEnvironment(args[0]);
35 Msg.deployApplication(args[1]);