eclipse

How to disable the "autodeploy" to server feature in an Eclipse web project

I am using Eclipse (J2EE Galileo) and have created a dynamic web project and associated it with a server (JBoss). Now, whenever I make changes to one of my JSP pages, Eclipse will build and autodeploy the WAR file to the server. This is sometimes useful, but sometimes more in the way for me. I would like to disable this feature, and i...

[Eclipse] Read remote properties

First of all, Hello everyone(/world) ! I am making an Eclipse RCP app' who needs to inspect some .properties located in some plugins who's Id I know at runtime. I'd like to know if there is an easy way to read them, for example I know that in my plugin org.anyname.myplugins.mypluginthatrocks I have a file named myawsomeproperties*.prop...

Unable to inspect variables on eclipse

I'm unable to inspect variables on eclipse when debugging remote Java application. What could be the reason. EDITED: I'm not able to inspect any variables. Message shown in inspector mini window is 'variable name cannot be resolved'. I'm able to see the contents when I run it locally with test code. ...

How can I make Maven set up (and keep up to date) the build path for my Eclipse project?

I define the dependencies for compiling, testing and running my programs in the pom.xml files. But Eclipse still has a separately configured build path, so whenever I change either, I have to manually update the other. I guess this is avoidable? How? ...

How to stop other threads stealing focus when debugging in Eclipse?

Here's the scenario: I'm debugging a server process running in Eclipse 3.4.1. There are 20 threads or so, waking up at various interval after sleeping. I set a breakpoint in one method on one thread, and Eclipse stops there properly. The thread is expanded with a stack trace in the Debug view, and I can use the various buttons to st...

Configuring Blackberry Eclipse plugin for 4.70 or 5.0 components

I am looking for help in configuring the Blackberry development environment. In fact, it is quite a frustrating process. The blackberry site is pretty useless. Between links that have been moved, details that are assumed and documents that are out of date it is proving very difficult to get anywhere with blackberry development. Pheww...

Can eclipse prevent you from using particular classes?

For example, I don't want to use org.testng.v6.Maps, (I want com.google.common.collect.Maps) I don't want to use org.hibernate.mapping.List, (I want java.util.List like everyone else!) Is there a way to tell Eclipse not to suggest these in the autocomplete box? ...

what clearcase plugin to use with eclipse

Which Clearcase plugin should I use for eclipse 3.5+? which is easiest to use? which is most reliable? can any of the plugins handle working with multiple views cleanly? ...

I'm getting a weird java.lang.AbstractMethodError running a webapp in eclipse with jetty.

I am working on a project in eclipse that when I launch using the jetty plugin gives me a java.lang.AbstractMethodError: au.com.mycopmpany.impl.MyClassDAOImpl.findById(Ljava/lang/Integer;)Ljava/lang/Object;. This file compiles file in eclipse, and the code is implementing the method that the error talks about. From my reading this erro...

[Eclipse PHP IDE 3.5] "No completions available" on var_

hi all, i have againg a problem with completition. now i can't get any suggestion. Sure i can type var_dump, but it is more comfortable with autocompletion. I'm using Eclipse PHP Ide 3.5 with PDT 2.1. ...

How to setup eclipse cpp to generate multiple executables

I have made a new project in a clean eclipse installation and imported a lot of source and header files into a source directory. Some of the source files are libraries, some have a main method and are supposed to be compiled into an executable. How can I indicate which source files are supposed to be executables? Should I make differen...

Eclipse BIRT and Oracle: Need to set role before running report

Is it possible to set a database role before running a report? I have a number of databases each containing a number of schemas with the same set of tables, where each schema has a number of roles to control read, write, data management and so on. None of these are default roles. In sqlplus or TOAD I can do SET ROLE , before running a ...

JBoss 4.x not deploying src folder to war

I am currently working on a web app that had previously run and deployed fine but after making a recent change JBoss will no longer deploy a complete war file. I was hoping someone here would have some advice on how to fix it. JBoss deploys everything in WEB-INF and META-INF fine but nothing in the class folder is getting deployed. I ...

How to filter deployed code when exporting EAR from eclipse?

I have a basic web application (dynamic web project in eclipse) with an associated EAR project. I am trying to make sure that my junit test code stays out of the deployment EAR file. In my web project I have a source folder called "src" and one called "test". I need to keep the .class files from the "test" source folder OUT of the EAR w...

Caching the repository index in m2eclipse

everytime i start with a fresh new workspace, m2eclipse downloads nexus-maven-repository-index.gz from the maven central repository. this is good. but, some times, i just want to start a new workspace, and not wait for it to download, it tried copying the whole .metadata directory from an old workspace to the new one, but the list of mav...

eclipse mistakenly interprets packages as "resources", or source folders

I'm importing an existing source tree as an Eclipse Java project. When I do, I get errors in classes (such as mycompany.logging.LogEntry) along the following lines: The package mycompany.logging does not match the expected package "" The problem seems to be that Eclipse does not realize that the directory src/mycompany/logging is a pac...

Using a FilteredTree in a GEF ContentOutlinePage

We have a ContentOutlinePage that includes a GEF TreeViewer. Simply put, by calling setContents on the TreeViewer, GEF builds TreeEditParts using an EditPartFactory, as is typical for GEF. Internally, the GEF TreeViewer creates a Tree control. public Control createControl(Composite parent) { Tree tree = new Tree(parent, SWT.MULTI...

How can I show the windows file explorer in the RCP application?

I would like to create a Eclipse RCP application, in which I need to show the Windows file Explorer in the View. Can anyone help in this? ...

Installed Eclipse PDT, I do not have "Run As -> JUnit"

I installed Eclipse PDT and now I want to run a JUnit test in a Java project. The Java perspective is used, but there are no options displayed in the Run As menu item. The "Run Configurations" item has the "launch new configuration" disabled. The tests are JUnit4 (the project compiles with junit4.jar, but not with junit3.jar). How can...

Disable Eclipse warning about generated html?

When developing Flex projects, Eclipse gives warnings about the default index.html file generated by Flex Builder. The file is in the 'target' folder (or "generated artifacts" folder. Yes, I'm also using Maven). Can I eliminate or disable this warning? The code which generates the warning is below, though I would definitely prefer not c...