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_MEM_MAX
static String
DEFAULT_MEM_START
-
Constructor Summary
Constructors Constructor Description CodeGenUtil()
-
Method Summary
Modifier and Type Method Description static boolean
externalCompile(List<File> srcFiles, File outdir, File[] cp, boolean debug)
Deprecated.static boolean
externalCompile(List<File> srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax, boolean quiet, boolean verbose)
static boolean
externalCompile(List<File> 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 URI
resolve(URI base, URI child)
static File[]
systemClasspath()
-
Field Details
-
DEFAULT_MEM_START
- See Also:
- Constant Field Values
-
DEFAULT_MEM_MAX
- See Also:
- Constant Field Values
-
DEFAULT_COMPILER
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CodeGenUtil
public CodeGenUtil()
-
-
Method Details
-
resolve
-
externalCompile
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
-
externalCompile
public static boolean externalCompile(List<File> 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
-