users@jaxb.java.net

how to use schemagen ant task with class files instead of source

From: Lisa Penninger <lpenninger_at_strongmail.com>
Date: Wed, 18 Jun 2008 19:16:17 -0700

I need to generate my schema files from compiled Java classes. I can do
this using schemagen from the command line, but I need to do it using
the schemagen ant task. The task doesn't seem to know what to do with
class file names, and there doesn't seem to be a way to specify the
package-qualified class names. I've tried everything, but all of the
available options seem to do a search of the filesystem. Is that right?
Does anyone have an example of how to do this?

 

Thanks,

Lisa