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. */
7 package cloud.migration;
9 import org.simgrid.msg.Host;
10 import org.simgrid.msg.HostNotFoundException;
11 import org.simgrid.msg.Msg;
12 import org.simgrid.msg.NativeException;
15 private static boolean endOfTest = false;
17 public static void setEndOfTest(){
21 public static boolean isEndOfTest(){
25 public static void main(String[] args) throws NativeException {
26 /* Init. internal values */
29 if (args.length < 2) {
30 Msg.info("Usage : Main platform_file.xml dployment_file.xml");
34 /* construct the platform and deploy the application */
35 Msg.createEnvironment(args[0]);
36 Msg.deployApplication(args[1]);