You'll need to execute it in one of the following ways:
./scomp -out catalog.jar catalog.xsd
or
~/Library/xmlbeans-2.4.0/bin/scomp -out catalog.jar catalog.xsd
This is a PATH issue, not an issue with XmlBeans. The problem is that
scomp is not in your PATH so you must specify where it can
Hi. I'm attempting to generate classes using XMLBeans 2.2.0 within a Maven
build. The XMLBeans Maven Plugin version is 2.3.2.
The problem I'm running into is that for some of the Namespaces in the schema
files, the package names aren't being generated as expected.
The namespace in question
Interesting, I don't know the maven plugin, so I can't comment as to
the what and why this is happening. As a workaround, have you tried
using an xsdconfig file.
Something like
xb:config xmlns:xb=http://xml.apache.org/xmlbeans/2004/02/xbean/config;
xb:namespace uri=urn:uddi-org:api_v3
I'm assuming all I need to do is create a file, like uddi_api.xsdconfig, and
drop it into the same schemas directory that all of the other schemas are.
No luck so far. It might be that Maven needs information on it. I'll dig into
it.
Thanks for the suggestion and quick response!
Mike
---
Yes, it indeed was a path issue.
Thanks for replying!!
riya
cmathrusse wrote:
You'll need to execute it in one of the following ways:
./scomp -out catalog.jar catalog.xsd
or
~/Library/xmlbeans-2.4.0/bin/scomp -out catalog.jar catalog.xsd
This is a PATH issue, not an issue
5 matches
Mail list logo