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 String
DEFAULT_COMPILER
static String
DEFAULT_JAR
static String
DEFAULT_MEM_MAX
static String
DEFAULT_MEM_START
-
Constructor Summary
Constructors Constructor Description CodeGenUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
externalCompile(List srcFiles, File outdir, File[] cp, boolean debug)
Deprecated.static boolean
externalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax, boolean quiet, boolean verbose)
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.static boolean
externalJar(File srcdir, File outfile)
Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static boolean
externalJar(File srcdir, File outfile, String jarPath, boolean quiet, boolean verbose)
Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static URI
resolve(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 ofGenFile
s 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 ofGenFile
s 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.
-
-