Hi,

Having troubles building the address book example1. I am using ant1.5. I
have set my class path to Z:/lib where I keep a copy of all my .jar
files. In particular, the following files included with XIndice,

xmldb-api-20021118.jar
xmldb-api-sdk-20021118.jar
xmldb-common.jar
xmldb-xupdate.jar

Trying to build example1.java gives a flury of compilation errors saying
"package org.xmldb.api.base does not exist".

The import calls on example 1 are as follows:

package org.apache.xindice.examples;
import org.xmldb.api.DatabaseManager;
import org.xmldb.api.base.Collection;
import org.xmldb.api.base.Database;
import org.xmldb.api.base.Resource;
import org.xmldb.api.base.ResourceIterator;
import org.xmldb.api.base.ResourceSet;
import org.xmldb.api.base.XMLDBException;
import org.xmldb.api.modules.XPathQueryService;

It appears to be spitting the dummy on all of these statements. I
thought that by including the xmldb api .jar files in my classpath then
it would find these imports. Clearly I thought wrong.

Please help. If you haven't already guessed I am a novice and appreciate
the help!

Thanks
Carl.


Reply via email to