eclipse

Hyperlinking the eclipse console - delayed writes causing BadLocationException?

I'm writing an eclipse plugin with a hyperlinked console, but I see BadLocationExceptions when creating the hyperlinks. To create the hyperlink, I followed the instructions on the related question How to write a hyperlink to an eclipse console from a plugin. Background: The issue appears to be that the underlying document is updated a...

Eclipse problem: project references itself

I have small project consisting of one maven project and two maven modules. One of the modules is a webapp, and I'm using WTP to run all my web applications. Everything has been fine, until today when when the webapp started refusing to compile, citing: Project 'sdx.client' cannot reference itself If I remove the following line from t...

Blackberry simulator not creating COD file

This is an answer to anyone having problems getting a program to appear in the Blackberry simulator or problems generating a COD file. I have been programming in JAVA using the Eclipse IDE and my program was working fine in the BB simulator. After creating a new package and adding more class files to my project, I noticed that my change...

Where do you put input file in eclipse(java) in order to read it from console command?

Hi, I am writing a java program in eclipse(galileo version). The program reads simple user data from input file specified at console command and process it. But I am not sure where I should place this input file inside eclipse workspace, so that when I run program in eclipse and type in input file name, it can be found and program can...

Setting up Spring and Tomcat in eclipse?

I am having some trouble getting Spring and Tomcat up and running and recognized by eclipse. I have looked around on google with no luck. Specifically, I am having trouble having eclipse recognize tomcat (I am running linux, and when I browse to the relevant jar file in the runtime environments configuration, eclipse wont allow me to s...

Trying to synch Flex Builder/Eclipse project with SVN source tree

Hi, I am trying to link a Flex Builder WTP/Eclipse project with an existing SVN source structure. I'm using subclipse within Eclipse. Below is a mapping of some of the directories: Flex Builder/Eclipse Structure -> SVN Directory Structure -flex_src -> flex/src -flex_libs -> flex/libs -java_src -> java/src -WebContent -> web ** H...

Is there a way to specify $GlobalRev$ in a file using Subclipse for Eclipse

I know how to get the local version number into a file with Eclipse. Right click, Team, set property then svn:keywords Id. But how do you get the $GlobalRev$ to appear? There's something called svnversion which is supposed to do this but is it integrated into Subclipse? ...

Unit testing Android apps and specifically related to db's

What is the easiest way to create some kind of test harness for Android apps and to be able to visualize (even on the emulator) what is going into the db? I want to test things like constraints, look at the data, unit test methods, etc. Is there any kind of GUI tool that I can hook up to the emulator to be able to look at the db of a p...

php: auto indent the whole code?

isnt there any software/plugin to netbeans/eclipse that auto indent the whole code after i've inserted it? not just indent when i press ENTER for new function. i want to paste in a code for example without indents and it will auto indent everything automatically since it can recognize what language is used. should save a lot of time. ...

How to change background of all VIEWS in Eclipse IDE ?

I would like to get a dark look for Eclipse IDE (Aptana). I changed background color of code editors and other colors. But i can't figure out, how to change background color of all views ... In Window -> Prefenreces -> Appearance -> Colors and Fonts i can tweak only few views (Plugin Manager, Script view, file view) but not all. Is there...

How to update an Eclipse installed via Yoxos.

I downloaded and installed Eclipse using Yoxos a few months ago. Since then, several of the plugins I downloaded as part of the install have been updated. In particular, the App Engine sdk has gone through 4 or 5 point releases, and GWT went from 1.7 to 2.0. The yoxos "software updates" tool seems painfully unaware of these updates th...

Java Ajax WebApp - Tips and Pitfalls?

A coworker and I have started tech spec'ing a webapp project we're going to be working on together in our spare time. We've (mostly) settled on using: Eclipse for Java EE, ICEfaces (so that means JSF), Tomcat, Hibernate, MySQL. At work we use: IntelliJ IDEA, Struts, JSP, WebLogic, JDO, and Oracle. The only common solution we'll be using ...

Adding Class files to Google App Engine Wave Bot in Java using Eclipse

Hello, Yeah quite a specific question. I'm making a bot for Google Wave and I'm a bit confused. I have some Java class files of a separate package I want to implement. I put them in the lib directory but they're not found by Wave when its uploaded. Eclipse compiles them fine, as it has the directory, but I guess it doesn't upload it t...

Establishing Eclipse project environment for HadoopDB

I have checked-out a project from SourceForge named HadoopDB. It uses some class in another project named Hive. I have used Eclipse Java build path setting to link source to the Hive project root folder, but classes in the HadooDB project have some error as: The import org.**.**.classname can't be resolved Should I link the Hive root...

Howto connect eclipse tasklist (Mylyn) to google code?

Hi, I'm using Eclipse Galileo. I want to connect the eclipse tasklist to a google code project. I need a connecter to do this. Connectors can be installed via Task Resoitory view -> add TaskRepopsitory -> Install more Connectors. But I can't see that one of the listed connectors will support google code. I searched the web and read abo...

PHP with Netbeans or Eclipse?

I'm not looking for a "religious discussion" here, but I want to know the Pros and Cons of both development environments. I'm on the Mac, btw. ...

JRuby app throws exception in Spring

I am trying to run a JRuby app in Spring. I use Eclipse to run it. But it doesn't compile. Does anybody know what's going on here? Exception in thread "Launcher:/oflaDemo" [INFO] [Launcher:/oflaDemo] org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support...

pydev 1.5.3 not working fine with Easy Eclipse 1.3.1

I installed Pydev 1.5.3 (so that I could get the merged version of Pydev Extensions in core PyDev) in an EasyEclipse 1.3.1 installation. After this, Compare with > Base revision etc. comparison operations stopped working. I had to disable the PyDev 1.5.3 and revert back to the pre-installed Pydev 1.3.13 (part of EasyEclipse 1.3.1). Has...

Importing list of source files into an Eclipse project

We have a topdirectory containing code for lots of different projects. I would like to create an Eclipse CDT-project that contains only the source needed to work on and compile a specific project. I used SlickEdit before, and there I could just import a list of sources and headers. Is it possible to achieve something similar in Eclipse? ...

Edit XML with Eclipse productively

I find XML editor of Eclipse is very unproductive (new child or attribute must be inserted by context menu), and the text editor for XML is lack of hints. Are there any plugins or tricks that can make XML editing in Eclipse productively? ...