Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add migration-test adrien
authoralebre <adrien.lebre@inria.fr>
Wed, 29 Jan 2014 15:35:46 +0000 (16:35 +0100)
committeralebre <adrien.lebre@inria.fr>
Wed, 29 Jan 2014 15:35:46 +0000 (16:35 +0100)
18 files changed:
examples/java/cloud/migration-test/.idea/.name [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/compiler.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/copyright/profiles_settings.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/encodings.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/libraries/simgrid.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/misc.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/modules.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/scopes/scope_settings.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/uiDesigner.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/vcs.xml [new file with mode: 0644]
examples/java/cloud/migration-test/.idea/workspace.xml [new file with mode: 0644]
examples/java/cloud/migration-test/CONFIG/cluster_platform.xml [new file with mode: 0644]
examples/java/cloud/migration-test/CONFIG/deploy_simple.xml [new file with mode: 0644]
examples/java/cloud/migration-test/CONFIG/platform_simple.xml [new file with mode: 0644]
examples/java/cloud/migration-test/src/Daemon.java [new file with mode: 0644]
examples/java/cloud/migration-test/src/Main.java [new file with mode: 0644]
examples/java/cloud/migration-test/src/Test.java [new file with mode: 0644]
examples/java/cloud/migration-test/src/XVM.java [new file with mode: 0644]

diff --git a/examples/java/cloud/migration-test/.idea/.name b/examples/java/cloud/migration-test/.idea/.name
new file mode 100644 (file)
index 0000000..b816780
--- /dev/null
@@ -0,0 +1 @@
+MIGRATION-SG-UNIT-TESTS
\ No newline at end of file
diff --git a/examples/java/cloud/migration-test/.idea/compiler.xml b/examples/java/cloud/migration-test/.idea/compiler.xml
new file mode 100644 (file)
index 0000000..217af47
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="CompilerConfiguration">
+    <option name="DEFAULT_COMPILER" value="Javac" />
+    <resourceExtensions />
+    <wildcardResourcePatterns>
+      <entry name="!?*.java" />
+      <entry name="!?*.form" />
+      <entry name="!?*.class" />
+      <entry name="!?*.groovy" />
+      <entry name="!?*.scala" />
+      <entry name="!?*.flex" />
+      <entry name="!?*.kt" />
+      <entry name="!?*.clj" />
+    </wildcardResourcePatterns>
+    <annotationProcessing>
+      <profile default="true" name="Default" enabled="false">
+        <processorPath useClasspath="true" />
+      </profile>
+    </annotationProcessing>
+  </component>
+</project>
+
diff --git a/examples/java/cloud/migration-test/.idea/copyright/profiles_settings.xml b/examples/java/cloud/migration-test/.idea/copyright/profiles_settings.xml
new file mode 100644 (file)
index 0000000..3572571
--- /dev/null
@@ -0,0 +1,5 @@
+<component name="CopyrightManager">
+  <settings default="">
+    <module2copyright />
+  </settings>
+</component>
\ No newline at end of file
diff --git a/examples/java/cloud/migration-test/.idea/encodings.xml b/examples/java/cloud/migration-test/.idea/encodings.xml
new file mode 100644 (file)
index 0000000..e206d70
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
+</project>
+
diff --git a/examples/java/cloud/migration-test/.idea/libraries/simgrid.xml b/examples/java/cloud/migration-test/.idea/libraries/simgrid.xml
new file mode 100644 (file)
index 0000000..928de67
--- /dev/null
@@ -0,0 +1,9 @@
+<component name="libraryTable">
+  <library name="simgrid">
+    <CLASSES>
+      <root url="jar://$PROJECT_DIR$/LIBS/simgrid.jar!/" />
+    </CLASSES>
+    <JAVADOC />
+    <SOURCES />
+  </library>
+</component>
\ No newline at end of file
diff --git a/examples/java/cloud/migration-test/.idea/misc.xml b/examples/java/cloud/migration-test/.idea/misc.xml
new file mode 100644 (file)
index 0000000..c431c66
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="EntryPointsManager">
+    <entry_points version="2.0" />
+  </component>
+  <component name="IdProvider" IDEtalkID="0A6AAC3C9C2CFEA71623F842966DD18E" />
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
+    <output url="file://$PROJECT_DIR$/out" />
+  </component>
+  <component name="SvnBranchConfigurationManager">
+    <option name="mySupportsUserInfoFilter" value="true" />
+  </component>
+</project>
+
diff --git a/examples/java/cloud/migration-test/.idea/modules.xml b/examples/java/cloud/migration-test/.idea/modules.xml
new file mode 100644 (file)
index 0000000..a47c203
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/MIGRATION-SG-UNIT-TESTS.iml" filepath="$PROJECT_DIR$/MIGRATION-SG-UNIT-TESTS.iml" />
+    </modules>
+  </component>
+</project>
+
diff --git a/examples/java/cloud/migration-test/.idea/scopes/scope_settings.xml b/examples/java/cloud/migration-test/.idea/scopes/scope_settings.xml
new file mode 100644 (file)
index 0000000..922003b
--- /dev/null
@@ -0,0 +1,5 @@
+<component name="DependencyValidationManager">
+  <state>
+    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+  </state>
+</component>
\ No newline at end of file
diff --git a/examples/java/cloud/migration-test/.idea/uiDesigner.xml b/examples/java/cloud/migration-test/.idea/uiDesigner.xml
new file mode 100644 (file)
index 0000000..3b00020
--- /dev/null
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Palette2">
+    <group name="Swing">
+      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
+      </item>
+      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
+      </item>
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
+        <initial-values>
+          <property name="text" value="Button" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="RadioButton" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="CheckBox" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="Label" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+          <preferred-size width="200" height="200" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+          <preferred-size width="200" height="200" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
+      </item>
+      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
+          <preferred-size width="-1" height="20" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
+      </item>
+      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
+      </item>
+    </group>
+  </component>
+</project>
+
diff --git a/examples/java/cloud/migration-test/.idea/vcs.xml b/examples/java/cloud/migration-test/.idea/vcs.xml
new file mode 100644 (file)
index 0000000..ebabb34
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="svn" />
+  </component>
+</project>
+
diff --git a/examples/java/cloud/migration-test/.idea/workspace.xml b/examples/java/cloud/migration-test/.idea/workspace.xml
new file mode 100644 (file)
index 0000000..37a45e3
--- /dev/null
@@ -0,0 +1,748 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ChangeListManager">
+    <list default="true" readonly="true" id="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" name="Default" comment="" />
+    <ignored path="MIGRATION-SG-UNIT-TESTS.iws" />
+    <ignored path=".idea/workspace.xml" />
+    <file path="/fragment.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1390990421932" ignored="false" />
+    <file path="/Main.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1385060014666" ignored="false" />
+    <file path="/XVM.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1390991078319" ignored="false" />
+    <file path="/deploy_simple.xml" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384780720237" ignored="false" />
+    <file path="/Test.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1391009528689" ignored="false" />
+    <file path="/platform_simple.xml" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1385041567599" ignored="false" />
+    <file path="/Daemon.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1391009412425" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/configuration/XVM.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384866662043" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/configuration/ConfigurationManager.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898909624" ignored="false" />
+    <file path="/ConfigurationManager.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898907114" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/config/generated_deploy.xml" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384899809573" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/configuration/XConfiguration.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384874319842" ignored="false" />
+    <file path="/XConfiguration.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384878821560" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/simulation/Main.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384874376867" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/simulation/CentralizedResolver.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384894592745" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/configuration/XSimpleConfiguration.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384899793940" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/scheduling/dvms/DVMSScheduling.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384874376867" ignored="false" />
+    <file path="$PROJECT_DIR$/../G5K-LOADINJECTOR/src/Configuration/XSimpleConfiguration.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1385128872680" ignored="false" />
+    <file path="/XSimpleConfiguration.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384896368393" ignored="false" />
+    <file path="/CentralizedResolver.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384894387759" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/simulation/Injector.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384892659495" ignored="false" />
+    <file path="/Injector.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384892654996" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/simulation/LoadEvent.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384891863319" ignored="false" />
+    <file path="/LoadEvent.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384891855996" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/logs/console.log" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384900295426" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/scheduling/entropy/Entropy2RP.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898787044" ignored="false" />
+    <file path="/Entropy2RP.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898786078" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/scheduling/dvms/DVMSServerForSG.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898962420" ignored="false" />
+    <file path="/DVMSServerForSG.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898957436" ignored="false" />
+    <file path="/EntropyService.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898973649" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/src/main/java/scheduling/dvms2/EntropyService.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384898975438" ignored="false" />
+    <file path="$PROJECT_DIR$/../SG-INJECTOR-MVN/raw_results_instances.txt" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1384899873468" ignored="false" />
+    <file path="$PROJECT_DIR$/../../../PROJECTS/DISCOVERY/GITHUB/SimgridInjector/src/main/java/simulation/Main.java" changelist="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" time="1385060030836" ignored="false" />
+    <option name="TRACKING_ENABLED" value="true" />
+    <option name="SHOW_DIALOG" value="false" />
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
+    <option name="LAST_RESOLUTION" value="IGNORE" />
+  </component>
+  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
+  <component name="CreatePatchCommitExecutor">
+    <option name="PATCH_PATH" value="" />
+  </component>
+  <component name="DaemonCodeAnalyzer">
+    <disable_hints />
+  </component>
+  <component name="DebuggerManager">
+    <breakpoint_any default_suspend_policy="SuspendAll" default_condition_enabled="true">
+      <breakpoint>
+        <option name="NOTIFY_CAUGHT" value="true" />
+        <option name="NOTIFY_UNCAUGHT" value="true" />
+        <option name="ENABLED" value="false" />
+        <option name="LOG_ENABLED" value="false" />
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
+        <option name="REMOVE_AFTER_HIT" value="false" />
+        <option name="SUSPEND_POLICY" value="SuspendAll" />
+        <option name="SUSPEND" value="true" />
+        <option name="COUNT_FILTER_ENABLED" value="false" />
+        <option name="COUNT_FILTER" value="0" />
+        <option name="CONDITION_ENABLED" value="true" />
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+        <option name="CONDITION" value="" />
+        <option name="LOG_MESSAGE" value="" />
+      </breakpoint>
+      <breakpoint>
+        <option name="NOTIFY_CAUGHT" value="true" />
+        <option name="NOTIFY_UNCAUGHT" value="true" />
+        <option name="ENABLED" value="false" />
+        <option name="LOG_ENABLED" value="false" />
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
+        <option name="REMOVE_AFTER_HIT" value="false" />
+        <option name="SUSPEND_POLICY" value="SuspendAll" />
+        <option name="SUSPEND" value="true" />
+        <option name="COUNT_FILTER_ENABLED" value="false" />
+        <option name="COUNT_FILTER" value="0" />
+        <option name="CONDITION_ENABLED" value="true" />
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+        <option name="CONDITION" value="" />
+        <option name="LOG_MESSAGE" value="" />
+      </breakpoint>
+    </breakpoint_any>
+    <ui_properties default_suspend_policy="SuspendAll" default_condition_enabled="true" />
+    <breakpoint_rules />
+    <ui_properties />
+  </component>
+  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
+  <component name="FavoritesManager">
+    <favorites_list name="MIGRATION-SG-UNIT-TESTS" />
+  </component>
+  <component name="FileEditorManager">
+    <leaf>
+      <file leaf-file-name="Main.java" pinned="false" current="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/src/Main.java">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="27" column="4" selection-start="696" selection-end="696" vertical-scroll-proportion="0.0">
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="Test.java" pinned="false" current="true" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/src/Test.java">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="130" column="23" selection-start="3959" selection-end="3959" vertical-scroll-proportion="0.6599496">
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="deploy_simple.xml" pinned="false" current="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/CONFIG/deploy_simple.xml">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="3" column="22" selection-start="139" selection-end="139" vertical-scroll-proportion="0.0">
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="platform_simple.xml" pinned="false" current="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/CONFIG/platform_simple.xml">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="5" column="28" selection-start="225" selection-end="225" vertical-scroll-proportion="0.0">
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="XVM.java" pinned="false" current="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/src/XVM.java">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="32" column="42" selection-start="943" selection-end="943" vertical-scroll-proportion="0.0">
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="Daemon.java" pinned="false" current="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/src/Daemon.java">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="20" column="13" selection-start="772" selection-end="772" vertical-scroll-proportion="0.0">
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+    </leaf>
+  </component>
+  <component name="FindManager">
+    <FindUsagesManager>
+      <setting name="OPEN_NEW_TAB" value="false" />
+    </FindUsagesManager>
+  </component>
+  <component name="IdeDocumentHistory">
+    <option name="changedFiles">
+      <list>
+        <option value="$PROJECT_DIR$/src/FluctuatingLoad.java" />
+        <option value="$PROJECT_DIR$/CONFIG/deploy_simple.xml" />
+        <option value="$PROJECT_DIR$/src/Main.java" />
+        <option value="$PROJECT_DIR$/CONFIG/platform_simple.xml" />
+        <option value="$PROJECT_DIR$/src/XVM.java" />
+        <option value="$PROJECT_DIR$/src/Daemon.java" />
+        <option value="$PROJECT_DIR$/src/Test.java" />
+      </list>
+    </option>
+  </component>
+  <component name="ProjectFrameBounds">
+    <option name="y" value="22" />
+    <option name="width" value="1440" />
+    <option name="height" value="874" />
+  </component>
+  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
+    <OptionsSetting value="true" id="Add" />
+    <OptionsSetting value="true" id="Remove" />
+    <OptionsSetting value="true" id="Checkout" />
+    <OptionsSetting value="true" id="Update" />
+    <OptionsSetting value="true" id="Status" />
+    <OptionsSetting value="true" id="Edit" />
+    <OptionsSetting value="true" id="Undo Check Out" />
+    <OptionsSetting value="true" id="Get Latest Version" />
+    <ConfirmationsSetting value="0" id="Add" />
+    <ConfirmationsSetting value="0" id="Remove" />
+  </component>
+  <component name="ProjectReloadState">
+    <option name="STATE" value="0" />
+  </component>
+  <component name="ProjectView">
+    <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
+      <flattenPackages />
+      <showMembers />
+      <showModules />
+      <showLibraryContents />
+      <hideEmptyPackages />
+      <abbreviatePackageNames />
+      <autoscrollToSource />
+      <autoscrollFromSource />
+      <sortByType />
+    </navigator>
+    <panes>
+      <pane id="ProjectPane">
+        <subPane>
+          <PATH>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+            </PATH_ELEMENT>
+          </PATH>
+          <PATH>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+          </PATH>
+          <PATH>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="src" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+          </PATH>
+          <PATH>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="LIBS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+          </PATH>
+          <PATH>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="MIGRATION-SG-UNIT-TESTS" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+            <PATH_ELEMENT>
+              <option name="myItemId" value="CONFIG" />
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+            </PATH_ELEMENT>
+          </PATH>
+        </subPane>
+      </pane>
+      <pane id="Scope" />
+      <pane id="PackagesPane" />
+    </panes>
+  </component>
+  <component name="PropertiesComponent">
+    <property name="GoToFile.includeJavaFiles" value="false" />
+    <property name="project.structure.last.edited" value="Libraries" />
+    <property name="OverrideImplement.combined" value="true" />
+    <property name="project.structure.proportion" value="0.0" />
+    <property name="MemberChooser.sorted" value="false" />
+    <property name="recentsLimit" value="5" />
+    <property name="project.structure.side.proportion" value="0.2" />
+    <property name="MemberChooser.copyJavadoc" value="false" />
+    <property name="GoToClass.toSaveIncludeLibraries" value="false" />
+    <property name="WebServerToolWindowFactoryState" value="false" />
+    <property name="FullScreen" value="false" />
+    <property name="MemberChooser.showClasses" value="true" />
+    <property name="GoToClass.includeLibraries" value="false" />
+    <property name="dynamic.classpath" value="false" />
+  </component>
+  <component name="RecentsManager">
+    <key name="CopyClassDialog.RECENTS_KEY">
+      <recent name="" />
+    </key>
+    <key name="CopyFile.RECENT_KEYS">
+      <recent name="$PROJECT_DIR$/CONFIG" />
+    </key>
+  </component>
+  <component name="RunManager" selected="Application.Main">
+    <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
+      <option name="MAIN_CLASS_NAME" value="Main" />
+      <option name="VM_PARAMETERS" />
+      <option name="PROGRAM_PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
+      <option name="ENV_VARIABLES" />
+      <option name="PASS_PARENT_ENVS" value="true" />
+      <module name="MIGRATION-SG-UNIT-TESTS" />
+      <envs />
+      <RunnerSettings RunnerId="Debug">
+        <option name="DEBUG_PORT" value="" />
+        <option name="TRANSPORT" value="0" />
+        <option name="LOCAL" value="true" />
+      </RunnerSettings>
+      <RunnerSettings RunnerId="Run" />
+      <ConfigurationWrapper RunnerId="Debug" />
+      <ConfigurationWrapper RunnerId="Run" />
+      <method />
+    </configuration>
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
+      <module name="" />
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m" />
+      <option name="PROGRAM_PARAMETERS" />
+      <method />
+    </configuration>
+    <configuration default="true" type="Remote" factoryName="Remote">
+      <option name="USE_SOCKET_TRANSPORT" value="true" />
+      <option name="SERVER_MODE" value="false" />
+      <option name="SHMEM_ADDRESS" value="javadebug" />
+      <option name="HOST" value="localhost" />
+      <option name="PORT" value="5005" />
+      <method />
+    </configuration>
+    <configuration default="true" type="Applet" factoryName="Applet">
+      <module name="" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="HTML_FILE_NAME" />
+      <option name="HTML_USED" value="false" />
+      <option name="WIDTH" value="400" />
+      <option name="HEIGHT" value="300" />
+      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
+      <option name="VM_PARAMETERS" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <method />
+    </configuration>
+    <configuration default="true" type="TestNG" factoryName="TestNG">
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
+      <module name="" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <option name="SUITE_NAME" />
+      <option name="PACKAGE_NAME" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="METHOD_NAME" />
+      <option name="GROUP_NAME" />
+      <option name="TEST_OBJECT" value="CLASS" />
+      <option name="VM_PARAMETERS" value="-ea" />
+      <option name="PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <option name="OUTPUT_DIRECTORY" />
+      <option name="ANNOTATION_TYPE" />
+      <option name="ENV_VARIABLES" />
+      <option name="PASS_PARENT_ENVS" value="true" />
+      <option name="TEST_SEARCH_SCOPE">
+        <value defaultName="moduleWithDependencies" />
+      </option>
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
+      <option name="PROPERTIES_FILE" />
+      <envs />
+      <properties />
+      <listeners />
+      <method />
+    </configuration>
+    <configuration default="true" type="Application" factoryName="Application">
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="VM_PARAMETERS" />
+      <option name="PROGRAM_PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
+      <option name="ENV_VARIABLES" />
+      <option name="PASS_PARENT_ENVS" value="true" />
+      <module name="" />
+      <envs />
+      <method />
+    </configuration>
+    <configuration default="true" type="JUnit" factoryName="JUnit">
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
+      <module name="" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <option name="PACKAGE_NAME" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="METHOD_NAME" />
+      <option name="TEST_OBJECT" value="class" />
+      <option name="VM_PARAMETERS" value="-ea" />
+      <option name="PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <option name="ENV_VARIABLES" />
+      <option name="PASS_PARENT_ENVS" value="true" />
+      <option name="TEST_SEARCH_SCOPE">
+        <value defaultName="moduleWithDependencies" />
+      </option>
+      <envs />
+      <patterns />
+      <method />
+    </configuration>
+    <list size="1">
+      <item index="0" class="java.lang.String" itemvalue="Application.Main" />
+    </list>
+    <recent_temporary>
+      <list size="1">
+        <item index="0" class="java.lang.String" itemvalue="Application.Main" />
+      </list>
+    </recent_temporary>
+    <configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
+      <Host>localhost</Host>
+      <Port>5050</Port>
+    </configuration>
+  </component>
+  <component name="ShelveChangesManager" show_recycled="false" />
+  <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="true" SSL_PROTOCOLS="sslv3">
+    <option name="USER" value="" />
+    <option name="PASSWORD" value="" />
+    <option name="mySSHConnectionTimeout" value="30000" />
+    <option name="mySSHReadTimeout" value="30000" />
+    <option name="LAST_MERGED_REVISION" />
+    <option name="MERGE_DRY_RUN" value="false" />
+    <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
+    <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
+    <option name="IGNORE_SPACES_IN_MERGE" value="false" />
+    <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
+    <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
+    <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
+    <option name="FORCE_UPDATE" value="false" />
+    <option name="IGNORE_EXTERNALS" value="false" />
+    <configuration useDefault="false">$USER_HOME$/.subversion</configuration>
+    <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
+    <supportedVersion>125</supportedVersion>
+  </component>
+  <component name="TaskManager">
+    <task active="true" id="Default" summary="Default task">
+      <changelist id="5e83a50d-d197-4ccb-ad7d-c57607b5ab23" name="Default" comment="" />
+      <created>1384769876563</created>
+      <updated>1384769876563</updated>
+    </task>
+    <servers />
+  </component>
+  <component name="ToolWindowManager">
+    <frame x="0" y="22" width="1440" height="874" extended-state="6" />
+    <editor active="false" />
+    <layout>
+      <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+      <window_info id="JetGradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
+      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
+      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
+      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
+      <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
+      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
+      <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
+      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33088234" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
+      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
+      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
+      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
+      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28909612" sideWeight="0.5636605" order="0" side_tool="false" content_ui="combo" />
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.43633953" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
+      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
+      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
+      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
+      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
+    </layout>
+  </component>
+  <component name="VcsContentAnnotationSettings">
+    <option name="myLimit" value="2678400000" />
+  </component>
+  <component name="VcsManagerConfiguration">
+    <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
+    <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
+    <option name="CHECK_NEW_TODO" value="true" />
+    <option name="myTodoPanelSettings">
+      <value>
+        <are-packages-shown value="false" />
+        <are-modules-shown value="false" />
+        <flatten-packages value="false" />
+        <is-autoscroll-to-source value="false" />
+      </value>
+    </option>
+    <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
+    <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
+    <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
+    <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
+    <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
+    <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
+    <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
+    <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
+    <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
+    <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
+    <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
+    <option name="SHORT_DIFF_HORIZONTALLY" value="true" />
+    <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
+    <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
+    <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
+    <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
+    <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
+    <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
+    <option name="SHOW_DIRTY_RECURSIVELY" value="false" />
+    <option name="LIMIT_HISTORY" value="true" />
+    <option name="MAXIMUM_HISTORY_ROWS" value="1000" />
+    <option name="UPDATE_FILTER_SCOPE_NAME" />
+    <option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
+    <option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
+    <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
+    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+    <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
+    <option name="LAST_COMMIT_MESSAGE" />
+    <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+    <option name="ACTIVE_VCS_NAME" />
+    <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
+    <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
+    <option name="UPDATE_FILTER_BY_SCOPE" value="false" />
+    <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
+    <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
+  </component>
+  <component name="XDebuggerManager">
+    <breakpoint-manager />
+  </component>
+  <component name="antWorkspaceConfiguration">
+    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+    <option name="FILTER_TARGETS" value="false" />
+  </component>
+  <component name="editorHistoryManager">
+    <entry file="file://$PROJECT_DIR$/src/XVM.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="40" column="8" selection-start="1138" selection-end="1138" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/CONFIG/deploy_simple.xml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="3" column="22" selection-start="139" selection-end="139" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/Daemon.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="28" column="1" selection-start="999" selection-end="1000" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/Main.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="23" column="0" selection-start="670" selection-end="670" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/CONFIG/deploy_simple.xml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="3" column="22" selection-start="139" selection-end="139" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/CONFIG/platform_simple.xml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="9" column="12" selection-start="374" selection-end="374" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/XVM.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="59" column="105" selection-start="1861" selection-end="1861" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/Test.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="44" column="22" selection-start="1191" selection-end="1191" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/Daemon.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="28" column="1" selection-start="999" selection-end="1000" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/CONFIG/cluster_platform.xml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="8" column="10" selection-start="335" selection-end="335" vertical-scroll-proportion="0.13057671">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/CONFIG/platform_simple.xml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="5" column="28" selection-start="225" selection-end="225" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/CONFIG/deploy_simple.xml">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="3" column="22" selection-start="139" selection-end="139" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/XVM.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="32" column="42" selection-start="943" selection-end="943" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/Daemon.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="20" column="13" selection-start="772" selection-end="772" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/Main.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="27" column="4" selection-start="696" selection-end="696" vertical-scroll-proportion="0.0">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/Test.java">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="130" column="23" selection-start="3959" selection-end="3959" vertical-scroll-proportion="0.6599496">
+          <folding />
+        </state>
+      </provider>
+    </entry>
+  </component>
+  <component name="masterDetails">
+    <states>
+      <state key="ArtifactsStructureConfigurable.UI">
+        <settings>
+          <artifact-editor />
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+      <state key="FacetStructureConfigurable.UI">
+        <settings>
+          <last-edited>No facets are configured</last-edited>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+      <state key="GlobalLibrariesConfigurable.UI">
+        <settings>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+      <state key="JdkListConfigurable.UI">
+        <settings>
+          <last-edited>1.7</last-edited>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+      <state key="ModuleStructureConfigurable.UI">
+        <settings>
+          <last-edited>MIGRATION-SG-UNIT-TESTS</last-edited>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+      <state key="ProjectJDKs.UI">
+        <settings>
+          <last-edited>1.7</last-edited>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+      <state key="ProjectLibrariesConfigurable.UI">
+        <settings>
+          <last-edited>simgrid</last-edited>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+    </states>
+  </component>
+</project>
+
diff --git a/examples/java/cloud/migration-test/CONFIG/cluster_platform.xml b/examples/java/cloud/migration-test/CONFIG/cluster_platform.xml
new file mode 100644 (file)
index 0000000..e0811a0
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version='1.0'?>
+ <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+ <platform version="3">
+<AS  id="AS0"  routing="Full">
+  <cluster id="my_cluster_1" prefix="node" suffix=""
+               radical="0-1001"        power="1000000000"    bw="125000000"     lat="5E-5"
+        bb_bw="2250000000" bb_lat="5E-4"/>
+</AS>
+</platform>
\ No newline at end of file
diff --git a/examples/java/cloud/migration-test/CONFIG/deploy_simple.xml b/examples/java/cloud/migration-test/CONFIG/deploy_simple.xml
new file mode 100644 (file)
index 0000000..405b195
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+<platform version="3">
+    <process host="host0" function="Test">
+    </process>
+</platform>
diff --git a/examples/java/cloud/migration-test/CONFIG/platform_simple.xml b/examples/java/cloud/migration-test/CONFIG/platform_simple.xml
new file mode 100644 (file)
index 0000000..7ccd736
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version='1.0'?>
+ <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+ <platform version="3">
+ <AS  id="AS0"  routing="Full">
+       <host id="host0" core="4" power="8095000000"/>
+       <host id="host1" core="4" power="8095000000"/>
+       <link id="link1" bandwidth="125000000" latency="0.000100"/>
+   <route src="host0" dst="host1"><link_ctn id="link1"/></route>
+  </AS>
+  </platform>
\ No newline at end of file
diff --git a/examples/java/cloud/migration-test/src/Daemon.java b/examples/java/cloud/migration-test/src/Daemon.java
new file mode 100644 (file)
index 0000000..91141c8
--- /dev/null
@@ -0,0 +1,30 @@
+import org.simgrid.msg.*;
+import org.simgrid.msg.Process;
+
+public class Daemon extends Process {
+       private Task currentTask;
+    public Daemon(VM vm, int load) {
+               super((Host)vm,"Daemon");
+       currentTask = new Task(this.getHost().getName()+"-daemon-0", this.getHost().getSpeed()*100, 0);
+    }
+    public void main(String[] args) throws MsgException {
+        int i = 1;
+        while(!Main.isEndOfTest()) {
+            // TODO the binding is not yet available
+            try {
+                currentTask.execute();
+            } catch (HostFailureException e) {
+                e.printStackTrace();
+            } catch (TaskCancelledException e) {
+                System.out.println("task cancelled");
+                suspend(); // Suspend the process
+            }
+            currentTask = new Task(this.getHost().getName()+"-daemon-"+(i++), this.getHost().getSpeed()*100, 0);
+            Msg.info(currentTask.getName());
+        }
+    }
+
+    public double getRemaining(){
+        return this.currentTask.getRemainingDuration();
+    }
+    }
diff --git a/examples/java/cloud/migration-test/src/Main.java b/examples/java/cloud/migration-test/src/Main.java
new file mode 100644 (file)
index 0000000..d088468
--- /dev/null
@@ -0,0 +1,29 @@
+import org.simgrid.msg.Host;
+import org.simgrid.msg.HostNotFoundException;
+import org.simgrid.msg.Msg;
+import org.simgrid.msg.NativeException;
+
+public class Main {
+    private static boolean endOfTest = false;
+
+    public static void setEndOfTest(){
+        endOfTest=true;
+    }
+
+    public static boolean isEndOfTest(){
+        return endOfTest;
+    }
+
+    public static void main(String[] args) throws NativeException {
+       /* Init. internal values */
+        Msg.init(args);
+
+       /* construct the platform and deploy the application */
+        Msg.createEnvironment("./CONFIG/platform_simple.xml");
+        Msg.deployApplication("./CONFIG/deploy_simple.xml");
+
+        Msg.run();
+
+
+    }
+}
diff --git a/examples/java/cloud/migration-test/src/Test.java b/examples/java/cloud/migration-test/src/Test.java
new file mode 100644 (file)
index 0000000..d1e28b8
--- /dev/null
@@ -0,0 +1,134 @@
+import org.simgrid.msg.*;
+import org.simgrid.msg.Process;
+
+public class Test extends Process{
+
+    Test(Host host, String name, String[] args) throws HostNotFoundException, NativeException  {
+        super(host, name, args);
+    }
+
+    public void main(String[] strings) throws MsgException {
+
+       double startTime = 0;
+       double endTime = 0;
+
+       /* get hosts 1 and 2*/
+        Host host0 = null;
+        Host host1 = null;
+
+        try {
+            host0 = Host.getByName("host0");
+            host1 = Host.getByName("host1");
+        }catch (HostNotFoundException e) {
+            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
+        }
+
+      /* Create VM1 */
+        int dpRate = 70;
+        int load1 = 90;
+        int load2 = 80;
+
+        XVM vm1 = null;
+        vm1 = new XVM(
+                host0,
+                "vm0",
+                1, // Nb of vcpu
+                2048, // Ramsize,
+                125, // Net Bandwidth
+                null, //VM disk image
+                -1,   //size of disk image,
+                125, // Net bandwidth,
+                dpRate // Memory intensity
+        );
+
+
+        vm1.start();
+
+        /* Collocated VMs */
+        int collocatedSrc = 6;
+        int vmSrcLoad[] = {
+                80,
+                0,
+                90,
+                40,
+                30,
+                90,
+        };
+
+        XVM tmp = null;
+        for (int i=1 ; i<= collocatedSrc ; i++){
+            tmp = new XVM(
+                    host0,
+                    "vm"+i,
+                    1, // Nb of vcpu
+                    2048, // Ramsize,
+                    125, // Net Bandwidth
+                    null, //VM disk image
+                    -1,   //size of disk image,
+                    125, // Net bandwidth,
+                    dpRate // Memory intensity
+            );
+            tmp.start();
+            tmp.setLoad(vmSrcLoad[i-1]);
+        }
+
+        int collocatedDst = 6;
+        int vmDstLoad[] = {
+                0,
+                40,
+                90,
+                100,
+                0,
+                80,
+        };
+
+        for (int i=1 ; i <= collocatedDst ; i++){
+            tmp = new XVM(
+                    host1,
+                    "vm"+i+collocatedSrc,
+                    1, // Nb of vcpu
+                    2048, // Ramsize,
+                    125, // Net Bandwidth
+                    null, //VM disk image
+                    -1,   //size of disk image,
+                    125, // Net bandwidth,
+                    dpRate // Memory intensity
+            );
+            tmp.start();
+            tmp.setLoad(vmDstLoad[i-1]);
+        }
+
+
+
+
+
+        Msg.info("Round trip of VM1 (load "+load1+"%)");
+        vm1.setLoad(load1);
+        Msg.info("     - Launch migration from host 0 to host 1");
+        startTime = Msg.getClock();
+        vm1.migrate(host1);
+        endTime = Msg.getClock();
+        Msg.info("     - End of Migration from host 0 to host 1 (duration:"+(endTime-startTime)+")");
+        Msg.info("     - Launch migration from host 1 to host 0");
+        startTime = Msg.getClock();
+        vm1.migrate(host0);
+        endTime = Msg.getClock();
+        Msg.info("     - End of Migration from host 1 to host 0 (duration:"+(endTime-startTime)+")");
+
+        Msg.info("\n \n \nRound trip of VM1 (load "+load2+"%)");
+        vm1.setLoad(load2);
+        Msg.info("     - Launch migration from host 0 to host 1");
+        startTime = Msg.getClock();
+        vm1.migrate(host1);
+        endTime = Msg.getClock();
+        Msg.info("     - End of Migration from host 0 to host 1 (duration:"+(endTime-startTime)+")");
+        Msg.info("     - Launch migration from host 1 to host 0");
+        startTime = Msg.getClock();
+        vm1.migrate(host0);
+        endTime = Msg.getClock();
+        Msg.info("     - End of Migration from host 1 to host 0 (duration:"+(endTime-startTime)+")");
+
+        waitFor(100000);
+        Main.setEndOfTest();
+    }
+}
diff --git a/examples/java/cloud/migration-test/src/XVM.java b/examples/java/cloud/migration-test/src/XVM.java
new file mode 100644 (file)
index 0000000..5cc70f5
--- /dev/null
@@ -0,0 +1,67 @@
+import org.simgrid.msg.Host;
+import org.simgrid.msg.HostNotFoundException;
+import org.simgrid.msg.Msg;
+import org.simgrid.msg.VM;
+
+/**
+ * A stupid VM extension to associate a daemon to the VM
+ */
+public class XVM extends VM {
+
+
+    private int dpIntensity;
+    private int netBW;
+    private int ramsize;
+    private int currentLoad;
+
+    private Daemon daemon;
+
+    public XVM(Host host, String name,
+               int nbCores, int ramsize, int netBW, String diskPath, int diskSize, int migNetBW, int dpIntensity){
+        super(host, name, nbCores, ramsize, netBW, diskPath, diskSize, (int)(migNetBW*0.9), dpIntensity);
+        this.currentLoad = 0;
+        this.netBW = netBW ;
+        this. dpIntensity = dpIntensity ;
+        this.ramsize= ramsize;
+        this.daemon = new Daemon(this, 100);
+
+    }
+
+    public void setLoad(int load){  
+        if (load >0) {
+            this.setBound(load);
+        //    this.getDaemon().setLoad(load);
+            daemon.resume();
+        }
+        else{
+            daemon.suspend();
+        }
+        currentLoad = load ;
+    }
+
+    public void start(){
+        super.start();
+         try {
+            daemon.start();
+        } catch (HostNotFoundException e) {
+            e.printStackTrace();
+        }
+        this.setLoad(0);
+
+    }
+    public Daemon getDaemon(){
+        return this.daemon;
+    }
+    public int getLoad(){
+       System.out.println("Remaining comp:" + this.daemon.getRemaining());
+        return this.currentLoad;
+    }
+
+    public void migrate(Host host){
+        Msg.info("Start migration of VM " + this.getName() + " to " + host.getName());
+        Msg.info("    currentLoad:" + this.currentLoad + "/ramSize:" + this.ramsize + "/dpIntensity:" + this.dpIntensity + "/remaining:" + this.daemon.getRemaining());
+        super.migrate(host);
+        this.setLoad(this.currentLoad); //Fixed the fact that setBound is not propagated to the new node.
+        Msg.info("End of migration of VM " + this.getName() + " to node " + host.getName());
+    }
+}