- if(args.length < 2) {
- Msg.info("Usage: Basic platform_file deployment_file");
- Msg.info("Fallback to default values");
- Msg.createEnvironment("../ring3.xml");
- Msg.deployApplication("mutex_centralized_deployment.xml");
- } else {
- /* construct the platform and deploy the application */
- Msg.createEnvironment(args[0]);
- Msg.deployApplication(args[1]);
- }
-
- /* execute the simulation. */
- Msg.run();
- }