I begin to build Addressbook example of xindice, I found that it doesnot work.
I checked it , the reason is like below 1. web.xml miss some servlet mapping 2. Addressbook.war missed xindice-1.1b.jar in its war file.
So I make a simple patch for it, any comments?
Index: java/examples/build.xml
===================================================================
RCS file: /home/cvspublic/xml-xindice/java/examples/build.xml,v
retrieving revision 1.1
diff -u -r1.1 build.xml
--- java/examples/build.xml 27 Nov 2002 08:33:39 -0000 1.1
+++ java/examples/build.xml 21 Jan 2003 02:26:56 -0000
@@ -97,6 +97,9 @@
<include name="xmlrpc-1.1.jar"/>
<include name="xml-apis-1.0b3.jar"/>
</lib>
+ <lib dir="${dist.dir}">
+ <include name="xindice-1.1b.jar"/>
+ </lib>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<section name="org/apache/xindice">
Index: java/examples/Addressbook/config/web.xml
===================================================================
RCS file: /home/cvspublic/xml-xindice/java/examples/Addressbook/config/web.xml,v
retrieving revision 1.1
diff -u -r1.1 web.xml
--- java/examples/Addressbook/config/web.xml 27 Nov 2002 08:33:39 -0000 1.1
+++ java/examples/Addressbook/config/web.xml 21 Jan 2003 02:26:56 -0000
@@ -19,6 +19,10 @@
<servlet-name>Task</servlet-name>
<url-pattern>/Task</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>invoker</servlet-name>
+ <url-pattern>/servlet/*</url-pattern>
+ </servlet-mapping>
<security-constraint>
<web-resource-collection>