Hey guyz, I am new to this whole native XML DB stuff. I have� heard a lot about this Xindice db.
But unfortunately, I do not seem to be able to compile it on my machine. My machine is Win XP. (I dunno if you need it, but it is a P4 2.56GHz machine with 512 MB RAM). I have jsdk on my machine. The following is one of my effort, I would really appreciate any help on this.
Srik,
I was faced with the same problem, and spent a long time not getting anywhere with it. However, I think the solution is quite simple "when you know" ...
Essentially, the jar you are invited to download from the Apache site as the "source" of Xindice is not, in fact, the full thing. You _can't_ do a build with it. (BTW the download is useful code: you can run it on its own. Just put the jar in the "right place" and start it up, and you have a stand-alone Xindice service on port 4080.)
If you want to create a WAR file, so as to include Xindice within Cocoon, for example, then you need to do something entirely different, which is not described anywhere on the site that I could find. This involves getting the CVS distribution, which in turn involves downloading and using a package called Tortoise, etc. This URL:
http://torchbox.com/xml/xindice/xindice.html
describes the process. Note that you _can_ use the build command to carry out steps 4 and 5 of the process. I think the description relates to a Linux/Unix setup, not Windows.
I would be interested for someone who actually knows about Xindice to confirm or correct my understanding of this situation.
Best wishes,
Richard Light
-Srik ============================================================ C:\Program Files\xindice>echo %JAVA_HOME% C:\j2sdk1.4.1_01 C:\Program Files\xindice>build 'build' is not recognized as an internal or external command, operable program or batch file.
C:\Program Files\xindice>dir �Volume in drive C has no label. �Volume Serial Number is E483-4D10
�Directory of C:\Program Files\xindice
02/20/2003� 04:42 PM��� <DIR>��������� . 02/20/2003� 04:42 PM��� <DIR>��������� .. 02/20/2003� 04:42 PM��� <DIR>��������� xml-xindice-1.0 �������������� 0 File(s)������������� 0 bytes �������������� 3 Dir(s)� 46,059,716,608 bytes free C:\Program Files\xindice>cd xml-xindice-1.0 C:\Program Files\xindice\xml-xindice-1.0>ls 'ls' is not recognized as an internal or external command, operable program or batch file. C:\Program Files\xindice\xml-xindice-1.0>dir �Volume in drive C has no label. �Volume Serial Number is E483-4D10 �Directory of C:\Program Files\xindice\xml-xindice-1.0 02/20/2003� 04:42 PM��� <DIR>��������� . 02/20/2003� 04:42 PM��� <DIR>��������� .. 02/20/2003� 04:42 PM��� <DIR>��������� bin 03/13/2002� 11:47 PM�������������� 822 build.bat 03/15/2002� 03:46 PM����������� 14,280 build.xml 02/20/2003� 04:42 PM��� <DIR>��������� config 02/20/2003� 04:42 PM��� <DIR>��������� docs 02/20/2003� 04:42 PM��� <DIR>��������� icons 02/20/2003� 04:42 PM��� <DIR>��������� idl 02/20/2003� 04:42 PM��� <DIR>��������� java 03/13/2002� 11:47 PM������������ 2,687 LICENSE 02/20/2003� 04:42 PM��� <DIR>��������� logs 03/13/2002� 11:47 PM�������������� 227 README 03/13/2002� 11:47 PM������������ 1,644 start 03/13/2002� 11:47 PM������������ 1,802 startup.bat 03/13/2002� 11:47 PM������������ 1,350 xindice.server �������������� 7 File(s)�������� 22,812 bytes �������������� 9 Dir(s)� 46,059,716,608 bytes free C:\Program Files\xindice\xml-xindice-1.0>build Xindice Build System -------------------- Building with classpath C:\j2sdk1.4.1_01\lib\tools.jar;.\java\lib\ant-1.4.1.jar; .\java\lib\examples.jar;.\java\lib\infozone-tools.jar;.\java\lib\openorb-1.2.0.j ar;.\java\lib\openorb_tools-1.2.0.jar;.\java\lib\xalan-2.0.1.jar;.\java\lib\xerc es-1.4.3.jar;.\java\lib\xindice.jar;.\java\lib\xml-apis-1.0.jar;.\java\lib\xmldb -sdk.jar;.\java\lib\xmldb-xupdate.jar;.\java\lib\xmldb.jar Starting Ant... Buildfile: build.xml init: idl: prepare: ��� [mkdir] Created dir: C:\Program Files\xindice\xml-xindice-1.0\java\classes clean-jar: �� [delete] Deleting: C:\Program Files\xindice\xml-xindice-1.0\java\lib\xindice. jar �� [delete] Unable to delete file C:\Program Files\xindice\xml-xindice-1.0\java\ lib\xindice.jar src: ���� [echo] Compiling Source ��� [javac] Compiling 324 source files to C:\Program Files\xindice\xml-xindice-1 .0\java\classes ��� [javac] Note: Some input files use or override a deprecated API. ��� [javac] Note: Recompile with -deprecation for details. bin-jar: ����� [jar] Building jar: C:\Program Files\xindice\xml-xindice-1.0\java\lib\xind ice.jar compile: main: BUILD SUCCESSFUL Total time: 9 seconds C:\Program Files\xindice\xml-xindice-1.0>cd dist The system cannot find the path specified. ============================================================ � � Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more
-- Richard Light SGML/XML and Museum Information Consultancy [EMAIL PROTECTED]
