public class CodeGenUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_COMPILER |
static String |
DEFAULT_JAR |
static String |
DEFAULT_MEM_MAX |
static String |
DEFAULT_MEM_START |
Constructor and Description |
---|
CodeGenUtil() |
Modifier and Type | Method and 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() |
public static String DEFAULT_MEM_START
public static String DEFAULT_MEM_MAX
public static String DEFAULT_COMPILER
public static String DEFAULT_JAR
public static boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug)
GenFile
s for all of the classes produced or null if an
error occurred.public static boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax, boolean quiet, boolean verbose)
public static boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String genver, String memStart, String memMax, boolean quiet, boolean verbose)
GenFile
s for all of the classes produced or null if an
error occurred.public static File[] systemClasspath()
public static boolean externalJar(File srcdir, File outfile)
Copyright © 2010 - 2020 Adobe. All Rights Reserved