Package org.apache.tools.ant.taskdefs
Class JikesOutputParser
java.lang.Object
org.apache.tools.ant.taskdefs.JikesOutputParser
- All Implemented Interfaces:
ExecuteStreamHandler
Deprecated.
since 1.2.
Use Jikes' exit value to detect compilation failure.
Parses output from jikes and
passes errors and warnings
into the right logging channels of Project.
As of Ant 1.2, this class is considered to be dead code by the Ant developers and is unmaintained. Don't use it.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
JikesOutputParser
(Task task, boolean emacsMode) Deprecated.Construct a new Parser object -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.Indicate if there were errors during the compileprotected void
parseOutput
(BufferedReader reader) Deprecated.Parse the output of a jikes compilervoid
Deprecated.Ignore.void
Deprecated.Ignore.void
Deprecated.Set the inputstreamvoid
start()
Deprecated.Invokes parseOutput.void
stop()
Deprecated.Ignore.
-
Field Details
-
task
Deprecated. -
errorFlag
protected boolean errorFlagDeprecated. -
errors
protected int errorsDeprecated. -
warnings
protected int warningsDeprecated. -
error
protected boolean errorDeprecated. -
emacsMode
protected boolean emacsModeDeprecated. -
br
Deprecated.
-
-
Constructor Details
-
JikesOutputParser
Deprecated.Construct a new Parser object- Parameters:
task
- task in which context we are calledemacsMode
- if true output in emacs mode
-
-
Method Details
-
setProcessInputStream
Deprecated.Ignore.- Specified by:
setProcessInputStream
in interfaceExecuteStreamHandler
- Parameters:
os
- ignored
-
setProcessErrorStream
Deprecated.Ignore.- Specified by:
setProcessErrorStream
in interfaceExecuteStreamHandler
- Parameters:
is
- ignored
-
setProcessOutputStream
Deprecated.Set the inputstream- Specified by:
setProcessOutputStream
in interfaceExecuteStreamHandler
- Parameters:
is
- the input stream- Throws:
IOException
- on error
-
start
Deprecated.Invokes parseOutput.- Specified by:
start
in interfaceExecuteStreamHandler
- Throws:
IOException
- on error
-
stop
-
parseOutput
Deprecated.Parse the output of a jikes compiler- Parameters:
reader
- - Reader used to read jikes's output- Throws:
IOException
- on error
-
getErrorFlag
protected boolean getErrorFlag()Deprecated.Indicate if there were errors during the compile- Returns:
- if errors occurred
-