eclipse

How to extend Eclipse's compare context menu?

I want to create a plugin that displays additional information about Eclipse's compare results. For example, clicking a difference in Eclipse will bring up additional meta-information in my new view about who made the change, when it was made, what are the related changes, etc. I've got everything else figured out except how to call the ...

How to design authentication in a thick client, to be fail safe?

Here's a use case: I have a desktop application (built using Eclipse RCP) which on start, pops open a dialog box with 'UserName' and 'Password' fields in it. Once the end user, inputs his UserName and Password, a server is contacted (a spring remote-servlet, with the client side being a spring httpclient: similar to the approaches here...

Using CMake with Eclipse CDT, quickly switch targets?

I'm using the CDT4 - MinGW Makefiles generator. Project->Build All successfully builds the target (a shared library) but it seems I would have to (A) open a project settings page and type in the target, hoping it's spelled right*, or (B) run make from a terminal to "build" the install and package targets. I noticed a promising Project-...

error:Selection is not within a valid module

when i try to run my jsp files in eclipse bundle with glass fish, this error prompt out, what is the problem? ...

Problems related to changing the encoding of a Java file

I need to use a few Cyrillic characters in a Java file and in order for Eclipse to allow me to do so I need to change the encoding for that file (currently to UTF-8). Are there any possible problems that this could cause? ...

Usuage Of Eclipse for BB and Android Development

Hello Guys,I am basically bb programmer and i used NetBeans ,BB JDE for BB development. I am partially switching over to android also.So i want to know how to use Eclipse IDE that should be compatible to Both Blackberry JDE and android SDK. What is IDE' that needs to be downloaded .I downloaded BlackBerry_JDE_PluginFull_1.0.0.67.exe. ...

Get abs path from the currently edited file in Eclipse

I have the same problem as the guy in this post: http://stackoverflow.com/questions/299619/get-the-absolute-path-of-the-currently-edited-file-in-eclipse but I dont understand how to do it. In the post they say that I should use IResource.getRawLocation() but how to I get the IResource from the current file that I am viewing? IFile file...

How do I force MyEclipse to hot-deploy a JavaScript file to my JBoss instance?

I'm having trouble with MyEclipse 7.1.1 hot-deployment of files to my JBoss 4 server. The problem is this: while my server is running, I can make changes to various JAVA and HTML files, which are then hot-deployed immediately (I can see the changes reflected in my browser when I refresh the page). However, while working on a particular ...

Building error in Eclipse with build.xml

I am working on a Java project with Eclipse. This project requires a second project (not mine), named sams in its build-path. The sams is provided with a build.xml file and it should generate some code using Apache CXF when building it. When I use Apache ANT on Eclipse and run the cxf.generated command from its build file I get the follo...

How to Get JSF 2.0 Working with Eclipse 3.5 and JBoss 5.1

I am running Eclipse 3.5 and JBoss 5.1. I want to create a JSF 2.0 project. I heard here that the Eclipse JBoss Tools plugin version 3.1 (available here) could do this for me. I have installed the plugin. However, if I go to the Project Facets properties page for a Dynamic Web Project, I only see Facets for JavaServer Faces 1.1 and 1...

Do Eclipse's Refactoring Tools Violate The Java Language Specification?

In Eclipse 3.5, say I have a package structure like this: tom.package1 tom.package1.packageA tom.package1.packageB if I right click on an the tom.package1 package and go to Refactor->Rename, an option "Rename subpackages" appears as a checkbox. If I select it, and then rename tom.package1 to tom.red my package structure ends up li...

NoClassDefFoundError for a packaged class

I'm trying to run a jar file that uses the YouTube Data API and I'm getting a NoClassDefFoundError for one of the API classes: AuthenticationException.class is found in the gdata-core-1.0 jar: The gdata-core-1.0 jar has been added to my classpath: What am I doing wrong? ...

How to see full compile path in Eclipse?

I have looked for an answer for this nearly every where that I can think of, but there doesn't seem to be any way to actually SEE what Eclipse "runs" to compile the projects (as it does need the JDK installed and visible to actually build). I ask because I imported a few jars into my project, and even though I've looked through all the j...

Running external tools in Eclipse on Mac OS X

I'm using Flash Builder 4 on a mac. I've created a JSFL file for building a few fla's and then testing my main SWF file. I'm trying to run this JSFL file as an external tool from Flash Builder 4 but when I select Adobe Flash CS4.app as the file to run the JSFL Eclipse warns "External tool location specified is not a file." I have Parall...

eclipse and tomcat

Hi! I am trying to integrate eclipse with tomcat. My system is Debian Lenny and I have installed tomcat from http://tomcat.apache.org/. My problem is that when launching Tomcat from within eclipse I get the following error: SEVERE: StandardServer.await: create[8005]: java.net.SocketException: Invalid argument at java.net.PlainSock...

Jython project in Eclipse can't find the xml module, but works in an identical project

I have two projects in Eclipse with Java and Python code, using Jython. Also I'm using PyDev. One project can import and use the xml module just fine, and the other gives the error ImportError: No module named xml. As far as I can tell, all the project properties are set identically. The working project was created from scratch and the o...

django development mode runserver --noreload hits 100 percent cpu usage

i have setup on pydev eclipse everytime i run runserver --noreload my cpu usage hits to 100 percent on core 2 duo laptop .. pretty much this guy had the same problem http://stackoverflow.com/questions/1750676/django-development-server-cpu-intensive-how-to-analyse i tried on a quad core machine it gets to 30 percent cpu usage too. ...

HTML, Javascript, PHP and Actionscript all in one Eclipse install (2010)

I just wanted to poll the community and see which plugins people are currently using to get all of these different technologies running in Eclipse. I saw this thread which mentioned Spket & WPT: http://stackoverflow.com/questions/1575617/eclipse-which-plugins-for-html-javascript But I noticed that Spket doesn't seem to have been updated...

Is it possible to debug PL/Java (ideally from Eclipse) ?

Although I found PL/Java a powerful add-on for PostgreSQL, I couldn't find a way of remotely debug the clases loaded on the PSQL DBMS. Is this possible to achieve? Thanks in advance! ...

Place Eclipse Project File in Separate Directory

I'm using a default Eclipse project file generated for my Android application, and I want to keep it in a targets/ directory (along with other eclipse-specific files) in order to better organize my project structure (I also plan on adding a target for NetBeans). Simple question, I suppose: Is this possible? ...