private void compileToDestination(File src, File dst) throws IOException { for (Schema schema : queue) { OutputFile o = compile(schema); File outputFile = new File(dst, o.path); o.writeToDestination(src, dst); } if (protocol != null) { compileInterface(protocol).writeToDestination(src, dst); } }
private void compileToDestination(File dst) throws IOException { for (Schema schema : queue) { OutputFile o = compile(schema); o.writeToDestination(dst); } if (protocol != null) { compileInterface(protocol).writeToDestination(dst); } }