[lsc-changes] r295 - lsc/branches/v1.1/src/main/java/org/lsc

sbahloul at lsc-project.org sbahloul at lsc-project.org
Mon Jul 20 00:34:07 CEST 2009


Author: sbahloul
Date: 2009-07-20 00:34:07 +0200 (Mon, 20 Jul 2009)
New Revision: 295

Modified:
   lsc/branches/v1.1/src/main/java/org/lsc/Launcher.java
Log:
Accept relative path by transalting them to fully qualified path (#108)

Modified: lsc/branches/v1.1/src/main/java/org/lsc/Launcher.java
===================================================================
--- lsc/branches/v1.1/src/main/java/org/lsc/Launcher.java	2009-07-17 15:52:09 UTC (rev 294)
+++ lsc/branches/v1.1/src/main/java/org/lsc/Launcher.java	2009-07-19 22:34:07 UTC (rev 295)
@@ -161,7 +161,7 @@
                     syncType = parseSyncType(cmdLine.getOptionValue("s"));
                 }
                 if (cmdLine.hasOption("f")) {
-                    configurationLocation = cmdLine.getOptionValue("f");
+                    configurationLocation = new File(cmdLine.getOptionValue("f")).getAbsolutePath();
                 }
                 if (cmdLine.hasOption("c")) {
                     cleanType = parseSyncType(cmdLine.getOptionValue("c"));



More information about the lsc-changes mailing list