eclipse

selectionChanged() of IActionDelegate in not getting invoked

I have an action class which I would like to enable depending on the file extension. I have written this logic in the selectionChanged() of the action class. But when I start my eclipse, and click on the file for the context menu, this method is not getting called. And when I click on any action, there after any click on the file invoke...

Eclipse - Is it possible to link to a file from within a Java comment?

Hi, I am looking for a way to link from a comment inside a .java file to another file somewhere in the project folder (like CMD-clicking a Java Type links to the Type declaration). In my case I am working on a (Spring Roo backed) web application, so I have controllers and view files. What I have in mind may look like this (Javadoc-orie...

Tomcat understands amq:broker but Eclipse marks errors in schema

When working with ActiveMQ in Eclipse, you might sometimes get a schema parsing error as such: Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'amq:broker'. However, the project deploys successfully in Tomcat. ...

How to Copy format from remote CVS to local file eclipse ?

Dear All, I am new to eclipse. I checked in java file from remote CVS.then I modify the file then I compare with latest from head. the comparison highlight of the file even parts I didn't change. How to Copy format from remote CVS to local file eclipse ? any ideas ? thanks in advance,,,, ...

eclipse mysteriously creating directory named "./trunk"

Twice in the last couple of weeks I've found a directory in an Eclipse project called "./trunk", which if I expand it in Eclipse contains what looks like a copy of my entire project. If I look at it from Windows Explorer, the directory contains a subdirectory named "ant" and that's it. If I try to deletet this ./trunk directory, I get a ...

How to enable logging when running Tomcat 5.5 under Eclipse 3.5?

hi, I'm running Tomcat 5.5 under Eclipse 3.5. I want to see some access logging because for instance it silently ignores imported style sheets it can't find. I saw a reference somewhere to org.apache.catalina.valves.AccessLogValve so I tried uncommenting that in server.xml but it makes no difference. Nothing extra to the console, nothing...

How do I switch from Android AVD to real hardware on Mac Eclipse-SDK?

I am using Eclipse on Mac with Android SDK. I have the emulator working with my code and today I borrowed an Android that I would like to test on. I have run 'adb devices' from the command line, but I think the problem is more fundamental at the USB hardware detection level. What tools do I use to troubleshoot this? ...

Set up Eclipse C++ compiler without auto-install or altering System Path on Windows

I am trying to install a C++ compiler on Eclipse without altering the Path variables as I can't, the machine has limited rights. Eclipse obviously runs fine, it's the build that doesn't, it complains about. The first thing I noticed was a warning that said "Unresolved inclusion" for the libary file stdio.h I added the path variable in...

nested Composite in MultipageEditorpart doesn't react on mouse listener...

Hi! :-) I have an RCP - Projekt where i add some swt composites to a MultipageEditorpart as pages. I added a mouseListener to the Compositeclass, but when i click on the Editor... nothing happens. What am i doing wrong? ...

Problem in Eclipse 3.5 and ubuntu 9.10

Someone knows why eclipse close when i click any button. This is because when i try to do something, update eclipse or whatever, eclipse close and it gives me this log... # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fc329864f7a, pid=9392, tid=140476827293968 # # JRE version: 6.0_16...

Subclipse (SVN) Compare showing similar files

It seems whenever I compare via the SVN Repository explorer (most recently after a merge) subclipse will show a few files in the compare window that have no differences whatsoever. Double clicking the file brings up the Java Source Compare window, but Subclipse highlights no sections and shows no differences. A manual inspection of the f...

Project has no target set. Edit the project properties to set one

When I import a new existing project into Eclipse, I get the following error message when attempting to execute as an Android project: Project has no target set. Edit the project properties to set one Any help is appreciated. ...

Best ways to manage generated artifacts for web service/xml bindings in a java webapp/client?

I'm working on a couple of web services that use JAXB bindings for the messages (in JAX-WS or spring-ws). When using these bindings there's always some code that is automatically generated from the WSDL to bind the message objects. I'm struggling to figure out the best way I can make this work so that it's easy to work with, hard to brea...

How to open a file in Eclipse AND jump to a specific line?

I can open a file in exclipse, but is there any syntax to jump to a specific line? VI can do this by vi -c LINE filename ...

Compiling Jython for web apps in Eclipse

I have PyDev set up in Eclipse to do Jython web development. Instead of using the Jython interpreter to handle my servlets I prefer to use the Jython compiler instead for a particular project I'm working on. Within Eclipse I use Tomcat to test my web apps. The sort of process that I'm looking for is would be very similar to standard Jav...

Fill @version tag with subversion in Eclipse

Hi , I would like to fill the comment tag @version with Subclipse or Subversion in Eclipse. CVS has done this automatically but Subversion isn't. This would be very helpful. I tried to google "@version" but it seems impossible. Example what CVS did: <?php /* * @author Spankmaster * @version $Id: file.php,v 1.47 2009-09-21 09:28:4...

Tools for querying collections in heap dump

Is it possible to query a collection that is dumped in a heap dump? I can obviously browse that collection using something like Eclipse MAT, but would really love to be able to actually call a getter on the collection object. This would obviously be a lot clearer than going through segments in a ConcurrentHashMap trying to find the mappi...

Benchmarking (gprof) C++ program. Using eclipse environment.

Well I've the following problem. Facts; - Using eclipse - Using MinGW I wanted to benchmark my created C++ program. I searched google and then came; http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html I then wanted to add the "-pg" build command. But how/where do I add it? I went in to the "properties - C/C++ build - Discovery Optio...

How do I reference and export another project when developing a J2EE web app?

I have several J2EE projects using servlets, each of which extends from a base class that handles the main doGet and doPost methods and calls more specific methods on the subclasses. Rather than have that base class as a class in each WAR file, I want to move it to its own JAR that each of the other projects can reference. I'm using Ec...

Creating a search application on Eclipse with GWT and Protege

Hi everyone I would like to create a search application connected to a RDF/OWL database on Eclipse. I would like to use the Google Widget Toolkit plugin for the front end and the Protege plugin for the database side. Do I need some other "essential" tool for creating this application? Thanks in advance ...