I just started looking at the standalone XMLBeans project.  I've been
using XMLBeans passively in Workshop apps for a while.

I would really, really, prefer to not set the global classpath in order
to use this, or run the examples.  Most apps that say you need to set
the global classpath just require minor tweaking to avoid this.  I
figured this would be the case here.  In my setup, I followed all the
instructions except for setting the classpath.

When I try to build the "Any" sample, it says it can't find the
"XMLStreamException" class.  This is in the "jsr173_api.jar" in the lib
directory.  What's odd is that the "xmlbeans.path" variable in the
build.xml includes all the jar files in the lib directory.  This path is
what the "xmlbean" taskdef references.  I imagine this is some kind of
classloader issue.

I tried putting this jar file into $ANT_HOME/lib, and that resolves the
problem, but I'd prefer not to do that if I don't have to (but I've
settled for that in the past).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to