eclipse

Matching keyword highlight color in editor

I am using a clone of the wombat Vim color scheme in eclipse for Python development and it works well apart from the matching keyword highlight (whatever that is named), which is ffff96. This pale yellow makes it impossible to read the white foreground text. Anyone know where this is set? Thanks in advance! ...

How to share code between a Java Web app and a normal Java app

Hello I have smallish personal project consisting of the following Eclipse workspace. + +-MyApp // this is just a vanilla Java Application +-MyWebApp // this Dynamic Java Web Application (Tomcat) +-MyCommonStuff // these are common classes // Ex. Database access code & business classes This is all well and good when I...

Error when Updating/Installing software in Eclipse 3.4.2

I am trying to update installed software and install plugins for a fresh install of eclipse 3.4.2. Whenever I try to update/install I get this error: "Unexpected error encountered while preparing for the operation. org.eclipse.core.runtime.AssertionFailedException" Details: "Unexpected error encountered while preparing for the opera...

JSF + RichFaces gives me an HTTP Status 404 in my pages

Hi friends, probably this is a lack of attention issue, if so, forgive me, but I can't see what I'm doing wrong, it took me all the afternoon, I need you help. I'm doing a JSF + JPA + RichFaces app, it's pretty simple. I did the JPA project, tested, then the JSF project, tested, everything is working fine, but then when I pasted the Ric...

How to Format Text in Eclipse with cfeclipse plug-in

How can I reformat the Text(.cfm file) ? I am trying to do CTRL+SHIFT+F which works for java files, But its not working with Coldfusion files. ? Is there anyway I can format the text? ...

How do i find the project of the contents of an ITextViewer?

I'm trying to implement a HyperlinkDetector for an Eclipse plug-in and the callback method is giving me an ITextViewer to work with. How do i get the project, IPath or IFile of the viewer's IDocument? Apparently the concept of an IDocument is to only allow access to the content regardless of the source. All i can come up with is to chec...

eclipse autocompletion from class file?

when i use netbeans and includes a class in a phpfile and then type $class_name-> it will show all functions and properties of that class. how can i do that with eclipse? ...

j2me AWT development

Dear all, I plan to development an embedded application with AWT GUI. How to setup the IDE based on Eclipse? So that the developed applications can run on CDC FP1.0/FP1.1? ...

Using hibernate tools to reverse engineer pojos from Postgres

Hi - I am trying to reverse engineer pojos (using hibernate tools plugin v3.2.4x in eclipse 3.4.2) from a database that I have created in Postgres but my tables are being ignored. It works if I specify 'public' as the value for the 'hibernate.default_schema' property in my hibernate.cfg.xml file but if I try to specify a different schema...

Using custom Makefile with Eclipse/CDT.

I have a project of multiple .c and .h files and i write my own Makefile. How to configure Eclipse to use my Makefile and my source files from their original locations? ...

Xdebug configuration with PHP fastcgi and eclipse?

I have been using eclipse-pdt in conjunction with xdebug and apache without problems, for over one year. Things worked flawlessly and I could do all the interactive debugging I wanted from within eclipse (using my own machine as a server). Now I switched from apache to nginx (and therefore PHP runs now not as an Apache service but as fa...

Build Current Working Set Only in Eclipse

Is it possible to setup Eclipse so that, when I am switched between working sets, only that working set is automatically built and, additionally, the Problems/Tasks/etc views only show information from projects contained in the current working set? I searched around and couldn't find anything (other than setting up these filters manuall...

Mac eclipse xdebug firefox issue

I have worked with eclipse, firefox, and xdebug for months now on a linux-ubuntu machine. recently i moved to a mac 10.6 and set up all these programs and they all work fine until I try to run xdebug using firefox as the default browser in eclipse. It will work, but the browser must be close other wise it will prompt a message saying C...

Maven archetypes not appearing in m2eclipse Nexus indexer

I'm setting up a new workstation for Java development in Eclipse. On my previous machine, I don't recall having to do anything special to see the standard collection of archetypes under 'New > Other > Maven project > select archetype' with Nexus Indexer selected. On this machine, the list of archetypes is empty. I can create archetype-ba...

How do I keep Eclipse from automatically deleting my exe file

I use Eclipse for Java development. There is an *.exe file in a subdirectory of my workspace, which keeps getting deleted. Specifically, one of the projects is dedicated to C++ development using MSVC; there is no Java there. The root of this project has cpp and h files, and I use MSVC to generate the exe under the /bin directory. A...

eclipse: autoindent for xml (particularly build.xml) files?

I really like Eclipse's autoindent feature for .java files, but when I hit Ctrl-I with build.xml open, it just erases the selection. Is there any way to get autoindent for .xml files working in Eclipse? ...

Comment Template variables in Eclipse

I have a comment template in Eclipse (CDT) that I use for function calls which looks like: //**************************************************************************** // // Function: ${enclosing_method} // // Purpose: // // Parameters: // //**************************************************************************** My problem is...

Can I use Eclipse JDT to create new 'working copies' of source files in memory only?

I'm using Eclipse JDT to build a Java refactoring platform, for exploring different refactorings in memory before choosing one and saving it. I can create collections of working copies of the source files, edit them in memory, and commit the changes to disk using the JDT framework. However, I also want to generate new 'working copy' sou...

How to set a breakpoint on a default Java constructor in Eclipse?

In Eclipse, I would like to set a breakpoint on a Java default constructor. I can't simply double click to the left of any line of code since default constructors have no source code - they are implicitly generated by the Java compiler. I'd like to be able to set such a breakpoint without modifying the existing code. ...

Find/replace across workspace in eclipse

I want to replace all instances of Foo.bar() with Foo across all files in my workspace in eclipse. Is there a way of doing this? ...