eclipse

Adding a filter to the Project Explorer in Eclipse

I want to add a new filter to the Project Explorer, to hide from the user some projects that are created automatically in an Eclipse RCP Application. So far I've found two extension points: org.eclipse.ui.ide.resourceFilters Allows me to filter Navigation org.eclipse.jdt.ui.javaElementFilters Allows me to filter the Java Viewers I ...

How to hide Aptana start page on Eclipse?

How to make it not appear when I open Eclipse? ...

SEVERE error in Eclipse Web application Startup

I use tomcat. I am developing a web application using struts2, and I use eclipse as my IDE for development. I get this error Mar 7, 2010 7:38:42 PM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter struts2 Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.sprin...

How to organise a C project in Eclipse /w multiple binaries ?

I'm in the process of converting a project to Eclipse CDT, it consists of 2 (static) libraries and produces about 12 binaries, a few of the binaries have 2-3 different build configurations, and is built by scons How should I structure this in an Eclipse workspace ? 1 project for everything ? 1 project for each of the binaries/libs ? Som...

Basic Java/Eclipse problem: standard libraries cannot be imported in Android project

Hi there, I'm new to Java/Eclipse/Android, so this is probably an easy (if not stupid) question: After creating a new Android project, I want to import some (what I think are standard) java libraries. However, some import statements throw an error: HelloAndroid.java: import java.awt.Color; (The import java.awt.Color cannot be resol...

Eclipse, how to combine 2 editions

I'm using the PHP edition of Eclipse, but was told that I also need the JEE edition. I'd like to install them both in the same install (single launch) and not have to open 2 editions in parallel. Is there a way to easily get this done? I'm new to eclipse, so detailed instructions are welcome. ...

Installing PDT in Eclipse - No runtime option .. only SDK

Hello, Admittedly I am new to Eclipse. I have it configured properly for Android development but I want to add the PDT plug-in for PHP development. I have followed the instructions for updating PDT for the Galileo version of Eclipse located here ... http://wiki.eclipse.org/PDT/Installation When I search through the available PHP tools...

Can I customize syntax highlighting in Eclipse to show octal literals differently?

I think octal literals are Very Dangerous Things, and I'd like them to be glaringly obvious whenever I read source codes. There must be a way to do this in Eclipse, right? So it looks like standard Eclipse cannot be configured to do this? A custom colorer is required? ...

Eclipse Galileo + Glassfish v3: JPADeployer NullPointerException on deploy

I've created a very simple "Enterprise Application" project with about 7 entity beans and one stateless session bean. I've also configured an instance of Glassfish v3 to run as my application server. Unfortunately, when I attempt to publish the EAR to Glassfish, I'm getting the following response: SEVERE: Exception while invoking class...

Horrible eclipse performance on macbook pro running 10.5.8

Hi I am using eclipse galileo on my macbook pro. After a few minutes it starts dragging really badly, like it takes 8 seconds to open a file. I don't have many files open at all. I already modified the config file to increase ram and all that stuff. Is there something wrong with this version of eclipse, never had it run so poorly on he...

Debug Maven project in Eclipse

I am following below link to try to debug my maven project in Eclipse: http://mahertb.blogspot.com/2006/08/debugging-maven-web-application-with.html Somethings go fine until it throws an exception when I run it: org.codehaus.classworlds.Launcher class is not found. But I've set D:\Installs\apache-maven-2.2.1\boot\classworlds-1.1.jar in...

How to write C++ audio processing applications?

Hi everyone, I'm an Electronics and Telecommunications student, next to my graduation. I'm gonna work on a project that involves my knowledge about DSP, music and audio in general. I allready know all the basic mathematic instruments and all the stuff I need to manage it, such as FFT, circular convolution ecc ecc. I want to learn C++ ...

Default taglibs used within included JSPs for editing

Hello everyone Within Eclipse's jsp-editor, as you all know, I get code-assistance for external taglibs once I defined them. In the project I am working on now a lot of jsps are just included and have no taglib definition in the top which gives me a lot of editor warnings. In the deployment this doesnt matter because the taglibs are def...

Maven profile for single module

I have a multi module maven project, which builds successfully, I'd like to build just one of the modules I have. How would I do that with profiles ? I could do it from console in two ways, one way is go to the child module and mvn package or I could use reactor to build just one module. Can I do the same thing with profiles? By modifyi...

Very simple application fails with "multiple target patterns" from Eclipse

Since I'm more comfortable using Eclipse, I thought I'd try converting my project from Visual Studio. Yesterday I tried a very simple little test. No matter what I try, make fails with "multiple target patterns". (This is similar to this unanswered question.) I have three files: Application.cpp: using namespace std; #include "Window....

Eclipse, maven and wtp

Hi there, I've installed the m2eclipse plugin with WTP integration in my eclipse workbench. When I use to run the project on a server, the dependencies which has to be provided at runtime (e.g. spring) are not deployed. Is this working like intended? Maybe some of you can provide me the right way. ...

Are there any tools in IDEs to automatically fix comment formatting?

/* Suppose I have a multi-line comment with hard line-breaks * that are roughly uniform on the right side of the text, * and I want to add text to a line in order to make the * comment a bit more descriptive. */ Now, most unfortunately, I need to add text to one of the top lines. /* Suppose I have a multi-line comment with hard li...

How do I set the Eclipse build path and class path from an Ant build file?

Hey folks, There's a lot of discussion about Ant and Eclipse, but no previously answered seems to help me. Here's the deal: I am trying to build a Java program that compiles successfully with Ant from the command-line. (To confuse matters further, the program I am attempting to compile is Ant itself.) What I really want to do is to br...

Attach/Detach to a remote instance of Eclipse

When using Eclipse over X-Windows on a remote shell (X port forwarding), is there a way to simply detach my X connection and come back to the process later. For a little more clarity, I'm on a Windows machine and have to reboot. I'd like to keep Eclipse running and come back where I left off. Eclipse is running on my Windows machine t...

Automatically go to a Class in eclipse from Instance

Is there a way to automatically go to a Class in eclipse from an instance of it. Foo foo = new Foo(); // lots of lines of code foo.some(); // from foo I want to go to the Class Foo direcly with a key press. I received some answers but that is not what I was looking for. Sometime I don't call a method, I just have reference foo only...