Hi,

I again got the Xindice 1.0 today and check whether I could add example 
XMLObject from examples.jar in the distribution.

HelloWorldXMLObject.class was located in examples.jar with the package
org.xpache.xindice.examples.
    ^

I wrote HelloWorldXMLObject.java by myself with the Dev Guide and
replace it with the original HelloWorldXMLObject.class in the examples.jar.
Then newly archived examples.jar was put in $XINDICE_HOME/java/lib as
examples.jar.

Then I started the server and did the below.

%> xindiceadmin ao -i org.apache.xindice.examples.HelloWorldXMLObject \
   -n Hello -c /db/addressbook

And I got the message saying XMLObject was created. Also I could confirm
that XMLObject was created on /db/addressbook by the command xindice lo.

But invoke the XMLObject from the commandline was not succeeded.
The server said "XMLObject not found.".

What did I wrong?


SATO Makoto <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'm a newbie and testing the sample XMLObject in the Dev Guide.
> 
> Please let me know where to put my HelloWorldXMLObject.class?
> 
> --
> 
>   SATO Makoto  <[EMAIL PROTECTED]>
>   Information Service
>   NGB Corporation


--

  SATO Makoto  <[EMAIL PROTECTED]>
  Information Service
  NGB Corporation

Reply via email to