eclipse

how to access package explorer element in eclipse plugin

hi i am making an eclipse plugin which make a ui on right clicking a project in eclipse workspce . the ui contains text fields , package explorer for the current project and directory explorer for current project. i have successfully made a ui which appears on clicking a menu item on right clicking the project but it seems i can't make a...

ASTVisitor in Eclipse

Hi, I am learning how to do an ASTVisitor for a project, so I started using Eclipse, which has a comprehensive API for that. I have downloaded the Packed Example Project from this website: http://www.eclipse.org/articles/article.php?file=Article-JavaCodeManipulation%5FAST/index.html But I realised that the codes do not have a main() m...

Problems while saving a pre-persisted object in Google App Engine (Java)

I am having problems while saving a pre-persisted JDO object in google-app-engine data store. Basically, in one servlet, I create the object and save it. In another servlet, I read the object, set a bunch of properties and try updating it. The update is through a makePersistent call on PersistenceManager. There is no exception being thro...

What's wrong with Aptana RadRails Eclipse update site?

I'm trying to install Aptana Studio as Eclipse plugin in Eclipse 3.3 (Europa), and I'm following instructions on this link. However, the recommended update address for Eclipse 3.3 http://update.aptana.com/install/studio/3.2/ returns the following error message: "Unable to access site: "http://update.aptana.com/install/studio/3.2/" [Serv...

Eclipse, regular expression search and replace

In eclipse, is it possible to use the matched search string as part of the replace string when performing a regular expression search and replace? Basically, I want to replace all occurrences of variableName.someMethod() with: ((TypeName)variableName.someMethod()) Where variableName can be any variable name at all. In sed I could...

open type dialog is empty - RSA (Rational Software Architetc) for WebSphere 7.5.0 on Linux (Ubuntu 9.04)

I have a fresh install of RSA 7.5.3 in Linux (Ubuntu 9.04). I've create a new workspace with one Java project. When I open the "open type" dialog I get an empty box - see attached screenshot. You can notice that there is no package specified at the bottom of the dialog. when I try to look for a class I get the following exception: Error...

Java Project Manager Help in Eclipse (help with program versions)

When I program I often end up making 5 or 6 different versions so that way if I mess up I can return back to an older version. In the Eclipse IDE, is there a way I can just click "create new version" or something so I don't have to make an entirely new project and copy and paste the previous source code to the new version I just made? ...

Eclipse Build Path Exclusions/Inclusions

Following the advice in this link, Eclipse, classpath and subversion, I have setup my Eclipse project to ignore the Subversion directory. However, I cannot seem to find where those settings are actually stored. I want to be able to check them into a repository so, when I move to another computer, I (or a team) will have the settings in...

Empty Dialogs in Flex Builder

I have been experiencing a strange issue in Flex Builder 3 where certain dialogs such as the Add New Project wizard and the SVN Commit dialog are completely empty save for the title area. I'm running Flex Builder v3.0 (build 3.02.2.214193) on the Windows 7 RC. I have tried completely uninstalling and reinstalling Flex Builder to no ava...

Subversion and Eclipse - branching, and merging with the trunk

Hi, I use v 3.4.2 of Eclipse and Subversion (using svn 1.4.6 on the server), and I'm having problems understanding the specific options (Depth, Ignore ancestry, etc) and how to merge changes from the trunk into the branch, and back again. Also, when conflicting changes are present, Subversion seems to break - in the compare editor for ...

Newbie Problem: C/C++ with Eclipse

Hello guys, My setup includes: Windows Vista, Eclipse 3.5.0, and gdb, make, gcc 3.4.4, g++ 3.4.4 enabled through Cygwin, and environmental variable is already set. My FIRST problem is that I can run and build an application like the information in Console: **** Build of configuration Debug for project HelloWorld **** make all <br />...

Watchpoint conditions in eclipse

Hi, sorry, I was looking for information about this topic but I did not find anything useful so I post here the probably trivial question. I use eclipse galileo cdt in mac os x. I create watchpoints, and for some of them I am able to specify that the debug run stops when the variable takes some value, for instance aaa==10. But I want n...

Eclipse “must-have” development tools/plugins for PHP

According to this post, i ask $title. Which are your favorite PHP coding related Eclipse plugins? Without you can't live? Why? I list my own plugins of choice: Eclipse PDT Mylyn Subclipse Which are yours? ...

Using .class files in Eclipse for Java Developers

For a Java class assignment I was given a file named LogReader.class to use. How can I make Eclipse recognize that this compiled class exists so that I can use it? I tried putting it into my src folder but that did not work. I'd rather not go back to compiling with the command line. I do not have access to the source of LogReader.cla...

Eclipse jumps to definition while copy/pasting

Hopefully this is a quickie: I've been doing a lot of Java/Google Web Toolkit work in Eclipse lately and while I've liked it so far I've had one reoccurring issue that is starting to drive me batty. It seems pretty random, but frequent enough to be annoying: If I am doing a lot of copy/pasting I will suddenly find myself being whisked aw...

Create a subset of a Java Eclipse project based on dependencies of one source file

I have a library Eclipse project/workspace containing functionality that is occasionally delivered to a customer. We're all researchers so this is done very informally; I make a JAR and a Word file with documentation, and send it to them. I prefer to send them a JAR file that only contains what they actually need, to simplify things. ...

Running an Eclipse Plugin

How do I run the plugin project under Resources [1] here: http://www.eclipse.org/articles/article.php?file=Article-JavaCodeManipulation%5FAST/index.html If I am not wrong, the project starting point is here public class ASTArticleActionDelegate implements IObjectActionDelegate -> public void run(IAction action) public void run(IAction ...

including an exe file to jar

Hello, I have written a java program that is actually works as a gui to an existing command line program. so in basic all my program does is Runtime.getRuntime().exec("myprogram parameter");. So I have exported my java source as a executable-jar file by using Eclipse IDE and it is working nice, however I indeed need to include this mypro...

Eclipse guide for beginners

Can you please assist me to compile A beginner's guide for Eclipse IDE, similar to Git & Mercurial Guide in Stackoverflow. A Beginner is someone unfamiliar in advanced java or software development. Resources: Eclipse Newcomers FAQ Eclipse Java IDE - Tutorial Eclipse And Java: Free Video Tutorials Eclipse Resources(beginners and advan...

Using WxWidgets with Eclipse for C++

Hi, I installed wxWidgets and then followed the instructions to make it with MSYS. After it was done, I copied a sample from a site and put it on a project in eclipse. The code was: #include <wx/string.h> int main(int argc, char **argv) { wxPuts(wxT("A wxWidgets console application")); } But when I compile I get this error: **** B...