eclipse

Auto update and build with eclipse and SVN

hi, every morning when i come to work i update my sources from the svn and build it. this process takes roughly 15 min. my question is whether it is possible to do it automatically, scheduling it... i am working with XP and eclipse. ...

How do I get the "session data" shown in an error?

I am adding some functionality to an existing application to show debug info. When examining an error from the error log view it shows something called "session data", typically it looks like: eclipse.buildId=M20090917-0800 java.version=1.6.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sv_S...

problem with Eclipse

When I press ctrl-s to save my java file in Eclipse its jumping to the function name, this is very annoying. Someone know what to do about this? ...

Where's the font setting for folders in the Package Explorer?

I'm talking about Eclipse (3.5 = Galileo), running under Kubuntu 9.10 and I have the Subversive plugin. I've been moved from Gnome-Ubuntu to Kubuntu, and one side effect was that some fonts are now just too tiny to read. File names in the explorer have a decent size, but folders are shown in a too-small font, and after having adjusted...

Eclipse/GTK+ wasting screen real estate

Eclipse on Linux (GTK+) has rather large UI elements which wastes screen real estate. Compare the Linux version (taken on Ubuntu 9.10): with the Windows version: Note the vertical size of the Project Explorer tab, the menubar, and the toolbar. Is it possible to tweak this somehow? How does this look in other Linux distributions? ...

Xcode Tips for Eclipse users?

Hi, I've been slowly working my way through the examples in Beginning iPhone Development and there are a few things that I have not been able to figure out, but I'm sure you guys can help me with it. In Eclipse there is a Source->Generate Getters/Setters, can you do something similar to synthesize properties in Xcode I also cannot see...

eclipse.buildscript building a platform specific feature on the wrong platform

I have a feature and plugin called foo, and both are win32 platform specific; however, when I call the following in my ANT script on a linux, gtk, x86 system, the feature is built, but the plugin isn't (correct). <eclipse.buildScript elements="feature@foo" configInfo="${os},${ws},${arch}" buildDirectory="${edge.build.eclipse.loc}" baseL...

path of an image in an eclipse project

I'm trying to display two pictures on my JFrame, the way I found was to use icons and JLabels, this seems pretty straightforward and I'm not having problems with this. But when it comes to locating the image I can't get it to work. I'm on a linux machine thus the forwardslash style. I created a folder called pics in my project which is c...

How do you create a Spring MVC project in Eclipse?

I am trying to follow basic tutorial for Spring MVC but get lost at creating a new project in Eclipse. It seems that most tutorials assume you know how to create a Spring Project in Eclipse. Any advice on where to get started or tutorials which explain how to set up Eclipse would be appreciated. ...

Eclipse autocomplete (content assist) with facelets (jsf) and xhtml

How to activate eclipse (3.5, WTP) content assist in .xhtml pages for JSF (1.2) tags, using facelets? It works in .jsp files, but not xhtml. I google a lot, and in many places (including MyFaces wiki) it is said - "Eclipse can't work with xhtml and facelets" Since this works with .jsp files, I assume there might be some mechanism with ...

Using clojure and leiningen with IDEs

I'm looking at switching my projects build from Ant to leiningen and wanted to know if there is a Clojure IDE (intellij, eclipse, netbeans) for which the "build" and "debug" buttons will still work? ...

Problems setting up a dynamic web project in eclipse using Java EE and Tomcat

I am trying to get a simple helloworld test project going so I can build upon it. I am using Java EE with maven in Eclipse and am getting a Requested reseource is not available error from tomcat in my web browser. Right now all I have is a test jsp page to print Hello World which is all I am trying to get working. I created a maven pro...

How can I get Eclipse/Jetty/GWT2.0 to find org/apache/commons/logging/Log

I followed the example at http://blog.hivedevelopment.co.uk/2009/08/google-web-toolkit-gwt-mvp-example.html and built the example GWT application, but then I wanted to build something else, and I plan on using Google AppEngine. I started a new GWT2.0 + AppEngine project and followed the same setup of adding the same libararies, copied an...

Enforcing the ANSI C standard in Eclipse

Is there an option I can change in Eclipse to make sure that my code has got to be ANSI C-compliant before it can be compiled? ...

Eclipse file type dependent print margin?

I know that you can set the print margin in Eclipse, but if I want different line-width settings for different file types? Say, 100 for .java, and 80 for .txt? Is it even possible? ...

Unreachable code error vs. dead code warning in Java under Eclipse?

Does anyone know why: public void foo() { System.out.println("Hello"); return; System.out.println("World!"); } Would be reported as an "unreachable error" under Eclipse, but public void foo() { System.out.println("Hello"); if(true) return; System.out.println("World!"); } Only triggers a "Dead code" warning? ...

How do I get Eclipse to syntax check inside <%@ include %> directives in JSP?

When I'm using <%@ include %> directives in JSP, is there any way to have Eclipse syntax check my included files (or what is best practice for this). What I mean is that if I include files that have variables declared in the parent, I get a bunch of errors about undeclared variables (makes sense). So how do people get around this? ...

Automatically remove explicit package declarations with import statements in Java

Hello, I have a project created by others that includes thousands of class files and has the package names explicitly typed out for every reference to any of their classes. It looks like the code was reverse engineered. Is there a good tool for Java that refactors the code so that the explicitly typed package prefixes are removed from c...

Eclipse 3.5 "Delete getters and setters together with a field"

Hi, i've read in the eclipse help that it is possible to "Delete getters and setters together with a field". I somehow cannot manage to get it work. Does somebody use this feature and could give me a hint what i'm doing wrong? In the eclipse help file the following is written: "When you delete a field from within a view, Eclipse can pro...

Design Palette for SWT

Is there a way to replicate the design palette from the Eclipse Visual Editor in an SWT application? Here is a screen capture of the widget. http://bit.ly/b6lUZh. ...