eclipse

how to redeploy an application on Jboss within Eclipse ?

Hi there, i'm developing a spring-based application with facelets and Java Server Faces which works on Jboss Application Server. As a development Framework, i'm using Eclipse Ganymede Platform Version: 3.4.2 , which integrates the Web Standard Tools and therefore offers support for different servers, like Jboss 5.0. I'm deploying my a...

Eclipse : Update Editor

What is the best way to refresh Custom editors content when a change has occurred in underlying Model ? ...

SWT Multiple Monitor Support on Solaris?

I am writing an application in Java using SWT. On our Solaris machines, we have multiple monitor setups, but they are treated in isolation by the operating system. This means I can't open the application and drag it to another monitor. The right-click context menu doesn't even allow me to change the monitor the application is displayed o...

How to find orphan plugins in eclipse RCPs ?

Update sites with RCPs prohibits orphan plugins, otherwise plugins that are not in a feature. If this condition is not filled, the update manager returns the following error: Resulting configuration does not contain the platform. Unfortunately, no way to determine which plugins are orphan. How to find orphan plugins ? ...

How to get rid of the "Warning: trimming empty div" in Eclipse?

How do I stop this warning showing in Eclipse? Warning: trimming empty <div> No, I absolutely cannot make the div non-empty, I cannot change the code. ...

Xerces JAR on GAE project's classpath leads to "SAXParserFactoryImpl not found"

I'm using the Eclipse plugin for Google App Engine and I'm having a strange issue with a Xerces dependency. On of my classes depends on the Apache Xerces JAR which I have added to the project's classpath. This however, triggers an error when starting the Jetty app server: WARNING: failed com.google.apphosting.utils.jetty.DevAppEngine...

Using Wildcards with Content Assist in Eclipse

I would like to know if there is any way to use wildcards when using content assist in Ecilpse. For example, today I wanted to find the various classes on the classpath that ended in 'Exception'. I tried the following combinations, but in each instance content assist only brought up classes or interfaces that started with 'Exception' ...

Change Menu Items Programmatically From Eclipse Plugin

I would like to be able to completely remove menu items upon startup of my eclipse plugin application. What I want to do is be able to add these menu items later depending on business logic based off of the user's actions. Is there a way to do this? I've looked at using contributions, but I feel like it's not going to be exactly what I w...

How do I change the index of a TableItem?

Inside an SWT Table I have many TableItems. I want to move one of them from index X to index Y. Is there a way to do that? How? Thanks. ...

How to connect to R with Java (using Eclipse)

Very newbie (to Java) question: I opened an Rserve connection (http://www.rforge.net/Rserve/) on localhost, and I would like to use the REngine client (src/client/java-new in the Rserve package) to connect to it. What do I need to do to get the "RTest.java" (located in src/client/java-new/Rserve; pasted below) to compile? I gather tha...

Eclipse RAP - Firefox doesn't forget session

We've got an Eclipse RAP application that's behaving a bit strangely in Firefox - two distinct problems. When you browse around, you can click on a button in one part of the system. This opens a popup window like so: IWorkbenchBrowserSupport bs; bs = PlatformUI.getWorkbench().getBrowserSupport(); int style = IWorkbenchBrowserSupport.AS...

Sorting/Ordering of extensions of your Eclipse Extension Point

In Eclipse you can publish an extension point for downstream plugins to use. When looping through the extensions for your point, as returned from the registry, is there a way to know/control the order they are returned. How does eclipse find extensions, by order of files on disk?, name? Update: Someone asked why I would want to do this...

Custom Eclipse package

I'd like to package Eclipse + a few custom plugins, for internal use. The package will contain the Platform Runtime Binary ( win32 and linux x86 gtk ); Mylyn Task List; Mylyn Focused UI; Mantis Connector for Mylyn. How can I produce these custom builds? ...

Referencing a JPA project from an Eclipse Plugin results in "PersistenceException: No Persistence provider for EntityManager"

I am trying to create an Eclipse application that uses JPA for persistence. I am trying to use EclipseLink as my provider (more specific org.eclipse.persistence.jpa.PersistenceProvider) and Derby as my database. Currently I have an Eclipse JPA Project that deals with all the database communication and defines the model entities. This pro...

What is the list of valid @SuppressWarnings warning names in Java?

What is the list of valid @SuppressWarnings warning names in Java? The bit that come between the ("") in @SuppressWarnings(""). ...

How to get the project name in eclipse?

How do I get the name of the current eclipse project? I'm in a GMF view and need the projectname when some submenu of the popup menu ist used. ...

Eclipse rcp classloader hell: moved class still visible at compiletime but not at runtime anymore

I've a strange and new issue with an eclipse 3.5 rcp application: Everything worked fine, then I changed the running system and moved a single class from one plugin to a dependent plugin. No big issue, but all of a sudden the application complains with a class not found exception (or NoClassDefFoundError - don't know exactly but will loo...

EJB does not deploy properly in Eclipse Galileo and JBoss

Hello, I am using eclipse 3.5 with JBoss inside. There is one project that we are currently working on. The problem is that when I deploy the project it reports an exception: org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(EAR.ear) with a nested exception: java.lang.RuntimeExcept...

How do I reindent all my codes in Eclipse?

In most of the IDEs, I had a Reindent All command. How do I do that in Eclipse 1.2? Edit: The commands work with Java codes but is there a way I can get it to work with Clojure? ...

How to improve the performance of Eclipse IDE under QNX6

We are running Eclipse over QNX6 in a VMWare environment and it's very slow. Eclipse is launched like this: /usr/qnx630/host/qnx6/x86/usr/qde/eclipse/eclipse -data /root//workspace /usr/qnx630/host/qnx6/x86/usr/qde/eclipse/jre/bin/pvm -pri 13 -ts 4 -gs 4 -gcperiod 500 -cs 512000 -nojit -numregs 64 -maxmem 256M -Djava.version -classp...