eclipse

Setting Python Interpreter in Eclipse (Mac)

How do I direct Eclipse to the Python interpreter on my Mac? I've looked in Library which contains the directory 'Python' then '2.3' and '2.5', however they contain nothing except 'Site-packages' - Which is weird considering I can go into the terminal and type python. I then installed the latest 2.6 version with package manager and stil...

eclipse magic: ... are only available if source level is 1.5, yesterday everything was working just fine

so yesterday i made a project in eclipse, and it was working, compiling, i used Eclipse Galileo for jee; now today i open eclipse and see lots of errors saying that stuff is not available and that it is only available if source level is 1.5 ...

Eclipse - Mac Os Default JRE missing

The list of installed JRE's is empty, when I click "add" the only options I'm given are - Execution Environment Description, Standard 1.1.x VM, Standard VM. There's no option for a MacOS Default JRE and choosing standard VM results in the usual "Standard VM not supported on MacOS". Eclipse Galileo, Mac OS X 10.5.8. Any suggestions muc...

How do you commit ONLY files you've "added" to version control in subclipse?

I just spent a fair amount of time selecting the files and directories I wanted under version control. I'm running subclipse under eclipse. I right clicked, Team, Add to Version Control. Now I want ONLY those files committed without right clicking the whole directory which contains a huge number of media files that I don't want handled b...

where is the eclipse desktop framework

i'm new for java how can i add a button or others like Microsoft visual studio? ...

how can install swing/matisse on eclipse?

i tried this link: http://downloads.myeclipseide.com/downloads/products/eworkbench/discovery-6.0/ but i'm fail how is this? ...

Google Eclipse Plugin - Work with Python

Does the Google Eclipse Plugin work at all with Pydev or is it only useful if I am developing in Java? ...

Emulator problem in Android

When I launch the emulator I face many problems (Errors):- HttpConnectionApp]emulator-5554 disconnected! Cancelling 'net.paxcel.http.HttpConnectionApp activity launch'! Emulator]emulator: ERROR: the user data image is used by another emulator. aborting Each time I have to re-run it but all in vain. How can I improve this so that I c...

Subclipse - Checkout SVN repository into a non-root folder

Is there any way to make subclipse checkout a repository into a non-root folder of a project. In particular, I want to checkout into folder src/wavedev rather than just to the project root. ...

ant common targets are not recognized by eclipse

Hi All, I have added all common targets like (init,clean,getivy etc) in ./common/common.xml and added import file="${basedir}/common/common.xml" in build.xml. When i build the project, its working fine.But, When i open build.xml in eclipse IDE , i see some "Red" marks underneath "targets" which has a dependency targets that are defined...

Eclipse (Pulsar) packaging: How do I incorporate other projects into my jar?

I have a JavaME project in Eclipse (Pulsar 3.5; Galileo). I have another project with common code in it in the same workspace and this is referenced from my app. When I choose 'package app' it generates a jad/jar in the project's deployed folder, but the classes from the referenced project are not included. Is it possible to include t...

How do I go about creating a compiler/editor in Eclipse?

My question is somewhat specific, but the answer I need is general: (turned out very wordy, so boldened the important bit) I have to use a light-weight proprietary language to code in at work, which only has a basic text editor with syntax highlights. Because I need to do a lot of testing, I want to create an Eclipse plug-in for the l...

Eclipse setting for generating getters and setters insertion point last member

It really annoys me already now... I can not find the setting to have by default insertion point at last member. Why? Generating getters and setters would then be: ALT+SHIFT+S -> space, space, space... -> ENTER :) And not like now: ALT+SHIFT+S -> space, space, space... -> tab, tab, tab, tab, tab, -> up, up, up... -> ENTER ...

Reading XML file prepared for JAR when testing application in Eclipse

I'm writing a small app with the help of Eclipse while learning Swing GUIs in Java. I'm also taking my first baby steps in Ant build scripting and have come across a small problem. I'm parsing an XML file to create objects to store in a List. I've assigned the Ant build script to include the XML file in the Jar package by adding this to...

Eclipse: code completion based on snippets

I would like to accomplish two tasks at once. First, to move my snippets of code from .txt files and be able to tag them/organize better. Second, assign shortcuts to those snippets that will allow me to type "p" + TAB which will render assigned snippet (I don't care of cursor position etc) ...

Why is the current version of Eclipse called Galileo?

It's silly, but I've been wondering about this for some time. Eclipse 3.2 was Callisto, 3.3 was Europa, and 3.4 was Ganymede, so why wasn't 3.5 Io instead of Galileo? Was it the risk of being confused with I/O? On a related note, it looks like 3.6 will be called Helios. How did we wind up there instead of moving to, say, moons of Satu...

Eclipse (PDT) annoyingly locks .phtml files to PHP Content Type

Hello, I am getting frustrated with PDT. I want the .phtml files to be opened as HTML BUT .phtml is "locked" to PHP Content Type and there is no way to unlock it! Opening the .phtml files in HTML would make more sense (for Zend Framework users) because .phtml contain more HTML and some Javascript than PHP code. The question is, wtf wo...

How to debug a servlet in eclipse without having to deploy it

This is not a programming question but is only relevant to programmers, so I think it is appropriate. How do you go about debugging a program a servlet in Eclipse. Can I somehow use my JSP's to create "simulated" request objects and have the servlets try to handle them, from Eclipse with our without some plugin. This would be ideal if I...

Weird Time Issue in Python

Problem with using times in Python. Terminal > Python >>> calendar.timegm(datetime.datetime.now().utctimetuple()) 1258449380 This time indicates GMT: Tue, 17 Nov 2009 09:16:20 GMT Eclipse via Django Server >>> calendar.timegm(datetime.datetime.now().utctimetuple()) 1258427784 This time indicates GMT: Tue, 17 Nov 2009 03:16:24 GMT...

Eclipse: How to set the main method for a project?

In Eclipse, when you create a new class, you can select the option "Which methods stubs would like to create:" and you can choose " public static void main(String args[])". I have created a class with a main method, but I haven't checked that option and I receive this error: "selection does not contain a main type in eclipse". How can ...