eclipse

Howto prevent eclipse from line wrapping in XML and HTML files?

Hi, is it possible to completely stop eclipse from line wrapping XML and HTML files? It is easy to do this i.e. for java files, but I couldn't find similar settings for XML and HTML files. Thanks in advance. ...

Can I have Eclipse close all my projects when I exit?

I would like to have Eclipse (3.5, if that matters) close any open projects I have before I exit my workspace. Is this possible? ...

Unable to change the jFrame icon / load a resource for a .jar with Eclipse.

I'm trying to load an ImageIcon as described here, but I'm getting an error. Tried the method here too, but ran into the same error. It says: "Uncaught error fetching image: java.lang.NullPointerException..." I couldn't find a solution to this. I can load the image icon using this: setIconImage(new ImageIcon("etc/image.png").getImage(...

Problem on installing new software on Eclipse Galileo Platform

Hello, I want to install a subversion on my eclipse. So I went to Help < Install New Software and when I pick the "Galileo - http://download.eclipse.org/releases/galileo" in the "Work with" dropdown, it tells me in the main box "No repository found at http://...". It is appearing in my available software sites and when I test the con...

How to reproduce bin folder in Eclipse after it is deleted?

I'm switching out of Net Beans (since Netbeans intellisense speed was too fast for my patience). However, my habit since NetBeans age driving me nut with new Eclipse. Normally, when some thing is wrong inside Netbeans auto compile mechanism, I just go to build folder located under the project root and delete it (sometimes with Unlocker),...

Hudson style build reports on developer machines/within Eclipse

We use Hudson for our continuous integration which provides us with easy to browse build reports showing compiler warnings, unit test results and coverage (EMMA), pmd, checkstyle and findbugs violations. Although we each have the relevant plugins installed locally in Eclipse, it often seems easier to simply commit to SVN in order to tri...

Running Eclipse projects on the Command Prompt

I have a console-based C project in Eclipse. Is there a button I can press to launch my application in a Command Prompt window? ...

Why does Eclipse fail on this scanf() command when the Command Prompt executes it fine?

I'm new to C. Here's my code: /* Using scanf() */ #include <stdio.h> int main(void) { int iDec1, iDec2, iDec3; printf("Enter three decimals:\n"); scanf("%d,%d,%d", &iDec1, &iDec2, &iDec3); printf("Your decimals are %d, %d and %d.", iDec1, iDec2, iDec3); return 0; } It works in the Command Prompt, but when I run it...

Eclipse Library Reference Out of Date in Project

I am using Eclipse Ganymede. I have a project open and call a static method of a class in another project, which the current one references. I close the current project, open the referenced library's project, change the method return type, and rebuild its jar. (It's set to build automatically, but I tried explicitly rebuilding all any...

How do I get maven managed dependencies copied into war\web-inf\lib so I can run my GWT 2.0 app in debug mode within Eclipse?

I am updating an existing project from GWT 1.5.2 to GWT 2.0.0. We use maven 2 to manage our dependencies and do all of our development in Eclipse 3.5. Because we use maven to manage our dependencies, I do not have all of those jars in the war\web-inf\lib directory as GWT specifies. Instead, they are in the maven repository, just where...

Force Content-Type on files with no Extension in EclipsePDT?

I use Eclipse-PDT to work on my PHP projects and find it inconvenient when Eclipse does not recognize my php files that have no extension. Our project contains many cli/bash-style php scripts that have no file-extension (for whatever reason). This results in no code-completion, highlighting, etc for these particular files. It treats them...

programmatically change the background color in eclipse

Hi everyone, I have a question related to eclipse plugin development. Is there any means by which I can programmatically change the background color in eclipse. I am able to change the text foreground color by calling setTextColor(color, offset, length, controlRedraw) in ITextViewer but I don't find any function by which I can c...

will netbeans or eclipse install mysql for me as a plugin?

will netbeans or eclipse install mysql for me as a plugin? (preferrably netbeans) (on a windows machine) ...

How do i view the log/console for the J2EE Preview server/container in Eclipse?

Hi, I'm working on a struts2 web app in Eclipse, and am using the built-in J2EE Preview server. How can i view the logs / console for it? I'm having some problems and now my previously working site is showing Error 404 everywhere, and the console tab at the bottom window of eclipse isn't showing anything. Cheers all edit: Here's some...

[Eclipse] Where is the "update site" list stored in the filesystem?

Updated2: Where is the list of software sites stored in the filesystem? I am after the file where this information is stored. Eclipse Galileo 3.5 won't let me delete broken software site repositories from the list. E.g. I am trying to get rid of the Bazaar Update Site. ...

immediate window

Is there anyplace in the eclipse ide that I can enter immediate code while stoped at a breakpoint? thanks ...

In Eclipse, how to set JavaDoc URL on a classpath entry programmatically?

I have an Eclipse plugin, that among other things, can create a project and give it several classpath entries. This in and of itself works fine. These jars do not have source included in the, however there is a URL that can be used for Javadoc. I want to set this up programmatically for these classpath entries that the plug-in creates...

Launching PowerShell Script from Eclipse IDE

I'm trying to run a Powershell script without leaving Eclipse IDE so I setup External tool config as follows: under "main" tab: Location: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe Working Directory: C:\WINDOWS\system32\windowspowershell\v1.0\ Arguments: "& C:\PowershellScripts\script.ps1" I save it and click run but ...

Eclipse package explorer tied to editor window

In Eclipse (latest version) I ended up with the situation seen below. I accidentally rested a book on my keyboard and through some magical key sequence managed to have a package explorer bar locked into the top of my editor window. I've spent a while searching on google and playing around in eclipse to try and remove this with no succ...

Can't install Android plugin for Eclipse on MacOS X (Leopard)

When I try to install the Android plugin for Eclipse on MacOS X (Leopard) I get the error: Cannot create tempfile for site.xml Permission denied I'm not sure what persmissions the system is referring to. I have set this up on a Linux distro with no trouble at all. ...