eclipse

Adding JAR to eclipse project

I am trying to use JTidy on google app engine. In Eclipse, I add JTidy jar to the build path and add the jar again as the source attachment. When I make a tidy object it shows up as a org.w3c.tidy.Tidy. but when I run my app i get the error java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy. Am I not adding the jar correctly? Does JTi...

Clear command line output from Python [Eclipse]

I'm using Eclipse for writing Python, and I want to be able to easily clear the screen. I've seen this question, and tried (among other things suggested there) the following solution import os def clear(): os.system('cls' if os.name == 'nt' else 'clear') but it doesn't entirely solve my problem. Instead of clearing the screen, th...

"Unable to associated Elastic IP with cluster" in Eclipse Plugin Tutorial

Hi all, I am currently trying to evaluate AWS for my company and was trying to follow the tutorials on the web. http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2241 However I get the below error during startup of the server instance: Unable to associated Elastic IP with cluster: Unable to detect that the Elastic IP...

JVM terminates when launching eclipse with J2SE 6.0 on mac os x (need J2SE 6.0 for Oracle enterprise pack for eclipse)

I know my issue has party been addressed at this link http://stackoverflow.com/questions/245803/jvm-terminates-when-launching-eclipse-mat-on-mac-os-with-j2se-60 but it was a year+ ago.. plus the link that's provided in there http://landonf.bikemonkey.org/static/soylatte/ does not seem to be alive (i mean the download section on that ...

Change TrayIcon Tooltip from ProgressMonitorDialog

Hello, I am using the Eclipse RCP trayitem, which is described in Vogellas tutorials. The requirement now is not only to show the name of the app in the tooltip but also a percentage while doing lengthy operations. I understand that the trayitem attribute is a private from ApplicationWorkbenchWindowAdvisor, so I added a getter and set...

Building Eclipse RCP application, running fails

Hi, after successfully building my application the start fails because it relies on config files which are located in the META-INF directory and after the build this directory is zipped into a jar file, hence making it unable to access the config files. After manually unzipping the jar, deleting the jar and renaming the directory with x...

Which information (files) of an eclipse-workspace should be tracked by source control

I want to track the workspace of eclipse by source control so that important settings can be backed up. However, there are a lot of kind of *.index inside the .metadata folder of workspace. Some information are important, for example Mylyn repository, but some information is merely cached files and thus, doesn't make sense to me for bein...

Can I find out if the java program was launched using java or javaw

This is related to an earlier question by a different user How to detect that code is running inside eclipse IDE I noticed that eclipse always launches programs with javaw rather than java. (This does not imply a program launched with javaw was launched from eclipse). I can find the arguments passed using RuntimeMXBean Runtimemx...

how to install clearcase 7.1.1

I've been googling for a while now, I found some not complete tutorials how to install CC 7.1.1 like this one : https://publib.boulder.ibm.com/infocenter/cchelp/v7r1m0/index.jsp?topic=/com.ibm.rational.clearcase.cc_ms_install.doc/topics/t_install_ccrc_eclipse.htm Which update site do I add in eclipse to install 7.1.1 ? I need this part...

running an android app on the device instead of on the emulator.

hi, I've installed the usb driver, i'm running win7. I can see that the driver is installed in the window->android SDK and AVD manager->installed packages but when i'm writing "adb devices" in the cmd it doesnt show like the phone is connected (it is - it has the orange led on..) I'm using the HTC G1. I also did the "Turn on "USB Debuggi...

Importing Javadoc documentation on Eclipse

I am new to Eclipse, I am using OWL API from Protege and I would like to import to this IDE its Javadoc documentation which is accessible online in html format. How do I do it? ...

Automatic indentation on Eclipse PDT when copy-pasting

This is a simple question : Is there any automatic indentation alignment on Eclipse PDT when you do a copy-paste ? Because it doesn't work on my installation (raw copy-paste), but maybe this is because I use tabs instead of spaces, so I want to know if it will work if I switch to spaces. Thanks ...

Refactoring c / c++ in vim (e.g. method extraction like in eclipse.)

Hi Is there any plugins or built-in method in vim for performing refactoring on c or c++ code, something like the refactoring tools in eclipse? I'm especially keen on the extract method refactoring tool from eclipse that will determine parameters from new method and typically also guess a variable to use as return value. ...

How to add build steps to Eclipse "run configuration"?

Is there a way to add build steps to a "run configuration" in Eclipse? My project uses an applet that should be built before starting the web application. So I'd like to configure Eclipse to do this single step before actually running the application. I know I can do it with Ant/Maven, but I wonder if there's a way to do it in Eclipse....

How do I setup Eclipse to stop on the line an exception occured?

Hi, How can I setup Eclipse to stop at the point an exception occurred. I have an Eclipse breakpoint setup to break on an exception. In the code example below, the problem I'm having is Eclipse tries to open the Integer source code. Is there any way to just have debugger break at the point shown in my code example? If I move down th...

Aptana Studio 2.0: How to checkout SVN Project to SFTP remote dir?

If you're familiar with the excellent Aptana Studio IDE, you know it's based on Eclipse. You also know it comes pre-packaged with SFTP capability. I need to work on a remote server, where I have Apache installed; SFTP is ideal for this. I've installed the Subclipse plugin, and I can access and checkout projects from the Repo. I can crea...

How to disable Eclipse's behavior of maximizing editor when double clicking a tab?

I recently updated my Eclipse (now running 20100218-1602), and I've found whenever I click around quickly between tabs on the tab bar, it will sometimes maximize the editor and hide the PHP Explorer to the left. After researching a little, this appears to be a feature of double clicking a tab. So I guess it's my fault, I'm sure I'm cli...

Why do external Java libraries paths have to be refreshed in eclipse between starts?

For my school projects, I use the joda-time API for generating timestamps that are used for file names and logging. Getting eclipse to recognize the library is no problem. However, when I start eclipse between reboots, I get the red X in the project tree because the external API cannot be found, even though the file path has not change...

Eclipse Intro / Welcome page

Hello, is it possible to have links on the welcome page which point to defined commands and for example, launch an dialog? I am thinking of having a welcome page, pointing out the steps what to do first, like: 1) change language (click here) 2) set up database connection (click here) 3) start working (click here) "click here" should...

How to skip parentheses on Netbeans with enter?

So I have been programming in C++ with Eclipse and have the habit of hitting enter to skip parentheses (anyone who has ever used eclipse probably knows what I am talking about). I have recently started learning Java and decided to use NetBeans, mostly due to the much more simple interface. However, I would like to know if there a way t...