Bug 14369 - Xindice 1.1 scripts fail for JDK 1.4 or install path with spaces
Summary: Xindice 1.1 scripts fail for JDK 1.4 or install path with spaces
Status: RESOLVED REMIND
Alias: None
Product: Xindice
Classification: Unclassified
Component: Driver: embed (show other bugs)
Version: cvs head (1.1)
Hardware: PC All
: P3 major
Target Milestone: ---
Assignee: Xindice Developers
URL: http://home1.gte.net/greno/xindice-1....
Keywords: JDK1.4, PatchAvailable
Depends on:
Blocks:
 
Reported: 2002-11-07 20:45 UTC by Gerry Reno
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Updated set of tested Xindice batch files and scripts. (9.41 KB, application/octet-stream)
2002-11-15 03:05 UTC, Gerry Reno
Details
Xindice command-line scripts supporting JDK1.4 and path spaces - small bug fix in xindice.bat. (9.58 KB, application/octet-stream)
2002-11-29 19:58 UTC, Gerry Reno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Reno 2002-11-07 20:45:16 UTC
Problems
Xindice requires older versions of Xerces and Xalan to compile and run 
properly. If you have JDK 1.4 installed you may find that you have newer 
versions of Xerces and Xalan on your CLASSPATH.

Xindice batch scripts do not handle paths with spaces in them.

  
Solution
Updated Windows Batch Files and Unix Scripts
I added a few simple syntax fixes and minor additions to the original versions 
of the Xindice script files.

You may now install Xindice in a directory path that contains spaces. 
java.endorsed.dirs support was added to all java calls to eliminate the problem 
of incorrect versions of Xerces and Xalan being found first on the CLASSPATH. 
I have been installing and running Xindice without problems on Windows 2000 
with JDK 1.4 using these scripts.  I have also tested them using Cygwin.

My Xindice Windows install directory is \Program Files\Apache\Xindice.

The link to the Xindice 1.1 scripts is here:
http://home1.gte.net/greno/xindice-1.1-scripts.zip

Please post any comments to the xindice-users mailing list. I would like some 
feedback on these 1.1 scripts.

Gerry Reno
Comment 1 Gerry Reno 2002-11-07 20:46:29 UTC
set keywords
Comment 2 Gerry Reno 2002-11-15 03:05:30 UTC
Created attachment 3851 [details]
Updated set of tested Xindice batch files and scripts.
Comment 3 Gerry Reno 2002-11-15 03:06:50 UTC
Fix is attached.
Comment 4 Gerry Reno 2002-11-29 19:58:13 UTC
Created attachment 3992 [details]
Xindice command-line scripts supporting JDK1.4 and path spaces - small bug fix in xindice.bat.
Comment 5 Kevin Ross 2003-05-30 23:36:11 UTC
Thank you for the patches.  Would you please sync with the cvs head and submit 
a patch in the diff -u format?  I can expedite your patch to the cvs head at 
that time.

Thanks
Comment 6 Kevin Ross 2003-05-30 23:36:44 UTC
didn't want to close it.
Comment 7 Kevin Ross 2003-05-30 23:43:15 UTC
i guess remind is the right status.  reviewed the bug lifecycle
Comment 8 Gerry Reno 2003-06-04 22:11:27 UTC
Kevin,
  I submitted these scripts a while ago.  You can extract the attachment and
diff the HEAD and apply them.  Unfortunately, we were not able to wait for
Xindice and went back to a RDBMS solution.  We'll check out Xindice maybe next
time around.  These patches were well tested on Windows NT/2K/XP, Cygwin, and
Linux.  I personally used them for many months without any problems as did many
others.

rgds,
Gerry Reno