eclipse

Can Eclipse not hard-code ECLIPSE_HOME when exporting build.xml?

I have an Eclipse project that I'm attempting to set up to build both with Eclipse and externally with Ant. It seems like a good way to do this is to have Eclipse generate a build.xml file that I can then use with ant. I'd like to set it up so the build.xml can be regenerated from Eclipse whenever the need arises, which means no hand-e...

Howto enable Quick diff with plus and minus in Eclipse?

Hi, i had a eclipse workspace. I used Galileo and Subclipse. I got the workspace from a associate. The following function was enabled: There were signs shown to indicate differences to the svn state of the document, directly right beside the line numbers. If I added a line a "+" were shown. If I deleted a line a "-" were shown and a "~...

Documentation generation for a java project: should I use doxygen?

I've a java project which needs some documentation, is Doxygen the only way to go ? I would like to document the code but also the architecture, the Makefiles, in 3 words, the whole project. Maybe I should orient myself to eclipsewiki or something like that. Any help would be appreciated. ...

Does an Eclipse CVS merge appear in the log view of a file?

Hi, all. I'm not new to the Branch/Merge idea, but I'm new to CVS. I have a sample file that I have brached off of the main trunk, and have made non-conflicting edits to both the branch and the main. When I go to Merge, however, the process leaves me with all of my changes in a file representing the latest revision of the Main trunk. ...

Is there a way to collapse all code blocks in Eclipse?

Eclipse has that "+/-" on the left to expand and collapse blocks of code. I've got tens of thousands of lines to go through and would really like to just collapse everything, and selectively expand blocks to look at them. Thanks! ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> Project1, Project2 i.e Project1 and Project2 should be in folder Project in Workspace folder. How to do this in eclipse? ...

GWT+hibernate for highly interactive web application?

As a Java developer new to the web development environment, I was quite excited to find Grail which provides a great framework especially the convenience of abstracting DB operations with ORM. I later learned that it is actually the function of hibernate. At the same time I am delighted to learn about GWT. It is a god send for the projec...

How to start the java console when launching an application from Eclipse?

When I start a java application, the Java Console is started. But when I start a java application from Eclipse, the Java Console does not start on its own. How can I make it start also when I run an application from Eclipse? ...

Code Review Tool for Eclipse + Teamprise + TFS

We write Java code, work with Eclipse but use TFS (through Teamprise) as a repository since vast majority of our company is .NET-based. Do you have an idea whether there is a tool supporting code review which works with both TFS as a repository and Eclipse as an IDE and isn't crappy at the same time? Open source preferred, but any idea ...

Adding jar from eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the add button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to more than one plugin project where should I store the .jar files. ...

How do I enable all EPIC projects to use Perl's @INC?

I have a set of intra-dependent Perl projects and would like to use EPIC to work on them. I created one Epic (Eclipse) project for each of my projects and I set dependencies among them using Project|Properties|Project References function. For each project I also set Perl Include Path (@INC) in Project|Properties|Perl Include Path adding ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with PyDev. ...

Eclipse smart quotes - like in Textmate

Hey all, Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I'm a newbie here so be gentle. FWIW - I'm using pydev in Eclipse. Thanks Rephrase What I am looking for is given I have a word or phrase selected on...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable's value. Instead, hover behaves as if I were in normal Java perspective: I've tried cleaning the project, re-importing it, etc., all to no avail. Anything I'm missing here? ...

In Eclipse, why doesn't "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source file, that option doesn't appear. Is there any way to get it to appear, or any similar functionality that will let me jump immediately to th...

eclipse: how to debug a Java program as a .jar file?

I use ant for creating .jar files in Eclipse. Works great. I have a .jar file I am working on that expects the code to be in a .jar file (it looks for .properties files in the same directory as the .jar file) -- the standard Eclipse "Run" and "Debug" menus execute the main() method of a specified Java class... but they do it from the di...

Developing Eclipse plugins without Java

Is it possible to create Eclipse plugins/program Eclipse RCP apps without Java? (preferably in Jython) ...

TableViewer, defining an initial sorting order has no effect on data

Hi, pratically I build up a tableviewer as usual, but initially it does not sort all the rows according the column defined for sorting. The code I am using: viewer.getTable().setSortColumn(viewer.getTable().getColumn(4)); viewer.getTable().setSortDirection(SWT.UP); Only after clicking manually the column #4 I obtain the correct order...

IDE that provides design view for JSPs using JSF

NetBeans used to do that but with the deprecation of Woodstock (rather merging with ICEFaces) and with ICEFaces not supporting Visual Web Project it is difficult to choose NetBeans now [1]. Eclipse (the J2EE version) has a very basic version that provides drag and drop etc. of JSF controls. So, I wanted to know which free IDEs (if any!...

eclipse with php and C/C++

hi there I'm into the learning stage of C and PHP. Until now I was using MS Visual Studio IDE for C/C++ applications and Notepad++ for PHP application. Now I'm thinking to use same IDE for those languages and Eclipse seems to support both of them. My questions are: - Do you think is good to forgot about using MS Visual Studio for Ecl...