users@jaxb.java.net

Re: using .java files in a jar file for schemaGen

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 17 Nov 2006 08:33:24 -0800

Ufuk ÇOBAN wrote:
> is it possible? i want to use a java file that packaged in a jar file.
> some locations can be described as jar:file:foo.jar!/........ how can i
> use this format with schemagen task?

Ah, interesting feature. We don't do that today, because APT doesn't
offer the capability --- it takes java.io.File as sources, not java.net.URL.

You'd have to unzip it first.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com