0

I am building in Eclipse (latest version) using Maven. The output class files do exist in the projects target directory, just as the log output indicates but they are invisible under target. This does not seem to be a filter problem since I do not see a way to filter out class files, only inner class files.

Kevin Hooke
  • 2,583
  • 2
  • 19
  • 33
Jeff
  • 1,513
  • 4
  • 18
  • 34
  • 1
    I think that's the expected behavior. What do you want to do with the .class files from within eclipse? – Gus Jun 25 '15 at 22:53

1 Answers1

1

.class files are not visible in most of the Navigator type views in Eclipse (Project Explorer, Navigator etc).

You question title says "are visible" but in your question you say "they are invisible" - which is it exactly? By default they are always invisible - you have to go to the file system if you want to see the .class files.

Kevin Hooke
  • 2,583
  • 2
  • 19
  • 33
  • 1
    This is the expected/default behavior. Why do you want to see the .class files? If you want to check they are there (check a project is actually compiling?) then drop down to the file system and take a look there? – Kevin Hooke Jun 25 '15 at 22:54
  • I think there are perspectives where they are visible. Different Eclipse downloaded JEE and I do see them. So it is probably a matter of perspective or view. – Jeff Jun 25 '15 at 22:58
  • 1
    See answer here: http://stackoverflow.com/questions/6780182/eclipse-show-generated-class-files – Kevin Hooke Jun 25 '15 at 23:01
  • Depending on what Eclipse version, in the Navigator view, click the drop down arrow on the far right of the view window, select Filters, uncheck the filter to hide *.class - now they should be visible. – Kevin Hooke Jun 25 '15 at 23:02