Package org.apache.xmlbeans.impl.tool
Class CodeGenUtil
- java.lang.Object
-
- org.apache.xmlbeans.impl.tool.CodeGenUtil
-
public class CodeGenUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_COMPILERstatic StringDEFAULT_JARstatic StringDEFAULT_MEM_MAXstatic StringDEFAULT_MEM_START
-
Constructor Summary
Constructors Constructor Description CodeGenUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanexternalCompile(List srcFiles, File outdir, File[] cp, boolean debug)Deprecated.static booleanexternalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax, boolean quiet, boolean verbose)static booleanexternalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String genver, String memStart, String memMax, boolean quiet, boolean verbose)Invokes javac on the generated source files in order to turn them into binary files in the output directory.static booleanexternalJar(File srcdir, File outfile)Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static booleanexternalJar(File srcdir, File outfile, String jarPath, boolean quiet, boolean verbose)Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static URIresolve(URI base, URI child)static File[]systemClasspath()
-
-
-
Method Detail
-
externalCompile
public static boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug)
Deprecated.Invokes javac on the generated source files in order to turn them into binary files in the output directory. This will return a list ofGenFiles for all of the classes produced or null if an error occurred.
-
externalCompile
public static boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax, boolean quiet, boolean verbose)
-
externalCompile
public static boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String genver, String memStart, String memMax, boolean quiet, boolean verbose)
Invokes javac on the generated source files in order to turn them into binary files in the output directory. This will return a list ofGenFiles for all of the classes produced or null if an error occurred.
-
systemClasspath
public static File[] systemClasspath()
-
externalJar
public static boolean externalJar(File srcdir, File outfile)
Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.
-
-