4 * Copyright 2006,2007 Martin Quinson, Malek Cherier
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package.
14 public class SuspendTest {
16 public static void main(String[] args) throws JniException, NativeException {
18 /* initialize the MSG simulation. Must be done before anything else (even logging). */
23 Msg.info("Usage : Suspend platform_file deployment_file");
24 Msg.info("example : Suspend msg_test_suspend_platform.xml msg_test_suspend_deployment.xml");
28 /* specify a paje output file. */
29 Msg.pajeOutput("suspend.trace");
31 /* construct the platform and deploy the application */
32 Msg.createEnvironment(args[0]);
33 Msg.deployApplication(args[1]);
35 /* execute the simulation. */