eclipse

How to configure Eclipse not to delete the content of the classes folder on compile?

Hi, Today when I compile my java sources the eclipse deletes all the class folder content (also files which are not classes) and recreate all the classes. This is not good for me, is it possible to configure the eclipse not to delete all the classes folder content but just to run over all the classes instead? ...

Eclipse: How to close multiple windows

Once you have a bunch (20+) source windows open in Eclipse is there way to close them with clicking all the close buttons on the tabs? It takes a long time and if you double click the middle button it maximises the window instead. I guess worst case I'll learn to write a plugin that just closes them all, but ideally I want a little lis...

Help me understand Eclipse's Java Build Path

I have been moving my Java projects from Jdeveloper over to Eclipse whenever I have to go back and make a change (I only work with Java projects sparingly). Everytime I try to create a project in Eclipse (3.3.2) I spend quite some time trying to figure out the proper way to configure the source directories in the Java build path dialo...

Running Eclipse Plug-in tests in non-ui thread

How do I run a Eclipse JUnit plug-in test in a non-ui thread when running the tests from the command-line? In the launch configuration dialog I can uncheck the checkbox "Run in UI thread", but how do I do that when running plug-in tests on the command-line? EDIT: It seems as if org.eclipse.pde.junit.runtime.nonuithreadtestapplication is...

FDT / Eclipse : path variable

I am trying to create a script that would list all the linked libraries in an FDT project and their corresponding svn repositories. My problem : I was not able to find the file on my system where Eclipse (or FDT, I'm not even sure) writes all of the path variables. I have tried capturing changes on my system and have had no luck. If a...

Eclipse not honoring runtime VM memory options?

I'm trying to run an algorithm that requires a few hundred megabytes of memory within eclipse, and I've specified VM arguments -Xmx512m, but I can't get past some arbitrary memory limit which seems to decrease as I continually try to run my programs. Physical memory is fine...what could be the issue? ...

How to properly setup Mercurial plugin for Eclipse?

Just added Mercurial plugin (1.4.12.86) to Eclipse (Web Dev Version, Build id:20090920-1017), and got this error on startup: Cannot run program "hg": CreateProcess error=2, The system cannot find the file specified Found a thread on the same problem, but have no idea how to fix it. Here's more from the log: !SUBENTRY 1 com.vectrace....

headless xml generation from xsd with eclipse

In recent versions of the free and open source Eclipse IDE you can generate XML documents from DTD and XSD files. Right-click on a given *.dtd or *.xsd file and select "Generate -> XML File...". You can choose which root element to generate and whether optional attributes and elements should be generated. Can i use this headless (witho...

Which one is better (in support, difficulty, ...) to develop a plugin, Netbeans or Eclipse?

Hi all! I would like to make a new plugin for a programming language because there is not any IDE the time I asked this question. I think IDE developing is far more easier if I try to use one of the available platform like Netbeans or Eclipse or ... As I checked, Eclipse plugin (if that plugin is not updated) won't be able to start up af...

Whats happened to the package explorer in eclipse?

Hi all. I have recently been setting up SVN in eclipse using the subversive plugin (still a bit lost but that's another issue). Been using this guide (http://soledadpenades.com/2008/12/10/add-svn-support-to-your-eclipse-installation/) and finally got it working! Only problem now is, I cant seem to find the Package Explorer, which is the ...

Failed web service unit tests behind a proxy in Eclipse

I have a problem executing unit tests in Eclipse behind a proxy, as the classes used by the unit tests call some web services, which are behind a proxy. In Tomcat I can of course specify a proxy to be used, but when I run unit tests directly from Eclipse, the proxy configuration of Eclipse seems to be ignored. How can I configure my unit...

Can't get compile on save / hot deploy feature to work with maven based webapp in eclipse or netbeans

So our new webapp project is based on maven. I'm really liking the dependency management and IDE agnostic approach but I'm having problems with compilation and debugging. Here's how I would currently get a clean copy of the project working Check out the main project from SVN Open the project in IDE (I've tried in eclipse 3.4 and netbe...

[Java] Eclipse documentation

I write application in Java(SWT) and I want to add documentation like in Eclipse application. How to do it? Is it exist tools for this? Documentation window in Eclipse: ...

Eclipse content assist with maven project not picking up all classes

I'm using Eclipse 3.5.0, and have imported a maven project using the import maven project from SCM wizard (M2 plugin). I have a jar file as a dependency in my pom. and inside the jar is a complicated schema - with quite a number of XSD's. But the content assist doesn't seem to pick up the schema at all, nor a number of other classes i...

Eclipse 3.5 Unable to install plugins

Hi, I really don't know what's going on with Eclipse 3.5 (3.5.0 or 3.5.1, same issues), but it's been now 2 days that I'm struggling with Eclipse to find a way to make the plugins installation work via the "Install New Software screen"!!! I have visited a lot of forums and blogs, tried many solutions but in vain: each time the current p...

Setting up Netbeans/Eclipse for Linux Kernel Development

Hi: I'm doing some Linux kernel development, and I'm trying to use Netbeans. Despite declared support for Make-based C projects, I cannot create a fully functional Netbeans project. This is despite compiling having Netbeans analyze a kernel binary that was compiled with full debugging information. Problems include: files are wrongl...

Tab between fields in TableViewer

What I'd like to do is be able to tab between elements in table. I currently am creating my table like this. this.tableViewer = new TableViewer(parent , SWT.FULL_SELECTION); tableViewer.setUseHashlookup(true); table = tableViewer.getTable(); GridData gridData = new GridData(GridData.FILL_BOTH); ...

seam 2.2 with microsoft access

is it possible to import a MS access database (.mdb) in a seam project using JBoss tools within Eclipse (Ganymede)? Starting a new seam project, I cannot see any field which uses ms access as database type. Any answer is appreciated. ...

Using Scala as a scripting language from Eclipse

Is there a way to execute a scala script from Eclipse with scala plugin? A scala script is a scala file which is executed line by line, without forcing you to write a main method. See the Description section in scala's man page. ...

Different JUnit-result starting from Eclipse vs. mvn test

Hi all, I've got a JUnit-test which is successfull when starting with mvn test but fails when starting from Eclipse (see stack trace below). What I'm trying to do is inserting new elements into the database with entityManager.persist() and entityManager.flush() (when calling flush, I get the error). My config.properties looks the follo...