I've just starting using BaseX (V.7.8.1) and have a very quick question that I hope somebody can help me with. I've reviewed the BaseX docs and tried looking for an answer to this on the Wiki but have not been successful.

I've installed BaseX (on Win7 Pro/64-bit) and have been using the GUI interface (non-server) and it has been working great. I just started exploring the JAVA API and am having a few basic problems. I'm trying to use the RunQueries.java example file (currently just need to do some local queries from a JAVA app). Just an FYI, the links from BaseX doc site to the GitHub example repository are all broken. The examples are on GitHub but it looks like they were recently moved/updated and the links must have changed and haven't been updated on the BaseX site.

I'm an experienced programmer but am just getting up-to-speed with JAVA, so my question may be more related to that than a specific BaseX problem but hopefully someone can point me in the right direction. I use Eclipse and when I create a test class with the RunQueries.java code, Eclipse is not able to resolve the BaseX package imports at the start of the class. Namely, the following code:

import org.basex.core.*;
import org.basex.core.cmd.*;
import org.basex.data.*;
import org.basex.io.serial.*;
import org.basex.query.*;
import org.basex.query.iter.*;
import org.basex.query.value.item.*;

Should the general install of BaseX put these packages into their proper places? Or is there something else I have to do to get these packages properly installed and able to be resolved?

Appreciate any help.

Thanks,
Chris Lyons
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to