[lsc-changes] r328 - lsc/trunk/src/main/java/org/lsc

jclarke at lsc-project.org jclarke at lsc-project.org
Mon Jul 27 14:45:50 CEST 2009


Author: jclarke
Date: 2009-07-27 14:45:50 +0200 (Mon, 27 Jul 2009)
New Revision: 328

Modified:
   lsc/trunk/src/main/java/org/lsc/Launcher.java
Log:
Use absolute path for configuration directory. Porting commit #295 to trunk.

Modified: lsc/trunk/src/main/java/org/lsc/Launcher.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/Launcher.java	2009-07-27 12:35:40 UTC (rev 327)
+++ lsc/trunk/src/main/java/org/lsc/Launcher.java	2009-07-27 12:45:50 UTC (rev 328)
@@ -158,7 +158,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"));


Property changes on: lsc/trunk/src/main/java/org/lsc/Launcher.java
___________________________________________________________________
Added: svn:mergeinfo
   + /lsc/branches/v1.1/src/main/java/org/lsc/Launcher.java:295



More information about the lsc-changes mailing list