DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36125>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36125

           Summary: xindice.bat scrip does not take care of the white spaces
           Product: Xindice
           Version: 1.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: DB Engine
        AssignedTo: xindice-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


The launch script xindice.bat does not take care of the possible white spaces
existing in the JAVA_HOME environment variable. If there are white spaces there,
for example
C:\xindice-1.1b4\bin>echo %JAVA_HOME%
C:\Program Files\Java\jre1.5.0_04

The scrip will not launch the application correctly, showing the error

C:\xindice-1.1b4\bin>xindice.bat
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

POSSIBLE SOLUTION IS

Change the line 68 of this script to 
"%_JAVACMD%" -Xms16m -Xmx128m -Djava.endorsed.dirs=%_XINDICE_HOME%\lib
-Dxindice.home=%_XINDICE_HOME% -Dxindice.db.home=%_XINDICE_DB_HOME%
-Dxindice.configuration=%_XINDICE_CONFIG%
-Dorg.apache.commons.logging.Log=%_LOGGER%
-Dorg.apache.commons.logging.simplelog.defaultlog=%_LOGLEVEL%
-Dcmd.home=%_XINDICE_HOME% -classpath %LOCALCLASSPATH%
org.apache.xindice.tools.XMLTools %_CL%

Note the "" used around the %_JAVACMD%

This is a simple but annoying bug for new users

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to