From: rkv Date: Tue, 14 May 2013 08:07:06 +0000 (+0000) Subject: Test.java is not used X-Git-Tag: Delivery_V1_0_2013_07_12~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a3a47406bcbecc2d384923020968a060731bf53;p=tools%2Fsiman.git Test.java is not used --- diff --git a/Workspace/Siman/src/test/Test.java b/Workspace/Siman/src/test/Test.java deleted file mode 100644 index 32173a5..0000000 --- a/Workspace/Siman/src/test/Test.java +++ /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