You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Roman Seidl <ro...@granul.at> on 2005/08/11 15:29:53 UTC

xjc problem

Dear hyperjaxb-users,

i tried to set up persistency for classes generated by jaxb 1.3 with 
hyperjaxb. I could compile the schemas according to the template 
application with ist buildfile.

But now i changed something - i wanted to split the project into the 
schema->jaxb compile and the xyperjaxb mapping and database generation.

I tried to use the hyperjaxb xjc system with jaxb 1.4 and had the 
following result:

build.xml:28: unrecognized parameter -Xhibernate-xdoclets

for the following code:

        <xjc target="target/xjc" package="cc.lovo.types" extension="true">
            <arg line="-nv"/>
            <arg line="-extension"/>
            <arg line="-Xhibernate-xdoclets"/>
            <schema dir="xsd">
                <include name="*.xsd"/>
            </schema>
        </xjc>

So there must be some kind of Library or extension missing.

Should this also work with 1.3?
How can i see which version of xjc i am using for sure?
What Libraries have to be in the classpath for xjc to work?
Has anyone had the same Problem?

thank you
roman seidl

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org