Solved

Eclipse 3.5 Galileo - compilation errors not showing in Package Explorer

Posted on 2011-09-02
9
570 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

695 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