/** * Runs the DML compiler * * This is the main entry point for running the DML compiler, from the command line. This * method will create the {@link CompilerArgs} from the command line parameters, and then invoke {@link DmlCompiler#compile}. * * @param args All the compiler's parameters * * @see CompilerArgs */ public static void main(String[] args) throws DmlCompilerException { CompilerArgs compArgs = new CompilerArgs(args); compile(compArgs); }
new CompilerArgs(getMavenProject().getArtifactId(), getSourcesDirectory(), getGeneratedSourcesDirectory(), getPackageName(), generateFinals(), getCodeGeneratorClass(), localDmls, externalDmls, realParams);