eclipse

Eclipse launch error when trying to run an Android app.

I'm trying to set up my workstation for Android development with Eclipse Galileo. I installed the latest ADT plugin and the Android SDK, but I get this error when I try to run any basic Android project I create. eclipse.buildId=M20090917-0800 java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x8...

Undefined variable from import when using wxPython in pydev

I just downloaded wxPython, and was running some of the sample programs from here. However, on every line that uses a variable from wx.*, I get a "Undefined variable from import error" For example, the following program generates five errors on lines 1,4,8, and two on line 5: import wx class MyFrame(wx.Frame): """ We simply derive ...

Eclipse Java JNI, LoadLibrary linking error

Hi, This my second time coding Java and never referencing any external library before. I follow the JNI examples online and I get UnsatisfiedLinkError when trying to load the dll. I thought that I have to create DLL first before trying to load, but all the examples I've looked they don't mention about creating DLL. Most of them stati...

eclipse line color background

In Eclipse, I try to change the background color of my comments in Java code. Is that possible? ...

Liferay development in Eclipse

I've seen that most of the documentation in the Liferay Wiki (concerning Eclipse plugins and the like) refers to Liferay version 4.x. Are there up-to-date resources for developing Liferay portlets with eclipse (3.5)? ...

Using getcwd when running in Eclipse

Hi, When running a project in eclipse the eclipse saves a copy of the .py file inside the workspace defined in project creation. But the file that imported to project can be in other location. If using os.getcwd() and running the script from the command line, the return value would be the real path of the script file, but when running ...

Eclipse: stack or pile for cut & copy & paste?

hi there im just wondering as I couldn't find an answer on google (well, maybe Ive been trying the wrong keywords here >.< )... A thing I've always dreamt about was a stack/pile cut feature which remembers the - uhm, lets say - 10 last things I've cut out or copied for pasting... Is there such a feature and if so, what is it called? fur...

Nested struct viewer for Linux Kernel

I am in the process of tackling the Linux Kernel learning curve and trying to get my head round the information stored in nested struct specifically to resolve a ALSA driver issue. Hence, I am spending a lot of my time in the source code tracing through structures that have pointers to other structures that in turn have pointers to yet ...

setFocus() always false...

I'm working on a Eclipse RCP Application. In a class which extends MultiPageEditorPart, i'm trying to set the focus to a text field. But the setFocus Method always returns false. What am i doing wrong? The MultiPageEditor has various pages and inside these pages, there are Composite - classes. These classes contain the text field. H...

Retrieve a file from within a folder in the workspace

I have a folder within my workspace but outside of 'src' which contains a file that needs to be read in order to setup a new file when using a custom plugin wizard. I cannot get the location of this file correct and keep getting null pointers unless I specify exactly where the file is in the system. My problem is the file is within a pl...

Clickable URL embedded in code

Is there a plugin available for Eclipse that makes URL inside source code clickable? i.e. opens a browser window/tab to the URL. E.g. class SomeClass(object): """ http://www.someurl.com/ """ ...

How can I profile a complete C++ build?

Hi, I'm developing an application in C++ on Windows XP, using Eclipse as my IDE, and a Makefile-based build system (with custom tools to generate the Makefiles). In addition, I'm using LZZ, which allows me to write a single file, which then gets split into a header and an implementation file. I'm using TDM's port of GCC 4. What tools o...

performance of eclipse and zend debugger

Hi, I've recently moved my development from linux to windows 7 with the purchase of a new laptop. I have noticed that there are some problems, with my once working Lucene searches. My Searches are not returning results that they were when running on linux, and there are some issues with other code, which I am working through debugging....

how can I develop Apple Java Extensions on Windows?

When I do multi-platform testing on Windows it gets annoying that Eclipse shows errors in the project because of the com.apple.eawt code that I have in a special Mac customization task. Worse yet, if I export a runnable jar on Windows, it won't run on mac because of the unresolved compilation problems. What's the best way to let Windows ...

Eclipse on Ubuntu: How do I access projects remotely over mounted SFTP connections?

Ubuntu allows you to create and "bookmark" connections to other servers via either Public FTP or SSH. I want to work with projects on a remote server this way. However when I attempt to create a project, I cannot browse to the bookmarked connection; it does not show up in the explorer window. Truth is, I know I've done this in the past,...

JSP pages in Eclipse do not indent?

I've read this article describing how to format jsp's in eclipse. I have WTP installed and the jsp tags are colored. However, there is no indenation on the html (i.e. <html> and <body> etc. are all at the same level). I've tried Source -> Format with no success. Is this a bug? ...

Eclipse: C/C++ Plugin Download Link?

I'm downloaded the Java EE version of Eclipse 3.5.1. Can I now use it to edit C/C++ with the proper plugin? I went to Help >> Install New Software but I don't know which URL to use to get the C/C++ plugin. I can't find it on the Eclipse website either. ...

Eclipse Dstore server

I recently stumbled across Eclipse's Dstore server, couldn't understand what it really does from the articles on the net. Can someone please tell me what is the use of Dstore server? Also, is it possible to develop server side code which could be accessed from client machine through Dstore server, like web requests are served by servlets...

How can i add a toString() function for every class file, automated in Eclipse?

Hi, I'm doing a AS3 project in Eclipse and trace alot of values. I though it would be nice to have a toString() function in every class, at the bottom of each class as the last function, but i dont want to do this by hand for 500+ files. Is there a quick and good way of doing this automated? How would you go about this? Thanks in adv...

Eclipse RCP: Disabled windows Icons in the Toolbar

Hello, I tried to use my own disabled 24*24 icons in a toolbar of an eclipse app. The scaling of the enabled icon is fine, only the disabled icon is scaled to 16*16 standard size. I tried different Images with different sizes but as soon as its larger than 16*16 it is scaled. This problem only occurs, if on a windows machine on an appl...