users@jaxb.java.net

running xjc from java program

From: Milan Kuchtiak <Milan.Kuchtiak_at_Sun.COM>
Date: Wed, 07 Mar 2007 09:24:26 +0100

Hi,
Is that somehow possible to run xjc compiler from inside the java program.
I am looking for something better than
Runtime.getRuntime().exec(String[] arguments));
What I need to do is start XJC for given schema file and get the result
of XJC: set of java classes.

Thank You for any help.

Milan