Eclipse 3.4.1 - how to view compiler output in Console while building a project

后端 未结 4 487
鱼传尺愫
鱼传尺愫 2021-02-01 17:21

I have what appears to be a very annoying problem. When compiling a project in Eclipse, I see no Console that shows the invocation of the Java compiler and the build results (as

4条回答
  •  不思量自难忘°
    2021-02-01 18:05

    Since Eclipse JDT provides its own built-in Java compiler, you generally do not see the invocation of Java Compiler.

    The built-in Java compiler is tightly integrated with Eclipse and JDT, and provides the source indexing that enables powerful IDE features such as refactoring and quick fix.

    Plus, it enables incremental build in background after each file modification, hence no visible "java" invocation.


    You can replace/complete the java compiler with a javac` call of your own:

    For instance, Using Alcatel-Lucent nmake with Eclipse JDT does precisely that, and uses a configuration launcher (which you can instruct to show a console):

    You will need to add that special builder in the "builder" section of your project.

    http://nmake.alcatel-lucent.com/manual/eclipse/jdt_lu38/builders.png


    Do not forget you can create many "Problem view", and set one of them to show only problems for your current project.

    http://archive.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/whatsnew3.4/images/configure.png

    Select: "on any element in same project"

提交回复
热议问题