Thanks. The plugin architecture is nice.
However, when playing with XJCFacade I had problem with System.exit();
For my purpose it seems better to use :
com.sun.tools.xjc.Driver.run(String[] arguments, XJCListener listener);
Thank You any way.
Milan
Marcos wrote:
> Milan Kuchtiak escreveu:
>
>> 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.
>
>
> Yes sure you can :-) take a look at my post
> https://jaxb.dev.java.net/servlets/ReadMsg?list=users&msgNo=6534
> You need basically use the façade described in the code :-)
>
>>
>> Milan
>
>
> Hop it helps
>
> Regards
>