eclipse

Eclipse pydev bugs?

I don't know if you guys are having the same problem, but when I'm trying to use """ and """ for multi-lines comments in eclipse pydev, it sometimes does not work. Anybody can suggest me some better IDE? Sorry. I will try to make this clearer. It happens every time when I try to comment off looong multi lines like 300 or so. Just type w...

Why no option to import a WAR file into Eclipse?

I have a WAR file for a Java project but when I try to import it into Eclipse, the only option is for archive files such as tar, zip, jar - nothing for war. Is this only an option in certain editions of Eclipse because I have a copy of SpringSource (also Eclipse-base) that allows me to import WAR files? Would it be possible to add this...

Eclipse Plugin To Read Breakpoint Information

I'm working with a legacy embedded debugging tool and it's frustrating to work with. I just found out however that it can be automated in many ways, such at setting breakpoints on start up. Since I use eclipse cdt as my development environment, I was wondering if I could write an eclipse plugin that reads all my breakpoints so I can ge...

Can't add Google Plugin for Eclipse to Eclipse for Java EE developers (Helios edition)?

I just installed Eclipse Helios (Java EE edition) and tried to install the Google App Engine plugin for Eclipse. I get the following error: Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.5 1.3.3.v201006111302 (com.google.gdt.eclipse.suite.e35.fe...

Reuse working set dialog?

I want to create a new dialog looking like the Eclipse "Edit working set" dialog, example: (it's not that exact dialog, but it has the same look). Since it seems to be a fairly standard type of dialog, I was hoping I would be able to reuse it, but I haven't found anything usable. The best I got was the actual code for the working set...

Eclipse New Project (From Sample) Defaults to Errors

I don't know much about Java or Android development, so I'm digging into it myself. But I noticed that if I open sample code that came with my new 2.2 SDK, Eclipse by default will contain errors until I open up specific files. Is this normal for IDEs? Or is there something I'm missing? I am having to use Eclipse 3.5.2 since Google sa...

Eclipse doesn't add files to workspace when they are added through windows explorer

Hi everyone, I have recently added the reCaptcha library for CodeIgniter (by copying files from the extracted zip into the application folder). Although the files exist in windows explorer and in the open file dialogue in eclipse, they are not added to the eclipse project view; although the project view's root directory is the applicat...

Tomcat can't be restarted in Eclipse (RSA)

Basically, I work in RSA(7.0 on Windows 7) and when I need to restart the Tomcat (5.5) server, I get this: 2010.08.18 17:35:27 org.apache.catalina.startup.Catalina start INFO: Server startup in 1541 ms 2010.08.18 17:37:33 org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 2010.08.18 17:37:34 org...

Android Config in Eclipse - SDK Preferences wants ...\Platforms, but SDK doesn't come with one

I'm installing and configuring Eclipse Galileo 3.52 on a PC following the instructions on http://developer.android.com/sdk/eclipse-adt.html All the steps in "Downloading the ADT Plugin" go fine with no errors. But when I get to the next step "Configuring the ADT Plugin" it fails when I set my SDK location, saying that it can't find an...

Python PyDev, Prevent carriage returns from input()

EDIT-4 I've gotten my sitecustomize.py to execute, but it tosses up an error. Here's the code for it. The error is: Error in sitecustomize; set PYTHONVERBOSE for traceback: RuntimeError: maximum recursion depth exceeded while calling a Python object I'm not terribly advanced with Python yet, so I figured I'd comment out only the l...

Where is the deployment directory in Eclipse?

I'm developing a web app in Eclipse. where is the deployment directory tree situated? In the Apache directory structure or some sub-directory tree structure in my Java workspace tree? I ask because I went browsing the directory tree(s) when an update to my tutorial app didn't work and, assuming that the src subtree represents my developm...

Format Eclipse code snippets for blog publishing?

Visual Studio has a plugin that allows one to copy code from any editor (C#, HTML, XML) and then paste it with HTML formatting that preserves the syntax highlighting, etc. This is very handy for publishing code samples/examples to a wep page/blog. I have seen one old (2006?) plugin for java to html conversion, but are there any broader ...

Why does Eclipse hang on copy/paste in Javascript files?

I've been running Eclipse Helios 3.6 using the Java/CFEclipse IDEs, and finding some very strange and aggravating errors when trying to edit Javascript files. After the .js file reaches a certain size (~250 lines of code), Eclipse will randomly hang whenever I try to select, copy-paste selections, or save. Clicking after the hang starts ...

Java: writing to a file, where is the output file ?

FileWriter outFile = null; try { outFile = new FileWriter("member.txt"); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } out.println("test"); Running that command, where is the member.txt ? I am using windows vista. UAC enabled so wh...

Exporting eclipse maven project as a non-maven eclipse project with dependencies

Is it possible to export my maven Java project on Eclipse to users that do not have maven or the eclipse maven plugin? The first question that comes to my mind is how to force all the dependencies to be included with the export. I want to make it easier for people who are not using Maven to import my project on Eclipse and use it, in ot...

What is the best approach to port an Android application to Windows?

I used Eclipse with the Android SDK to develop the original application. I ask since this was my first Java (and Eclipse, and Android, and XML) project. I assume that most of the Java should run on the PC without too much trouble. I may want to restructure the code to isolate the Android specific functions. Should I stay with Eclipse or ...

How do I change certain plugins under Eclipse 3.6 product export to deploy as exploded Jars?

I am using Eclipse 3.6 product export to build an Equinox-based OSGi application. I would like to be able to configure some of my plugins to deploy exploded instead of as JARs. Is there a way to do this? ...

Favorite Google App Engines Tips and Features

When starting with any new major library or system, I go to StackOverflow for the "What should I know?" questions. The answers might be subjective, but the advice usually saves me many hours of trouble. So far, I have burned a number of hours on Google App Engine tripping over the same issues that more experienced developers here alrea...

Debugging arm-elf C code using Zylin in Eclipse CDT

Hi everyone, I'm using Eclipse CDT with Zylin embedded debug (native) and arm-elf-gdb 6.6 on OS X 10.5.8. I've got an OCD debugger connecting to a board with an ARM processor. Eclipse is able to stop at the first breakpoint and gather variables from memory, but any subsequent breakpoints or single-steps fail. I can set breakpoints ok w...

Android - Main.xml doesn't recognize my color values... ?

In the values/colors.xml, I put: <?xml version="1.0" encoding="utf-8"?> <resources xmlns:android="http://schemas.android.com/apk/res/android"&gt; <color name="blank">#f0f0f0</color> </resources> In the layout/main.xml, I put: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/androi...