eclipse

can I build swing applications on eclipse ?

I used to work on netbeans to build Java applications but now: i am using eclipse. I was was wondering if there a a free good plug-in to help me with swing windows.?? ...

Eclipse C++ dll import

Hi :) How does one import a dll into an Eclipse C++ project? ...

Meta-model evolution in the Eclipse Modeling Framework

I am making an attempt to evaluate EMF for use within a project. One of the things i am looking at is some kind of versioning support at the metamodel (M2 or the .ecore model) level. In terms of metamodel evolution, i have read certain discussions and have come across this paper. However, i wanted to know if there is anything concrete ...

How to run Eclipse 3.4.1 on MacOS 10.5.6?

Hi, I am trying to run Eclipse 3.4.1 on MacOS 10.5.6? I think I am using java 1.5 when I run eclipse: $ which java /usr/bin/java $ java -version java version "1.5.0_16" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284) Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing) And then I click eclips...

Problem in running Junit tests in eclipse 3.4.1 on Mac OS

Problem in running Junit tests in eclipse 3.4.1 on Mac OS I am getting this error: 'Lanuching AllTests' has encountered a problem. Cannot connect to VM. !ENTRY org.eclipse.core.net 1 0 2009-01-29 10:07:44.047 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.25 4/16|*.169.254/16 by an external source. This...

Eclipse doesn't remember source lookup path

For some reason Eclipse doesn't remember source lookup path for some java projects, and every time during debugging (after redeploying) I need to press "Edit source lookup path" button and add current project to the list. Does anyone know how to make it remember selected source location? EDIT: It is a tomcat project, built with ant. Ec...

Eclipse Keyboard shortcuts in Mac OSX

I'm running Leopard and do all my Java development in eclipse. Some of the shortcuts work such as Command-1 which will do a quick suggest. However how do I get the Function Keys (F5 for refresh in the package explorer) to work? Right now it brings up spaces or whatever System Preferences maps to that. What about Control-click into a bre...

How can I change the date format in Eclipse editor templates?

Is there any way, other than rebuilding the JDT, to configure the date format of {$date} variables in Eclipse editor templates? Or even creating a new variable to match the format I want? ...

How can I specify an Eclipse .classpath entry for specific O/S platform?

I am working on an SWT project as part of a team. We are constantly breaking each others build environment because Eclipses .classpath file is checked into version control and we include different SWT libraries for our machines. Depending on who committed last, the .classpath entry can be: <classpathentry kind="lib" path="lib/swt/swt-...

Any good tutorial for moving from eclipse to vim?

At present I am using eclipse for JAVA project. I always wanted to use VIM for my project. Is there any good resource or tutorial that can help me? ...

Why can't I search maven projects in eclipse

I'm using the m2Eclipse plugin (http://m2eclipse.sonatype.org/) to handle maven modules in eclipse. After enabling a project for dependency management and for nested modules, I can no longer do a 'File Search' over the project. The search finishes instantly with the search window display "0 matches in empty scope". Any ideas how I can...

How to undelete a file with Subversive?

Please note: This is a question about the Eclipse plugin Subversive, and not about Subversion itself. Please do not change the title to be about 'Subversion'. So I deleted a file that I really shouldn't have. I've found various approaches to restoring the file outside of Eclipse/Subversive, but I was wondering if there was a best/easie...

How to execute ANT tasks on only files that have been modified.

I have a build script that does a number of things (minimize javascript, upload to amazon s3 etc). The minimize ANT task only operates on the javascript that I have modified and ignores the rest (I didn't write this script). I would like to do something similar for the amazon s3 task where only the updated content is upload in the task. ...

Eclipse file search caching

I've noticed that in a file search (CTRL+H) in Eclipse, the first time you search against a "Working Set" it takes a considerable amount of time for the search to complete. Subsequent searches on that Working Set run much faster, presumably because there is some sort of index it is searching against rather than the actual files. Howeve...

Build JavaFX project without NetBeans

I'm trying to learn JavaFX and maybe create a few "learner" games. I always do my development in Eclipse, rather than NetBeans which the JavaFX team is clearly trying to push. Can anybody point me in the direction of a how-to for building a JavaFX project in Eclipse, or at least building a JavaFX project without NetBeans? Everything I'v...

How to change auto-generated code when creating new class in Eclipse

Whenever I create a new Java file in Eclipse and check off the option to add public static void main(String args[]), this code is generated: public class Test { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } } How do i: Remove the @param args comment C...

Best way to automatically check out and compile Eclipse projects with Ant in Hudson or another CI tool?

We have several products which have a lot of shared code and which must be maintained several versions back. To handle this we use a lot of Eclipse projects, some contain library jars, and some contain shared source code (in several projects to avoid getting a giant heap with numerous dependencies while being able to compile everything ...

Setting up Eclipse for Java and PHP

I have already installed Eclipse for Java development. I'd also like to install Plugins for PHP, CSS/HTML and Javascript, but all the sites that I've checked only offer a 'All in one' package, so I could either download an all-in-one Java package or an all-in-one PHP package, but not both at the same time. How do I set up my existing i...

Eclipse: How to build an executable jar with external jar?

Hi all, I am trying to build an executable jar program which depends on external jar downloaded. In my project, I included them in the build path and can be run and debug within eclipse. When I tried to export it to a jar, I can run the program but I can't when I try to press a button which includes function calls and classes from the ...

Eclipse not showing images in JavaDoc view

For some reason images are not visible in my Javadoc view of Eclipse. But the same Javadocs work perfectly fine in a browser: Has something gone a little screwy with my instance of Eclipse? Do I need to change a setting or something? Ideas? Update: In this instance I'm using 3.4.1 (Ganymede), but I just opened the same project u...