Kohsuke Kawaguchi wrote:
>OK, I now understand it. You have to select "use publicly available
>schema" tab.
>
>
Stupid me! I was busy reading the black text and overlooked the blue one :-)
Now it is working nicely, thanks a lot.
I've noticed a another little problem:
When each of my schema files has a jaxb:javadoc annotation
(I have several importing each other), I get
Unexpected failure:
java.util.zip.ZipException: duplicate entry: temp/package.html
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:163)
at com.sun.codemodel.writer.ZipCodeWriter.open(ZipCodeWriter.java:43)
at
com.sun.codemodel.writer.PrologCodeWriter.open(PrologCodeWriter.java:47)
at
com.sun.codemodel.writer.PrologCodeWriter.open(PrologCodeWriter.java:47)
at com.sun.codemodel.JPackage.build(JPackage.java:349)
at com.sun.codemodel.JCodeModel.build(JCodeModel.java:137)
at
com.sun.tools.xjc.servlet.boxed.CompilerImpl.run(CompilerImpl.java:119)
Is there something wrong with having javadoc annotation in each of the
schemas?
It is not a real problem since removing this annotation solves the problem.
Ohhh, and looking at the generated code I just saw that all sources went
into the same
package, ignoring my package settings provided within the schemaBindings.
I cannot really provide a package on the web page since each of them is
supposed to
go into a different one. Are there any solution for this problem?
Thanks,
Petra
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net