Solved

Eclipse 3.5 Galileo - compilation errors not showing in Package Explorer

Posted on 2011-09-02
9
550 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
ID: 36476792
0
 

Author Comment

by:lotrzz
ID: 36476834
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
ID: 36476840
0
 

Author Comment

by:lotrzz
ID: 36476945
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 47

Expert Comment

by:for_yan
ID: 36476962


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
ID: 36477010
no, i couldn't find that file in the whole workspace..i'll post a new question...
0
 

Author Closing Comment

by:lotrzz
ID: 36477012
i'll post a new question
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36477014
Also try to look in your home directory

USER_HOME_DIRECTORY/.eclipse



0
 
LVL 47

Expert Comment

by:for_yan
ID: 36477019
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
netstat -ano | find "8000" and taskkill /f /pid 2984 3 35
javap bin 2 28
java jdbc batch example 8 22
eclipse with Angularjs2.0 3 17
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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 will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

920 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

12 Experts available now in Live!

Get 1:1 Help Now