| 1 | package com.github.davidmoten.jaxws; |
| 2 | |
| 3 | import com.sun.tools.xjc.Driver; |
| 4 | |
| 5 | public class XjcMain { |
| 6 | |
| 7 | public static void main(String[] args) throws Throwable { |
| 8 | if (Driver.run(args, System.out, System.out) != 0) { |
| 9 | throw new Exception("xjc call failed, see logs above for details"); |
| 10 | } |
| 11 | } |
| 12 | } |