-
- puts "Slave " + s_mailbox + "I'm Done , See You !!"
-
-
-end
\ No newline at end of file
+ info("Slave " + s_mailbox + "I'm Done , See You !!")
+ end
+
+ end
+
+
+#################################################
+# main chunck
+#################################################
+
+if (ARGV.length == 2)
+ MSG.createEnvironment(ARGV[0])
+ MSG.deployApplication(ARGV[1])
+else
+ MSG.createEnvironment("platform.xml")
+ MSG.deployApplication("deploy.xml")
+ Thread.list.each {|t| p t}
+end
+
+# Thread.list.each {|t| p t}
+MSG.run()
+MSG.getClock()
+# exit()