Saving Compiler Messages

When an error occurs while a compiler compiles a source file, the IDE displays the compiler's messages in the Output window. The messages are deleted from the Output window the next time you compile a file. You can save the contents of the Output window in three ways:

To copy messages to the clipboard:

To redirect compiler messages to the default output directory:

  1. Right-click in the Output window and choose Start Redirection of This Tab to File.

    In addition to displaying messages in the Output window, the IDE writes the messages to the file netbeans/bin/nbdev/output/Compiler.out in your IDE installation directory . To stop writing messages to Compiler.out file, right-click in the Output window and choose Stop Redirection of This Tab to File.

To redirect compiler messages to a directory you specify:

  1. Make sure that the Output window is not set to redirect messages to the default output directory. See preceding procedure for more information.
  2. From the main window, choose Tools and choose Options.
  3. In the Options window, expand the IDE Configuration node. Then expand the Look and Feel node.
  4. Select Output Window.
  5. In the property sheet, set Redirect Output to File to True.
  6. Set Redirection Directory to the directory where you want to store the Compiler.out file.
See also
Specifying a Target Directory for Class Files

Legal Notices