Salome HOME
Test.java is not used
authorrkv <rkv@opencascade.com>
Tue, 14 May 2013 08:07:06 +0000 (08:07 +0000)
committerrkv <rkv@opencascade.com>
Tue, 14 May 2013 08:07:06 +0000 (08:07 +0000)
Workspace/Siman/src/test/Test.java [deleted file]

diff --git a/Workspace/Siman/src/test/Test.java b/Workspace/Siman/src/test/Test.java
deleted file mode 100644 (file)
index 32173a5..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-package test;
-
-import org.splat.launcher.FileTransfer;
-import org.splat.launcher.WindowsRegistry;
-
-
-public class Test {
-
-
-//  ==============================================================================================================================
-//  Main
-//  ==============================================================================================================================
-
-       public static void main(String[] args) {
-//  --------------------------------------
-//    String  url      = "http://localhost:8080/repository/2011/PLM110001/1.Study";
-      String  command  = args[0];
-//    String  filename = args[1];
-
-         String  applikey = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Applications\\"   + command;
-         String  key      = "";
-      String              module = WindowsRegistry.readValue(applikey + "\\shell\\open\\command ", key);
-      if (module == null) module = WindowsRegistry.readValue(applikey + "\\shell\\edit\\command ", key);
-      try {
-//     FileTransfer.Download(url, filename, path);
-       String[] parse = module.split("/");       // Removing eventual options
-
-        Runtime.getRuntime().exec(parse[0]);
-//      Runtime.getRuntime().exec(parse[0] + " \"" + path + "\\" + filename + "\"");
-      }
-      catch (Exception error) {
-        System.out.println("Unable to start " + module);
-     }
-    }
-}
\ No newline at end of file