/** * Generate source. * * @param file the file * @param sourceOutputPath the source output path * @throws IOException Signals that an I/O exception has occurred. */ public static void generateSource(File file, File sourceOutputPath) throws IOException { List<CodeDependent> cds = new ArrayList<CodeDependent>(); generateSource(file, sourceOutputPath, cds, new HashSet<String>()); }
ProtobufIDLProxy.generateSource(protoPath, javaOutPath); System.out.println("create success. output path=" + javaOutPath.getAbsolutePath()); } catch (IOException e) {