Logo Search packages:      
Sourcecode: jmk version File versions  Download package

void edu::neu::ccs::jmk::awt::MakeWindow::loadTask (  )  [inline, private]

Load the makefile given in the make object and print any error messages.

Definition at line 280 of file MakeWindow.java.

References edu::neu::ccs::jmk::ParseError::getFileName(), edu::neu::ccs::jmk::ParseError::getLineNumber(), and make().

Referenced by load().

                          {
    String fileName = make.getFile().getPath();
    try {
      make.load();
      make.getOut().println("Loaded " + fileName + " at " + now());
    }
    catch (FileNotFoundException ex) {
      make.getOut().println("Cannot find makefile " + fileName);
    }
    catch (ParseError pe) {
      make.getOut().println(pe.getFileName() + ":" + pe.getLineNumber()
                      + ": Parse error: " + pe.getMessage());
    }
  }


Generated by  Doxygen 1.6.0   Back to index