eclipse

Eclipse - Unable to install breakpoint due to missing line number attributes

I am getting this strange error in Eclipse while trying to set a breakpoint. Unable to insert breakpoint Absent Line Number Information Ticked the checkbox from Compiler options but no luck. Thanks ...

Eclipse sync workspaces/perspectives/preferences across computers

I have a project I need to be working on from two different computers, at work and at home. I need to be able to work on the code from both computers, so the issue is two fold; Sharing the code Sharing the workspace. 1 is simple enough with svn; but I feel icky committing broken code to svn just so I can access that again from home....

where can I find IContentTypeManager

I get this exception in Eclipse: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/content/IContentTypeManager$IContentTypeChangeListener at java.lang.ClassLoader.defineClass1(Native Method) I added org.eclipse.core.runtime.jar to the build path, but it doesn't seem to find IContentTypeManager there. Can someone tell me if t...

Trouble Installing the new Android SDK

I've installed the newest Android SDK using eclipse's software updates feature to hit the resource at https://dl-ssl.google.com/android/eclipse/. After installing it, it seems like the SDK is integrated into Eclipse, but when I try to create a new project with a single blank activity in it, I get the following error: [2009-06-06 11:41...

Why does my SWT Shell always comes up in the background?

When I start my SWT Application from Eclipse, the Shell always starts up in the background, with the IDE in front of it. I tried everything, like setting the focus, activating the shell, etc. Did someone else experience the same behaviour and maybe even solved it? ...

Eclipse Java project error: cannot resolve declaration in swing

I get the following error in Eclipse: DISPOSE_ON_CLOSE cannot be resolved something.java javadir/src/ line xxxx Java Problem DISPOSE_ON_CLOSE is in javax.swing but even when I add import javax.swing.*; it doesn't work. ANy ideas? ...

Setting up Eclipse EE Layout

Hi Since Eclipse is doing so much out of saying it's a flexible platform, how do I change the Java EE view to display a JSF project like this: http://clausjoergensen.dk/media/files/eclipse_setup.png Bascially I don't have ANY need to EVER see the Library Folders (why is there more than one?!?!?) and I don't need to have a "build" fold...

Why when starting GWT in debug mode, my break points don't break

I am using Eclipse 3.4.2 with the latest GWT. The IDE doesn't even switch to Debug Perspective automatically. ...

How to convert from File to IFile in java, for files outside the project?

Normall, this code is used for converting from File to Ifile: IWorkspace workspace= ResourcesPlugin.getWorkspace(); IPath location= Path.fromOSString(file.getAbsolutePath()); IFile ifile= workspace.getRoot().getFilesForLocation(location); But this only works for java files within the project. How can I get the IFile when File file i...

How to generate only one editor for more models in EMF ?

I have more EMF genmodels. It is pretty lame to create new editor for each model. After generation (right click - generateAll) old editor is always overridden. ...

Workspace is closed exception when trying to get the workspace through ResourcesPlugin

I get this error: java.lang.IllegalStateException: Workspace is closed. at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:339) The code generating it is this: IWorkspace ws = ResourcesPlugin.getWorkspace(); Can you please help with this problem? ...

How do you debug a Rails application?

Is it possible to debug a Rails application in a similar way to a Java application - setting breakpoints and stepping into the code? What are the best tools for this? I have a hybrid Java/Ruby on Rails application which I can run in Eclipse or Netbeans. I would like to step into some code in this app and try to figure out the cause of...

Linux Shared Libraries c++

Hi all. I have a Shared Library wise.so. How I can use it in my programm? Do I need to include headers of that library? I work with Eclipce under Linux. I have set a path to the library using -L and -l. But my function is not visible in the program. Could you explain me how does Shared Library work? Regards. EDIT: I get the follow...

Red5 plugin for eclipse?

What url do you use for it because http://www.red5.org/projects/red5plugin/update_0.1.x/ gots redirected to http://code.google.com/p/red5/, and my eclipse is heavily complaining about network connection problems (other plugins update correctly). ...

How can I use the java Eclipse Abtract Syntax Tree in a project outside Eclipse? (ie not an eclipse plugin)

How can I use the java Eclipse Abtract Syntax Tree in a project outside Eclipse? (ie not an eclipse plugin) All the Eclipse AST examples that I've seen are for eclipse plugins. Is there a way (ie an example) of a project that uses the eclipse AST for a non-eclipse project. ...

Why is Eclipse using JUnit 3 when I have junit-4.3.1.jar in my build path?

I'm using Ganymede on Ubuntu Linux and I have junit-4.3.1.jar in my build path. I click File > New > Java > "JUnit 4 Test Case" when I create a new test, but when it's run, Eclipse appears to be using JUnit 3. I believe this is the case because it's ignoring my annotations. When I remove all test* methods, JUnit complains "No tests fo...

How can I add class folders into Eclipse?

Say Eclipse is set to compile to a build directory at 'bin' and I have a folder structure with various Java .class files (precompiled) which I won't to copy into the folder 'bin' on compile. How do I go about achieving this? ...

Interfacing Eclipse Workbench UI with GNU debugger functions

Hello, I want to know how the Eclipse Workbench UI communicates with the GNU debugger. What I mean is in the Eclipse for C/C++, when we press the step over or resume or continue buttons in the menu, what happens behind the scenes? As in how is the GNU gdb invoked? How does gdb know which function to execute? How does the UI communicate ...

Eclipse PDT & PHPUnit ??

Is there any integration of PHPUnit with Eclipse PDT? If not, are there any plans to do so? ...

Eclipse: How to convert a web project into an AspectJ project and weave and run it using the AJDT plug in?

What I want to do: I want to use the @Configured annotation with Spring. It requires AspectJ to be enabled. I thought that using the AJDT plugin for compile time weaving would solve this problem. Before installing the plug in the dependencies which were supposed to be injected into my @Configured object remained null. What I have don...