eclipse

Eclipse error: This project needs to migrate WTP metadata

We started a Web Project in Eclipse 3.2 a ways back and we've since upgraded to Eclipse 3.4 but now the Project has the error: "This project needs to migrate WTP metadata" We've tried right-clicking and doing the "quick-fix" which is in fact to Migrate WTP Metadata. Unfortunately nothing happens and the error remains. We can delete t...

is there a way to make a previous version latest without doing another commit in teamprise?

The title more or less sums it up. We use MS TFS as our version control which integrates to eclipse via the teamprise plug-in (Corp standard, primarily an MS shop. I wish we could just use SVN, because frankly the Teamprise plug-in is rather atrocious). Suppose that someone commits a file with changes that we want to keep, just not ye...

How do I update an Eclipse template variable on the fly?

I've added the following new Eclipse template via extension point. It simply adds a template for a sample testTag tag. <!-- Add code template --> <extension point="org.eclipse.ui.editors.templates"> <template autoinsert="true" contextTypeId="html_tag" description="[Description] Template populated by Snippet ...

how to run Android emulator automatically from eclipse?

may i know how to auto run a project on Android emulator using eclipse? ...

Eclipse - editor colors - a healthy configuration

Hi! I use Eclipse for Java, Python, C(++) and so on. I'm accustomed to Vim and the dark color schemes. The default white background just hurts my eyes. And that's a real problem. It doesn't seem Eclipse supports any schemes? I tried a Plugin but it doesn't seem to work for MacOS and Eclipse 3.3.2. Is there any better option for some ...

Specific JRE name (which might not be the same on other computers) stored in meta-data for Eclipse Ganymede WTP project

Problem overview: When using Eclipse Ganymede with the Web Tools Platform the project gets dependent on the exact JRE name I use. The name might be different on other developers machines, how is this problem best solved so that many developers may work together on the project? Detailed problem description: I'm using Eclipse Ganymede a...

How to automatically generate an implementor of an interface in Visual Studio?

In Eclipse I can create a class with stub methods auto-generated for an interface. Surely this works in Visual Studio somehow, but for the life of me, I can't figure out how... Any thoughts? ...

Why does one need the Eclipse Snippets View when editor templates already exist?

What are the tradeoffs of the Eclipse Snippets View vs. editor templates? Why were Snippets introduced in the first place? ...

Which files should go into source control in a Flex Builder project?

I noticed that Eclipse (Flex Builder) generates hundreds of metadata files. Should I check them into my source control? They seem necessary, because if I delete them Flex Builder just opens up an empty workbench... Some of these files plainly do not belong in source control (like .history files and some cache files). If I delete them my...

Problems commiting deleted directory to SVN repository

Hi, I'm using Eclipse Europa with Subversive SVN plugin. When try to commit deleted directory SVN returns this message: Some of selected resources were not committed. Item is out of date svn: Commit failed (details follow): svn: Item '/myProject/trunk/src/test/config' is out of date Content of the folder has been already deleted and...

How to diagnose an Invalid thread access SWTException?

We're customizing an Eclipse RCP based tool for a client. They have trouble loading it on one of their computers (it works on others) and have provided the following error log. !SESSION 2009-01-23 12:09:05.593 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_12 java.vendor=Sun Microsys...

Error when updating eclipse

I click update in eclipse and i get error, its because i updated eclipse more than once. Is there any way to fix eclipse and have ability to use update? An error occurred while collecting items to be installed No repository found containing: org.eclipse.jem/osgi.bundle/2.0.202.v200810282000 No repository found containing: org.eclip...

Best XPath 2.0 Expression Evaluator (Eclipse)

What are the best XPath 2.0 Expression Evaluator for Eclipse? Any other standalone that is worth saying? ...

Changing TODO in Eclipse

In a eclipse a "//TODO" marks an area in code as a task for later consideration. Is there a way to add other expressions that will do the same. For example if i want to use "//myprojectname". ...

Ordering unit tests in Eclipse's JUnit view

The JUnit view in Eclipse seems to order the tests randomly. How can I order them by class name? ...

Is there a keyboard shortcut in Eclipse to fold the current method/block?

Hey, question says it all. I have folding turned on in Eclipse (v3.4), and rather than having to click the little +/- in the page gutter, I'm wondering if there's a keyboard shortcut to just "fold the current method". A quick look at the menus and what-not in eclipse doesn't show a menu item for it, so maybe you just can't do it. Anyon...

When you get a stack trace in Eclipse with SDK classes in the stack, how can you see the SDK sources?

When you are developing an Android application with the Eclipse plugin and debugger, and get a stack trace, you will not see any of the SDK source code. What steps do you need to make to fix this? Assume beginner Java programmer. To clarify, I want Eclipse to automatically show me the correct source files and lines when I jump into a st...

Eclipse project not built on Mac due to 'A resource exists with a different case' error

I am trying to following instructions to import android java source to eclipse on mac: http://source.android.com/using-eclipse I did create a new partition ('Mac OS Extended, case sensitive, journaled) on Mac. I was able to build android sdk successfully at command line. But when I try to create a new eclipse project and I get this er...

How to set up multiple source folders within a single Eclipse project?

I have several somewhat separate programs, that conceptually can fit into a single project. However, I'm having trouble telling Eclipse to make several folders inside a project folder. A simple form of the structure would be: /UberProject /UberProject/ProgramA/ /UberProject/ProgramA/com/pkg/NiftyReader.java /UberProject/ProgramB/ /Ube...

Is it possible to use Spring within Eclipse plugins?

Is it possible to use a Spring container for DI from inside Eclipse plugins? I'm wondering because I know that Eclipse causes a lot of issues with class loading, looking up things within the plugin, etc. The plugin is intended to be distributed as a JAR. ...