eclipse

Eclipse PDT and Hg (Mercurial)

We'd like to switch up from SVN to Git or Mercurial at work, and Mercurial we would like to investigate first. I have installed Hg on my Windows machine and got the Eclipse plugin, but I don't get a perspective like I do for SVN inside of Eclipse PDT. Does this not exist, or do I have the wrong flavor of Eclipse? I would like to see m...

How to exclude a folder that is producing warnings/errors in an Eclipse project?

Okay. I'm sick of this problem. This has to have an easy fix, I'm sure of it!! I hope SO can help me to get rid of this once and for all! Question How do we get Eclipse to stop trying to process/compile all files under a particular project directory? The goal is for no errors/warnings to exist in the problems view if t...

Finding source line on exception (Android, Eclipse)

When the Eclipse debugger stops due to an exception in my Android project, I can see the exception message in the variables window (e.g., "null pointer"), but how can I find out what Java code line my app was at when the exception occurred? I can see a stack trace in the LH window, but selecting any of them doesn't seem to reveal anythi...

Eclipse FileInputStream with local development and remote file

I'm developing a java web app on my local PC that uses a file on the deployment server. I have to do something like this to get it to work both locally during development and on the server when deployed. Is this standard practice? Or is there a way in Eclipse using linked folders and files to specify the file the same as it is refere...

How to pause python execution in eclipse and return to an interactive prompt

I am using Eclipse as a Python IDE. Is there anyway for me to Debug my program and break to an interactive prompt. I am interested in exploring the existing data and running/testing commands. I believe there has to be a way, but I am so used to compiling languages that I have not been able to find where the options are. Any ideas? ...

BEA Workshop keeps terminating with jvm exit code=1

Help!!! I have been tormented with this for months. I keep getting abruptly terminated when debugging or developing on BEA workshop which is an extension of eclipes. Here is the content of my ini file: -vm C:/bea/jrockit_150_11/bin/javaw.exe -vmargs -Xms1024m -Xmx1024m -XX:MaxPermSize=512m -Dweblogic.home=C:/bea/wlserver_10.0 -Dosgi.in...

unable to open .phtml .php .tpl files in eclipse PDT

Hello, I am using ecplise PDT and everything was working fine.But suddenly my .phtml , .tpl are not being supported.I mean my PHP files are opening as normal plain text..not getting code highlighting. I also checked my PHP content file type and it says it is locked. Help me !! ...

connect to other bluetooth device in j2me for blackberry

Can anyone please point me in right direction? I am unable to find suitable or simple tutorial to write a program to connect to two bluetooth enabled already paired blackberry devices. This is new to me. So, finding it hard to understand. I do not want to use any RIM specific API's which require signing the application. I just need to ...

How can I make Eclipse work with `perlbrew`?

I'm using perlbrew to switch between perl versions. I also use Eclipse to write perl scripts. It seems that Eclipse does not recognize the switches between perl versions, and keeps working with the base version installed out of perlbrew. I tried restarting Eclipse but this doen't help. So, How can I make Eclipse work with perlbrew? ...

Possible bug in Eclipse DDMS emulator control?

I've just upgraded to Eclipse 3.6. I saved Eclipse 3.5 and made a copy of the original workspace. I now notice an error in my GPS/mapping application which worked fine in 3.5, when I send a location from the DDMS perspective using the emulator control tab. I have a standard listener: onLocationChanged(Location location){...} If I brea...

The Author column in the CVS history disappeared from Eclipse

It happened since yesterday that the Author column in the CVS history disappeared in my Eclipse IDE. I have gone through all the menus in Eclipse and all kinds of Google search but couldn't figured out how to add it back. Does anyone have a clue on it? I am using the latest Eclipse (Helios) on 64-bit Windows 7. I used the following ste...

Eclipse Debugging Method Calls

I have two versions of a project that are intended to accomplish the same effect. One is an older implementation, while the second is an updated, modified, and (hopefully) enhanced version. The issue is that they are not giving identical outputs. Is there an option to have Eclipse print out a list of everything a program is doing such th...

Is it possible to use SVN and CVS simultaneously with Eclipse

I've been using Tourtist-SVN locally on a project for version control of my code. I develop with Eclipse and will often import shared code using it's built in CVS module. Soon I will be be moving my local SVN repository to another server in order to work with other developers. I'm wondering if it's possible in Eclipse to continue ...

Tomcat reporting IncompatibleClassChangeError - classpath problem?

I'm trying to deploy an application to Tomcat 7 on a Windows server. I have a local copy set up and have tested with Eclipse without any trouble, but on the production server I get IncompatibleClassChangeError messages. This had been a problem on the local server when there were problems with the classpath, but I configured the correct...

Get a file location in Eclipse Plugin

I am writing an Eclipse plugin where I want to read a file within the project and do something on it. For example the file is located under : Project testplugin and path : com/flow/FlowMain.java I want to programmatically read this file and add some code in it. What I trying is : String base = Platform.getBundle(config.getPluginId())...

How to LOG with DataNucleus 2.x inside Eclipse

I have DN 2.x on Eclipse RCP (currently Helios). I'm having trouble Turning the DN LOG on. I use log4j.properties, where i define all the DataNucleus Categories LOG levels. It LOGS fine with the "external" enhancer (i just pass the argument on the "VM Arguments" of the RUN configurations -Dlog4j.configuration=file:"...\log4j.propertie...

Why won't Eclipse recognize $PERL5LIB?

I followed BioPerl manual: I cloned a fresh copy of bioperl-live under ~/src then added the following line to my ~/.profile (I'm using Ubuntu): export PERL5LIB="$HOME/src/bioperl-live:$PERL5LIB" However,BioPerl modules are not recognized in Eclipse, e.g.: Can't locate Bio/Tools/GFF.pm in @INC (@INC contains: /home/dave/workspace/.m...

How can I get intellisense in PHP/Eclipse on custom objects pulled out of array in foreach loop?

I have a collection of custom objects (Podcast) in an array. When I use a foreach loop to iterate through this collection, I don't have code completion on the variable that contains the object pulled out of the collection (as I would in C#/VisualStudio for instance). Is there a way to give PHP a type hint so that Eclipse knows the type...

Editor does not contain main type in Eclipse

I got this message when running my project in Eclipse, and I am sure that I have a main in my project. I tried cleaning, closing and re-opening it, but nothing works. Can anyone help me please? ...

How to get Xlib code work in eclipse for C++ ubuntu

I have some code with the following headers for Xlib but don't know what to do to make it work...I can't find these headers. #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xos.h> #include <X11/Xatom.h> Sorry new to this.. Okay so now I can view the headers in the foldrrs in my eclipse IDE. and i get the following errors.Th...