A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove XBT_INFO call
[simgrid.git]
/
examples
/
java
/
reservationSurfPlugin
/
TestPlugin.java
diff --git
a/examples/java/reservationSurfPlugin/TestPlugin.java
b/examples/java/reservationSurfPlugin/TestPlugin.java
index
64e0a6c
..
cedbb04
100644
(file)
--- a/
examples/java/reservationSurfPlugin/TestPlugin.java
+++ b/
examples/java/reservationSurfPlugin/TestPlugin.java
@@
-16,7
+16,7
@@
public class TestPlugin {
* java simgrid.msg.Msg
* which also contains such a launcher
*/
* java simgrid.msg.Msg
* which also contains such a launcher
*/
-
public
static ReservationPlugin tp = new ReservationPlugin();
+ static ReservationPlugin tp = new ReservationPlugin();
public static void main(String[] args) throws NativeException {
/* initialize the MSG simulation. Must be done before anything else (even logging). */
public static void main(String[] args) throws NativeException {
/* initialize the MSG simulation. Must be done before anything else (even logging). */
@@
-26,12
+26,10
@@
public class TestPlugin {
Msg.info("example : TestPlugin ping_pong_platform.xml ping_pong_deployment.xml");
System.exit(1);
}
Msg.info("example : TestPlugin ping_pong_platform.xml ping_pong_deployment.xml");
System.exit(1);
}
-
/* construct the platform and deploy the application */
Msg.createEnvironment(args[0]);
Msg.deployApplication(args[1]);
/* construct the platform and deploy the application */
Msg.createEnvironment(args[0]);
Msg.deployApplication(args[1]);
-
-
+ tp.init();
// getName());
/* execute the simulation. */
// getName());
/* execute the simulation. */