eclipse

Eclipse keybinding for opening the current class in the package explorer

I have recently moved from Eclipse 3.4 to 3.5. In 3.4 I had a key binding that allowed me to open the currently open class in the package explorer. So for example, I would hit alt-F1 and the class in the editor would be shown in the package explorer pane. I know I can click the "Link with Editor" button (looks like a left and right ar...

connection time zone issue with jOra eclipse plugin

I started using the jOra eclipse plugin. The plugin seems pretty robust and I'm hoping to stop using SQLDeveloper for 95% of my database needs. Many of our tables have columns of type TIMESTAMP with LOCAL TIME ZONE. I can connect to the oracle DB using a jdbc string and the plugin seems to function very well. However, when I try to...

Remote deploy Tomcat webapp from Eclipse

For development and testing purposes I'd like to deploy my webapp from within eclipse to a remote tomcat server. Is this possible ? If not, how should I set up my development environment for smooth and easy remote deployment ? ...

Eclipse failed to response under Fedora 12

i tried fedora12 yesterday, but i find eclipse doesn't work. at first i thought this problem is related to SELinux, but after i turn off selinux, i still can't create a project, i press the "next" or "finish" button, there is no response. well the "cancel" button works. there is no error popup, or error logs. i tried eclipse -debug -co...

How to handle property sheet from customized editor in eclipse plugin development ?

I have to bind my editor widget objects in property sheet.So that i can the property of my widget from property view. Please help me on this, if possible provide me some code snippets. ...

Recommended way to develop using Jetty and Eclipse

Hi, I am currently developing a J2EE application and I would like to use Jetty. I would like to have iot integrated with Eclipse, so I could debug the appliaction. I've tried out couple of plugins (including WTP) but nothing works well enough. Run Jetty Run plugin is the best, but I cannot specify context-root in it, which makes it un...

Flex + PHP: Flash Builder 4 vs. Eclipse

I'm getting started with Flex and initially installed the Adobe environment (Flex Builder 3) and later found out that they're starting to call it Flash Builder 4. Anyway since I'm very new to this technology and I have to leave Flex Builder 3 anyway, I'm trying to find out if there are any advantages to developing with Adobe's Flash Bu...

what libraries do i need to run this keygenerator class

which libraries do i need to import for this class KeyGenerator kgen = KeyGenerator.getInstance("AES"); kgen.init(128); if you dont want to spoon feed me atleast tell me how can i find out about the libraries myself. i use eclipse ...

Functional depedency analysis

Developers who have used eclipse cannot miss out the Cntrl+Shift+G combo - the easiest way to find all references to a particular member/method/class in your workspace. Consider a scenario where you are a new guy maintaining a web application written in java. Now, you are about to change a method signature, and you do a Cntl+Shift+G to ...

what is this error on open declaration ?

KeyGenerator kgen = KeyGenerator.getInstance("AES"); kgen.init(128); // 192 and 256 bits may not be available in eclipse when i select KeyGenerator and right click open declaration i get this window opened click here to see error image can you explain whats wrong here ? btw here is the complete code package org.temp2.cod1; ...

Eclipse all jobs listener

I'm trying to develop a plugin that will do some work when any kind of eclipse job is scheduled. Basically I want to be able to know when a job is in the progress dialog and monitor it. Is there a listener that can be set up to catch the begging and end of such jobs? ...

What PHP editor should I use ?

What PHP editor should I use? I now have NetBeans 6.8 (the PHP version) but it´s always freezing for a long time. I previously used version 6.7.1, but the auto scan feature rendered the editor useless for too long, like 10 min on each restart. I used Eclipse as well but had the same experience as in Netbeans. Always freezing for a lon...

File or directory not found in eclipse c++ project in linux even after including all the paths. Why?

I have the source code of a project that has been done in C++ eclipse in linux platform and i want to change a small value in one of the port related things. So I tried to build it in eclipse in fedora by File -> New ->Standard Make C++ Project. So many inclusion errors came and I got rid of it by doing Project -> Properties -> C/C++ Inc...

Eclipse project folder

I have the eclipse setup working pretty well for the java files in my code. But now I want to integrated the JS files also, leaving other XSLs/CSS files. Can I do that? One is adding all the folders and then manually delete the unwanted ones, but Is there some clean way of doing that? -Prtcl ...

Is there a Java program snippet which can compile at Java level 5 but not level 6?

I want to have a source file which can compile with javac / ecj set to Java 5 but not Java 6 (even if the underlying Java runtime is Java 6). This is to be certain that the compiler level is set correctly in Eclipse 3.5 running with Java 6 installed, but where the result needs to run on a Java 5 installation. For java 1.4 I could use "...

Code generation for composition using Eclipse

Effective Java, along with other sources suggest that we should consider using composition over inheritance. I have often found my self achieving such composition by using the Decorator pattern and implementing forwarding methods that delegate invocations to a wrapped object. However, I often find myself writing many simple forwarding ...

JSF action, value and binding catalog generator

I am looking for a simple tool that generates a catalog of all used action methods, values and bindings. I'm working on a big JSF/RichFaces project and I have lost the overview of the used links to the beans. Therefore I need a tool (would be nice if it is a Eclipse plugin) that generates a simple list of all used EL expressions. Is the...

Subclipse can't rename file (OS X)

I can't perform any Subversion operations on my Eclipse project as Subclipse can't rename a file. The error is: Caused by: org.tigris.subversion.javahl.ClientException: svn: Cannot rename file '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/tmp/entries' to '/Users/damianharvey/Sites/Od...

What is the most useable VI/VIM plugin for eclipse?

I used to be a huge fan of Intelli-J and there is a fantastic VI plugin for Idea. Now I'm shifting to the Spring Source Tool Suite for my primary IDE and need to find a VI plugin that will allow me to work just as effectively. What plugin are people using? ...

Eclipse Failing to build classes

Hi, Eclipse has red cross for error on the project but there are no more red crosses on any files or anything in the project. On running "build Project" there are no .class files created. There does not seem to be any entries in the log file in workspace/.metadata. In fact, I deleted the log file and a new one has not been created. ...