eclipse

bindings not resolving with AST processing in eclipse

Hi everyone, I'm using the eclipse JDT AST parser to process some Java code and am trying to extract the type bindings for fields and method declarations. The logic for doing that is inside my Visitor class (see below). Unfortunately, I'm not having any luck and none of the bindings are resolving (they are consistently null). The intere...

Can i customize PMD of my eclipse?

We know that PMD is integrated with eclipse. And i want to customize it. say suppose i want all variables to start with small letter or say i want all method name to be more than 8 characters or so on. is it possible to do that? And does anyone know what PMD stands for? ...

JBOSS Eclipse Integration

I am working with Eclipse and JBOSS. I was wondering if there is a way to do hot in-place deployment for a web project, by integrating the JBOSS server with Eclipse. By hot in-place deployment, I mean, I should be able to view the change made to a jsp , by refreshing the page on the browser, not required to go through the routine , buil...

Eclipse IDE : SGML plugin ?

Do you know a plugin for editing SGML files within Eclipse ? ...

Accessing external library (jmf) within jar file

We used an external library, specifically jmf.jar (Java Media Framework), for our java application which relies on images captured from the webcam. However, when we tried to package the application into a jar file, the application runs but once we try to access/open the webcam nothing happens. We are using Eclipse and we used its export...

device not found

I downloaded and installed a fat-jar eclipse plug-in to be able to package my project containing an external library(JMF). But when I run the application, it says "No device found". Does this mean that jmf.jar wasn't included in the new jar file since it can't detect the webcam? Because when I'm running the application in eclipse, there ...

Tool for creating Dynamically Generated Code in Java (In Eclipse)

In Visual Studio land, I used to be able to define a structure in an XSD file and add a special attribute to it which would cause it to be dynamically compiled and available to use with intellisense in the other C# files in the application. I am not sure exactly what the term for this is, perhaps "dynamic code generation." I am trying ...

problem with PHP server in eclipse

I want to run a PHP file as a web page in Eclipse, but every time I try to run it, I get a "404 not found error". I'm using the default PHP Web server in the run configuration. Here's a screenshot of how I got it configured... What am I doing wrong? Thank you ...

Retain Navigator view state when switching working sets in Eclipse

When switching working sets in Eclipse, the tree in the Navigator View collapses. Is there any way to stop that collapse and have the view retain the tree in its open position? ...

Can I access Maven properties as variables in Eclipse?

I have a Maven project that derives the path to a native library using properties which can be set in local profiles. For example: <project> ... <build> ... <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <environmentVariables> <LD_LIBRARY_PATH>${f...

Javac flags and Eclipse settings to process Class.<GenericType>method() invocations.

It happens to see Collections.<Object>asList(...) method invocations in the code, but Eclipse seems do not understand this(with my configuration) and shows this as compilation error. Is my Eclipse configuration wrong? Or this doesn't work with Sun compiler (jdk 1.6.013)? What should I check / enable for thing like this? ...

Resources for extending and enhancing Eclipse CDT C++ Support

Where are good and current resources for anyone hacking on the CDT (C/C++ development toolkit) for Eclipse? In particular, I would like to know more about the internal architecture and structure of the C++ parser, and how the AST, DOM, PDOM, Models, and UI interrelate and interact. My interest is in adding support for extensions to C++ t...

Nooby Android Developer

Hi all, so I just recently (yesterday) started developing on the Android platform. So far I have created a Hello World application as described in their tutorial, but it does not run. When I run it, it waits at the blinky Android screen, then finally moves to the screen where it says Android in a fancy font and its kind of glossy and sil...

What should be committed to the repository in the eclipse workspace?

I have a eclipse installed to work with BIRT reports. What files in the workspace should be committed to the repository and what files should not? ...

Disable Eclipse plugins per workspace

I use Eclipse for different projects, each with its own workspace. They need quite a different set of plugins (SVN vs hg vs git, AppEngine vs Tomcat vs OSGi, and so on), and I have all those plugins installed and active all the time, which clutters the workspace quite a bit. I'd like to selectively disable plugins for each workspace. ...

What are *.snap files in eclipse?

I have so many projects in workspace. for every one or two weeks i have to search for *.snap file delete them. otherwise my eclipse will take lot of time to come up? So curious to know what are they? are they specific to java? as i have lots of java projects in my workspace? ...

Cannot get android project into Eclipse

I have been developing my program on my desktop, and now want to continue to work on my program on my laptop. I copied (via SFTP - using filezilla) the folder of the project (in the workspace) to the workspace on my laptop. When I open eclipse, it did not show up. I am developing for androind 1.5. I have copied over the android SDK f...

Eclipse interaction with Tomcat - cannot undeploy applications

My problem is that if I use Eclipse to deploy my Web Application (via Run As->Run Server), I cannot undeploy it, as within Tomcat Manager the undeploy link against the Application is not highlighted. If I manually put in the URL I get the following Error: FAIL - Context /TomcatBasic is defined in server.xml and may not be undeployed Im...

How would one use IDecorationContext api from Eclipse JFace

Is there an example out there for using IDecorationContext for label decorations? By the looks of it, IDecorationContext class seems to provide some sort of contextual decoration support, but for the life of me, I can not find any sample code using this feature... Has anybody actually used decoration context feature and if so, what use...

Eclipse: choosing a default debugger for all new C projects

Whenever I start a new project, I have to go through setting up the debugger with Eclipse time and time again before I can use it. Isn't there a default setting for all new C projects I can change? ...