eclipse

How can I use Sun's JAI-ImageIO with an Eclipse BIRT plugin?

I'm trying to write an extension (plug-in) for Eclipse BIRT reporting. It involves extracting images from a file according to database entries and displaying them. I am using Sun's JAI-ImageIO to access TIFF file data and convert to PNG for display within the report. My code complies, but throws a NoClassDefFound runtime exception: SEV...

Can't checkout project branch into main CVS Eclipse project

In my current development environment, I have a "main" project in Eclipse that maps to a CVS repository. Within this main project, we might have branched projects, but they're not "projects" in terms of Eclipse, as they still reside within the main Eclipse project I'm developing. About a month ago, we switched CVS servers. Now, I can't ...

Eclipse-like features in Visual Studio

Eclipse-like features in Visual Studio I really like the feature where you can double click (select) a variable and it is highlighted through out the page (Can see all the instances of it). How can I get this feature in visual studio (2005 or 2008 or other)? Is there an option or plug-in to turn this on? I am sure there are features in...

Eclipse and curly braces

Is there a quick way to make Eclipse put curly brace on the next line (by itself) on a block of code? ...

Why does m2eclipse exclude resources from Eclipse build path?

I am trying out m2eclipse, the Eclipse plugin for Maven, and have noticed that the resources are now excluded from the build path of all my projects. I have seen a question on the M2Eclipse FAQ page which seems to deal with this exact question, but the answer (paraphrased) seems to say that this is intentional to allow resource filterin...

Red5 application profiling (Eclipse)

I'm using Red5Plugin for Eclipse to develop Red5 applications. This plugin creates a predefined server environment to run and debug Red5 applications from Eclipse with "a single click". Run and debug work fine. I also have Test & Performance Tools Platform installed. But when I choose the server instance in Server tab, Profile option i...

How to filter ressources during build in Eclipse project?

I have an application that uses several configuration files (let just consider appli.properties here). These files contain several values that depend on the environment. We can find some information such as: server.port=${envi.server.port} On other side, I have a set of properties files, one per environment (dev.properties, homolo.pro...

SVN Merge conflict during commit

Eclipse + Subversive plugin On commiting a directory which is out of sync with the SVN a message pops up: Merge conflict during commit svn: Commit failed (details follow): svn: File or directory '.' is out of date; try updating svn: resource out of date; try updating Tried to update the whole project from Eclipse Navigator view (righ...

How do I get Aptana to recognize .jspf files?

How do I get Aptana to recognize .jspf files? I'd like to have syntax highlighting for .jspf files. I'm sure there's a preference/config option or an xml file to edit, but I'm not finding it. I assume it's similar to the eclipse process, so I'm tagging eclipse, too. If it's not, I'll remove the tag. ...

How to solve problem with out of synchronization of J2EE module dependency in Eclipse?

I have two projects : my-lib and my-web. my-lib is built using the Java compiler of Eclipse, and a short Ant task is run on some properties files, which are then modified (as explained here). This is not a pretty solution, but it works. Now, as my-web is dependent of my-lib, I define my-lib as a Java EE Module Dependency of my-web. How...

autogenerating ant files from template in eclipse

Every time I start a new Java project, I find I keep copying my build.xml file from the previous Java project. Is there a way in Eclipse I can just set up a template file, and have it substitute in project specific info (name & directory) ? ...

How can I get multiEditor rather than IEditor ?

Is there a way to get multiEditor rather than just getting IEditor? IEditorPart editor= getSite().getPage().getActiveEditor() to MultiPageEditorPart editor=?? ...

Spring Annotation-based controllers not working if it is inside jar file

Hi, I've some annotation-based controller inside a sub module. These modules are deployed as jar files. The annotation-based controllers from the jar file is not getting loaded to the spring configuration. I'm manually exporting the jar file using the export utility in eclipse. Did any one faced this problem? ...

Does Google App Engine Java support Hot Deployment in Eclipse?

It doesn't seem to do this by default, which is pretty shocking to me given all the other stuff they've set up to make development easy. Is there a way to enable this? If not, anybody know why it isn't supported? ...

Java UnsatisfiedLinkError when mixing AWT and SWT?

I'm an Eclipse newbie and I'm trying to build a mixed AWT/SWT application. Here's my code: public class HelloWorldSWT { public static void main(String[] args) { Frame frame = new Frame("My AWT Frame"); // java.awt.Frame frame.setLayout( new BorderLayout() ); Canvas canvas = new Canvas(); // java.awt.Canvas ...

{@inheritDoc} not inheriting superclass javadoc in Eclipse

When I use {@inheritDoc} in Eclipse, the superclass's javadoc comments are not appearing in my class's javadoc. I have the following piece of code: import javax.swing.table.AbstractTableModel; public class TestTableModel extends AbstractTableModel { /** * {@inheritDoc} */ @Override public int getRowCount() { return 1; } @Override...

linking boost.asio

Hello, I have a problem linking boost.asio. It uses boost.system and the linker errors start with: /boost_1_39_0/boost/system/error_code.hpp:205: undefined reference to `boost::system::get_system_category()' which means I need to link boost.system. I already built boost and I have now several lib files. boost_system-mgw32-d-1_39.dll...

Where to store "global" data in Eclipse RCP Application?

I'm a beginner with Eclipse RCP and I'm trying to build an application for myself to give it a go. I'm confused about how one actually goes about handling model objects. None of the examples I can find deal with the problem I'm having, so I suspect I'm going about it the wrong way. Say I need to initialise the application with a class t...

Turn off selected HTML errors in eclipse

I recently upgraded my Eclipse to Ganymede, version 3.4.2. Now it's giving me a ton of errors on the HTML in my JSPs for things like parameter values with no quotes and missing end tags. These pages work fine because the cases where I leave these things out are cases where they're optional. We can argue about whether I should include th...

Eclipse PDT installation

I have a project that's intended to use some PHP as well as Java and Javascript, so I installed the PDT PHP plug-in for Eclipse, using the Install New Software menu option. Now Eclipse agrees PDT is installed, but no PHP features like creating or editing PHP files are appearing anywhere. Is there something else I need to do to activate P...