Issue #826 has been reported by Héctor Gómez.
----------------------------------------
Bug #826: Issues on lsc.bat
http://tools.lsc-project.org/issues/826
Author: Héctor Gómez
Status: New
Priority: Normal
Assigned to:
Category:
Target version:
Problem in version:
Hi.
To run LSC from Windows, is necessary to execute in a CMD shell this
instruction:
*_C:\lsc\bin\lsc.bat -f C:\lsc\etc -s all -c a._Duplicate_users >>
C:\lsc\log.log_*
,supposing that lsc folder is *_C:\lsc_*. If your path contains spaces, you
will need to use double quotes (") surrounding it. The inner string -f
C:\lsc\etc is necessary for indicate the path to lsc.xml file; ideally you
wouldn't need specify it, but, at least on Windows, if you omit that, LSC will
be unable to load it, and therefore, will fail showing an error. The last
string *_>> C:\lsc\log.log_* is for redirect all console outputs to a log file;
LSC makes his own log file in %TEMP%\lsc.log, but it only lists dates of start
and stop of the program.
Other issue on Windows is that lsc.bat fails if you try to run it after
decompressing, and to get working it, you will need to edit the following:
*-> Add final backslashes (\) in these lines:*
_SET CFG_DIR=%LSC_HOME%\etc
SET LIB_DIR=%LSC_HOME%\lib_
to
_SET CFG_DIR=%LSC_HOME%\etc\
SET LIB_DIR=%LSC_HOME%\lib\_
*-> Remove double quotes (") from this others:*
_REM Find the java.exe executable
:get_java
IF DEFINED JAVA_HOME ( SET JAVA_COMMAND=%JAVA_HOME%\bin\java.exe) ELSE
( SET JAVA_COMMAND=)
IF NOT EXIST "%JAVA_COMMAND%" ( SET PATHQ="%PATH%"
GOTO findJava )
goto:eof_
to
_REM Find the java.exe executable
:get_java
IF DEFINED JAVA_HOME ( SET JAVA_COMMAND=%JAVA_HOME%\bin\java.exe) ELSE
( SET JAVA_COMMAND=)
IF NOT EXIST %JAVA_COMMAND% ( SET PATHQ=%PATH%
GOTO findJava )
goto:eof_
All those modifications are needed if you want be able to run lsc.bat without
problems.
If you have time, would be great that you can fix all this.
Thanks in advance.
Sincerely:
Héctor Gómez
México
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev