Package org.apache.xmlbeans.impl.tool
Class CodeGenUtil
- java.lang.Object
-
- org.apache.xmlbeans.impl.tool.CodeGenUtil
-
public class CodeGenUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_COMPILER
static java.lang.String
DEFAULT_JAR
static java.lang.String
DEFAULT_MEM_MAX
static java.lang.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(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug)
Deprecated.static boolean
externalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String memStart, java.lang.String memMax, boolean quiet, boolean verbose)
static boolean
externalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String genver, java.lang.String memStart, java.lang.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(java.io.File srcdir, java.io.File outfile)
Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static boolean
externalJar(java.io.File srcdir, java.io.File outfile, java.lang.String jarPath, boolean quiet, boolean verbose)
Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.static java.net.URI
resolve(java.net.URI base, java.net.URI child)
static java.io.File[]
systemClasspath()
-
-
-
Method Detail
-
resolve
public static java.net.URI resolve(java.net.URI base, java.net.URI child)
-
externalCompile
public static boolean externalCompile(java.util.List srcFiles, java.io.File outdir, java.io.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(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String memStart, java.lang.String memMax, boolean quiet, boolean verbose)
-
externalCompile
public static boolean externalCompile(java.util.List srcFiles, java.io.File outdir, java.io.File[] cp, boolean debug, java.lang.String javacPath, java.lang.String genver, java.lang.String memStart, java.lang.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 java.io.File[] systemClasspath()
-
externalJar
public static boolean externalJar(java.io.File srcdir, java.io.File outfile)
Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.
-
externalJar
public static boolean externalJar(java.io.File srcdir, java.io.File outfile, java.lang.String jarPath, boolean quiet, boolean verbose)
Deprecated.Use org.apache.xmlbeans.impl.common.JarHelper instead.
-
-