eclipse

Making workspaces clickable to start Eclipse on them?

We use a lot of workspaces, and frequently switch between them. I was wondering if there is a trick that can allow me to simply click a workspace in Windows Explorer and have Eclipse started on it. A "create shortcut for Eclipse" creator might also be interesting, but I was envisioning perhaps a special name for the workspace triggerin...

Problem in AST parser

Hi, I downloaded AST explorer code from a website. But i get the error as the following org.eclipse packages doesn't exists, I use eclipse IDE and the code is below, please help me package astexplorer; /** * Parses a source file and displays its nodes in a SWT Tree widget * You should run the main method inside the Eclipse IDE. *...

Skip Eclipse validation of build.xml

Hello, I've followed the steps given in the Android Developer Blog to generate a build.xml for building releases for an Android Application. I need to do a custom compiling so I have overwritten the target compile of the ant_rules_r3.xml as it is said in the generated build.xml. <target name="compile" depends="-resource-src, -aidl, -p...

Simultaneous debugging of Java and Javascript within IDE

Is it possibe to launch grails based java web project from within Eclipse or Netbeans IDE and setup breakpoints in both java and javascript sources and be able to debug both? If so then how? I understand debugging javascript is normally done using browser based debugger such as firebug for firefox but there are situations for large pro...

phonegap for webos eclipse

Hi folks i am developing palm pre apps using eclipse ide.how to set phonegap for eclipse for developing cross platform apps ...

Create database with JPA ??

When I create (using JPA - java persistence api) a persistence unit and then persistence entities they auto create the corresponding tables and fields in the database. Can I also make it to auto create the database (if it doesn't exist)? My objectif is : I mean it creates inside the database the tables and fields, but not the databas...

How can I get auto-complete to work for an attribute in my XML document?

In Eclipse, if I create a new Spring application context XML document when I press Ctrl+Space while inside the "class" attribute, Eclipse will let me browse through Classes that I can use, for example: ..and Eclipse will show java.lang.String, etc. I've created my own XSD and now I'm making an XML file that references it. My XSD defi...

How do I change my SVN account in subclipse

I am running eclipse Version: 3.5.2 Build id: M20100211-1343 with the subclipse plugin 1.6.4 I have saved my password, but now I need to change the account I connect with. How do I do that? My coworker has Version: Helios Release Build id: 20100617-1415 and subclipse 1.6.14 but no Application data folder. Where might subclipse hide i...

Eclipse - how to distribute eclipse metadata to team members

We're using eclipse and we have a main project with many different sub-projects/fascades/settings, etc. Is there a way to save all these settings so that team members can just check out the code (say, into a new laptop) and somehow apply all the eclipse metadata so that each project has the proper fascadesm, settings, etc? Right now, th...

Eclipse Web Development Plugin to Sync with Remote Server

Hi, I'm using Eclipse Helios to develop a PHP/Smarty project. Is there a plugin that can help me easily publish code to the web server? Something like setting up the location of the web root once, then I can just right-click on a file to send. Currently, I'm using FileZilla to send my code to the web server. Any help or advice is appre...

How do I configure eclipse to automatically refresh a project as part of it's build?

I have a maven plugin generating some code for eclipse to build, but I have to manually refresh the project before eclipse sees the code. How can I make eclipse automatically refresh the project as part of the build? I'm trying to use a custom builder, but it wants to run a command (which I don't need to do). ...

Debug GWT application in a remote browser

I try to debug the GWT app in a remote browser (located on other computer than Eclipse instance) for example in VMware environment. Unfortunately while opening address below there is no connection. http://192.168.1.2:8888/app_test.html?gwt.codesvr=192.168.1.2:9997 I've tried adding -Dgwt.args="-bindAddress 0.0.0.0" to Arguments -> VM ...

How to hook into Workspace-startup process in Eclipse?

When developing an Eclipse plug-in, is there a way to hook into the workspace (not workbench) startup- or initialization process? I'd like my plug-in to be notified when all the projects belonging to the workspace are known. The project-lifecycle and resource listeners only provide callbacks for modification, creation or deletion of proj...

Error during p2 eclipse-rcp app headless update

I'm trying to do a headless update at startup for my product com.example.product, which contains com.,example.feature which contains com.example.plugin. Here's the error I'm getting in my logs, and the code generating it follows that. It seems to be picking up the update site and the IUs ok, but then can't find the artifact. (P2Util.jav...

How to disable testng test based on a condition

Hey Guys, Is there currently a way to disable Testng test based on a condition I know you can currently disable test as so in Testng: @Test(enabled=false, group={"blah"}) public void testCurrency(){ ... } I will like to disable the same test based on a condition but dont know how. something Like this: @Test(enabled={isUk() ? false ...

Eclipse PyDev now shows all references to Tkinter as errors

I've been using Eclipse with PyDev (on Windows, mind you) for my Python Tkinter project for about a month now, and up until recently I've had no complaints. I start the source for one module (my GUI) like so: from Tkinter import * Now, ever since I updated Eclipse to 3.6.1, it shows an error for every call to the Tkinter module(Frame(...

Getting the src directory in an Eclipse IProject?

I am trying to programmatically access the src/ directory in an Eclipse project (type IProject). Basically, my problem is as follows: INPUT: IProject OUTPUT: Return the src directory in this IProject Notes: The src directory may be called anything else (it need not be "src" every time -- it is decided when creating the java project)...

How to synchronize files over FTP with Eclipse RSE?

I installed Helios, which has the latest version of the RSE package, and I could copy files from the remote server just fine, but I don't seem to be able to use the "Review/Synchronize" option. I select the folder on the remote directory, specify the "Into folder" of the local directory, hit Finish, and nothing ever gets synced. Thoughts...

Getting at XML files inside Android.jar.res.drawable

As I've been researching another problem online, I've seen references to folks modifying the XML files contained inside the Android.jar.res.drawable folder and then copying them to their drawable folder for use in their project. But I can't open these files, instead I get the following error. Could not open the editor: org.eclipse.ui.P...

Passing a int value from one class to another

Hi, I have been trying to get "getExtra" to work but without success, I have a listview with 4 choices which launch a webpage within a webView class, when the user selects the option lets say option 3 I want to pass the value of 3 to the webView class so that it will load the correct webpage, at the moment I get no errors, but the app f...