|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.batch.Main
org.aspectj.ajdt.ajc.BuildArgParser
public class BuildArgParser
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main |
|---|
org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main.Logger, org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main.ResourceBundleFactory |
| Field Summary |
|---|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main |
|---|
batchCompiler, bundle, bundleName, classNames, compilerLocale, compilerOptions, DEFAULT_SIZE_CLASSPATH, destinationPath, destinationPaths, encodings, exportedClassFilesCounter, filenames, globalErrorsCount, globalProblemsCount, globalTasksCount, globalWarningsCount, lineCount, log, logger, maxProblems, NONE, noWarn, options, proceed, proceedOnError, produceRefInfo, repetitions, showProgress, startTime, systemExitWhenFinished, times, timesCounter, timing, verbose |
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemSeverities |
|---|
Abort, AbortCompilation, AbortCompilationUnit, AbortMethod, AbortType, Error, Fatal, Ignore, Optional, SecondaryError, Warning |
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants |
|---|
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_jar, EXTENSION_JAR, EXTENSION_java, EXTENSION_JAVA, EXTENSION_zip, EXTENSION_ZIP, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_jar, SUFFIX_JAR, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_jar, SUFFIX_STRING_JAR, SUFFIX_STRING_java, SUFFIX_STRING_JAVA, SUFFIX_STRING_zip, SUFFIX_STRING_ZIP, SUFFIX_zip, SUFFIX_ZIP |
| Constructor Summary | |
|---|---|
BuildArgParser(IMessageHandler handler)
Set up to capture messages using getOtherMessages(boolean) |
|
BuildArgParser(java.io.PrintWriter writer,
IMessageHandler handler)
Overrides super's bundle. |
|
| Method Summary | |
|---|---|
AjBuildConfig |
genBuildConfig(java.lang.String[] args)
Generate build configuration for the input args, passing to handler any error messages. |
java.util.List<java.lang.String> |
getBootclasspath(org.aspectj.ajdt.ajc.BuildArgParser.AjcConfigParser parser)
|
java.util.List |
getClasspath(org.aspectj.ajdt.ajc.BuildArgParser.AjcConfigParser parser)
If the classpath is not set, we use the environment's java.class.path, but remove the aspectjtools.jar entry from that list in order to prevent wierd bootstrap issues (refer to bug#39959). |
java.lang.String |
getOtherMessages(boolean flush)
Get messages not dumped to handler or any PrintWriter. |
static java.lang.String |
getUsage()
|
static java.lang.String |
getXOptionUsage()
|
AjBuildConfig |
populateBuildConfig(AjBuildConfig buildConfig,
java.lang.String[] args,
boolean setClasspath,
java.io.File configFile)
Generate build configuration for the input arguments, passing to handler any error messages. |
void |
printUsage()
|
void |
printVersion()
|
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main |
|---|
_bind, addExtraProblems, bind, bind, bind, bind, compile, compile, compile, configure, extractDestinationPathFromSourceFile, getBatchRequestor, getCompilationUnits, getHandlingPolicy, getJavaHome, getLibrariesFiles, getLibraryAccess, getProblemFactory, main, outputClassFiles, performCompilation, processPathEntries, relocalize, setDestinationPath, setLocale, tokenize |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildArgParser(java.io.PrintWriter writer,
IMessageHandler handler)
public BuildArgParser(IMessageHandler handler)
| Method Detail |
|---|
public static java.lang.String getUsage()
public static java.lang.String getXOptionUsage()
public AjBuildConfig genBuildConfig(java.lang.String[] args)
args - the String[] arguments for the build configuration
public AjBuildConfig populateBuildConfig(AjBuildConfig buildConfig,
java.lang.String[] args,
boolean setClasspath,
java.io.File configFile)
args - the String[] arguments for the build configurationsetClasspath - determines if the classpath should be parsed and set on the build configurationconfigFile - can be null
public void printVersion()
printVersion in class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Mainpublic void printUsage()
printUsage in class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Mainpublic java.lang.String getOtherMessages(boolean flush)
flush - if true, empty errors
BuildArgParser()public java.util.List<java.lang.String> getBootclasspath(org.aspectj.ajdt.ajc.BuildArgParser.AjcConfigParser parser)
public java.util.List getClasspath(org.aspectj.ajdt.ajc.BuildArgParser.AjcConfigParser parser)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||