Im working on Eclipse Helios Service Release 1. I found unusual red mark on the JAR file icon in War/WEB-INF/Lib/ folder.
Any body knows what does this means?
Take a look in your problems view (may be called markers depending on your version). You should see a message corresponding to the decorator on the jar. If the problem is still not obvious, post back the text of that message here.
Related
This may seem very small thing but it annoys me much since I'm used to code in Eclipse. When I double click a java source file in Eclipse it shows classes inside the file (expanding contents of java file) as marked by red circle in the image below. I wanna disable this behavior, I have used Eclipse for a long time and it has never been like this.
You can go to Prefences --> Content Assist and Enable/Disable the contents of Java file
[![enter image description here][1]][1]
Thanks,
Raghava
This is a bug in Eclipse, and several people have reported it, e.g., here.
One workaround is to change the "open mode" in the General preferences to single click", which does not have this annoying behaviour.
In eclipse juno i can view the outline of XML/java files from outline view. i can also see the drop down menu options for the outline view.
the problem i have is that for some XML files i get "an outline is not available" message in the outline view, and the drop down menu options disappear. but Quick view still works for the current XML file but outline view shows an error.
i think this maybe an issue with eclipse, i have to restart eclipse about every few hours because it visually starts bugging out (lines of code disappearing when clicked on, but not actually deleted) . this is also a fresh installation of eclipse juno with just Android SDK.
Here is my eclipse workspace log. http://pastebin.com/WJr10Rqz
Sounds like a memory issue. Please consult: How can I give eclipse more memory than 512M?
If this doesn't help you, please include your Eclipse workspace's logs (located at your {workspace}/.metadata directory) for further investigation.
EDIT: The solution seems to be to update Eclipse to Kepler.
I've seem to have lost the ability in my Eclipse to auto-correct errors in my source code lines.
For example, a line like this:
Date date = new Date();
has red jagged lines beneath the Date() part. Previously I could mouse hover over it see a popup menu of options to fix it. Now I all I ever get is a popup with the text "Cannot resolve to a type".
The only change I can think of that I've made and I don't know if it has anything to do with this problem, is that I started editing my .java files with an outside editor. Then focusing back into Eclipse I get a popup saying the source has changed and do I want to update so I say OK.
Sometimes I will edit inside Eclipse and sometimes i will edit the source outside of Eclipse. I'm not sure if this is a bad practice or not?
Its your wish to edit Java files outside or inside eclipse. But Java editor has many features which are very helpful to developers. I suggest to edit Java files inside eclipse only.If you find other editors are good or you used to it then no problem you can edit Java files out side eclipse also. The problem you mentioned in not related to it. But make sure that changes are applied before building project in eclipse.
Solution
This occurs whenever there are multiple classes are available with the same name in you build path then eclipse don't know which one to import by default. So keep the caret on the error line and press Ctrl+1. Then a eclipse gives options to user to import one among these. See the picture below. Choose the right one then error will disappear.
Greetings fellow Stackoverflownians,
I am developing an Eclipse RCP plugin, and have come across different icons in the Dependencies tab of the manifest file:
Anybody got a clue why the last one is different? My supposition is that it's coming from a different source, i.e. the Build Path, instead of the Target Platform.
It's a nebula for me, to be honest.
Any opinions and suggestions are appreciated!
It seems to be that icon on 'some.project.here' icon means the plugin is in your workspace, the other icon means the plugin comes from the target platform.
You can also get a small question mark overlayed on the image which means the plugin is optional. There is also a small arrow overlay which means the plugin dependency is marked as re-exported.
There is also an 01 overlay which I think means this a project imported using 'import plugins and fragments' with 'binary project' selected.
Maybe it has something to do with the fact that the plugin you are adding is in your package explorer.
Yep you're right. The arrow means definitly that eclipse will resolve the dependency from the TargetPlatform. And the other one with the dot indicates, that it will resolve it from your local workspace.
I made two similar Python projects in Netbeans 6.9.1, and one of them appears in bold. What causes a Netbeans project name to appear in bold? None of my other project names are in bold.
"handbrake melissa02" is currently your main project.
see http://wiki.netbeans.org/MainProjectConceptualChange
I have used Netbeans for Java, which in that case, that meant that the project whose name was in bold wass the default project, that is, the project that gets executed when you press the Run (the Green triangle shaped button). I would assume that the same applies here.