Solved

Eclipse 3.5 Galileo - compilation errors not showing in Package Explorer

Posted on 2011-09-02
9
540 Views
Last Modified: 2012-05-12
I am using eclipse 3.5. If there is a compilation error, it use to show up in the file with a Red X and also in the package explorer tree (a small red x next to the file).  Suddenly the explorer is not showing the compilation errors anymore.  So, if I change something one class and there is a complilation error in another class because of this change, I wouldn't know unless I open that other class file.  The code base is huge and there are so many eclipse projects that are dependant on each other. Which menu in the user preferences should I navigate to so that I can turn this back on. Pls help, I am using eclipse 3.5. Galileo.

I have Project -> Build automatically  turned off, but it was like that from the beginning.
0
Comment
Question by:lotrzz
  • 5
  • 4
9 Comments
 
LVL 47

Expert Comment

by:for_yan
Comment Utility
0
 

Author Comment

by:lotrzz
Comment Utility
This might help as I also have a multi module maven project. But I donot understand what he said...
"Disabling support for nested modules and then re-enabling support for nested modules did the trick."

please explain....
0
 
LVL 47

Accepted Solution

by:
for_yan earned 250 total points
Comment Utility
0
 

Author Comment

by:lotrzz
Comment Utility
I have m2eclipse installed but strangly I do see the Maven when I click Window -> Preferrences,
how to make that option show up?

He did mentioned in the article above about a file
-----------------------------------------------------------------------------------------------------------------------
After much digging and some trial & error, I got the IDE to recognize my sub-modules by setting...

includeModules=true In my org.maven.ide.eclipse.pref file manually.
------------------------------------------------------------------------------------------------------------------------

where is this file? I might want to try this manually....
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 47

Expert Comment

by:for_yan
Comment Utility


In your workspace try to go to

.metadata\.plugins\org.eclipse.core.runtime\.settings

I don't have m2-eclipse, so I can't check, but there are many .prefs files in there
0
 

Author Comment

by:lotrzz
Comment Utility
no, i couldn't find that file in the whole workspace..i'll post a new question...
0
 

Author Closing Comment

by:lotrzz
Comment Utility
i'll post a new question
0
 
LVL 47

Expert Comment

by:for_yan
Comment Utility
Also try to look in your home directory

USER_HOME_DIRECTORY/.eclipse



0
 
LVL 47

Expert Comment

by:for_yan
Comment Utility
read here about another problem but about the location of the same file:

http://jira.codehaus.org/browse/MNGECLIPSE-270

I forget, the way I found to fix the problem is to edit ${workspace}\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.maven.ide.eclipse.prefs and delete the entry.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now