The Error Expression property editor sets the POSIX regular expression that the IDE uses to parse compilation errors. When the compiler returns error data, the IDE matches that data to the regular expression shown in the Error Expression field and sorts it into different groups. The position fields indicate which sort group of the parsed error output contains different types of data, such as the file name, line, and column where the error occurred.
To open the Error Expression property editor, open the Options window, expand
Building Compiler Types,
and select any compiler type. Then click the ellipsis (...) button in the Error
Expression property.
The IDE comes with three predefined error expression presets: Sun javac, IBM jikes +E, and Microsoft jvc. You cannot alter these presets. Because most Java compilers follow the Sun javac error output format, these three presets should meet most of your needs.
If you need to create you own configuration, enter a new name in the Preset Name and click Add. The new preset appears under Error Descriptors. You can then configure the preset as necessary.
See also | |
---|---|
fastjavac Compiler
External Compiler Jikes Compiler |