eclipse

Java application hanging if network is modified

I am working on an eclipse app that has got multiple views. From these views I have to access some data over the wire. An error is thrown in following scenario. Step 1: Start app, everything works fine. Step 2: Disable network Step 3: Enable Network Step 4: Try to access data over wire from one of the views. The app apparently hangs. St...

How to redeploy the web app using the Eclipse IDE

Hi, Im new to Eclipse. I use Tomcat as my run time server, but every time I modified the jsp pages, Eclipse was still displaying the older one. Just wondering how to redeploy the application so the changes can be reflected. Eclipse: Eclipse IDE for Java EE Developers 1.2.1.20090918-0703 Tomcat: Tomcat 6.0 Thanks ...

AutoClose parens, braces, etc in Eclipse and in Visual Studio

I want to know the name of the specific editing mode in which the editor automatically closes the paren after you write (, and then you can jump right after the ) when you press a tab. It does the same thing with ". How can one get this thing working in VisualStudio and in Eclipse? Thanks. upd: clarification of the title. The name of t...

eclipse: Not a valid location for linked resources

I tried to link a project folder which is special vista folder appdata/roaming/user/myproj. It shows that error message above. What prevents to do so ? I tried running as administrator but it gives the same message. Of course out of appdata folder it's ok. ...

Eclipse is not loading?

Eclipse was working fine just a day ago. But today, when I click the eclipse icon, it only loads the splash screen and nothing else thereafter, I even don't get to see the splash screen which contains that 'green loading sign' at the bottom, and -- while monitoring the eclipse.exe in Windows Task Manager(just after starting eclipse) -- I...

Does any one know of any APEX refactoring tools?

The company that owns the company that I work for has recently decided unilaterally that the salesforce.com and force.com platform are where we are headed. Currently, we're a C# .NET shop and we frequently use Visual Studio and Resharper in our daily work. I'm not happy about this decision but, like any good developer, I'm willing to gi...

Share an Eclipse CDT project

I have been working on an embedded project with a friend and I like to send him the project every once in a while so he can go over the code. What is the best way to send him the project so that he can build it fairly easily on his side. Zipping up the workspace and sending it over does not seem to work very well and exporting the proj...

PHP, Eclipse/Zend Studio & Debugging with expressions

Hi, I have a variable in my PHP application that changes often, I'd like to debug so that it keeps executing until the variable changes to a specific value (in this case boolean true). I've heard this could be done with expressions? True? ...

Unleash Process in Eclipse

Is is possible to 'unleash', or whatever, a process in Eclipse that you've been debugging, or simply started with 'run'? Would be nice. After such an 'unleash-ment', the unleashed process should not die when Eclipse is shut down, and should be removed from the debug view, to avoid accidentally killing it. Essentially, become a regular a...

Relationship between GEF and GMF?

Hello! I'm working on summary on the eclipse modeling project and it's various sub - projects. It is not going to get published, it's sole purpose is to help my colleagues and above all my boss to get an overall impression of the topic. For better understandability i took diagram from the eclipse GEF User Guide and modified it. I want t...

Eclipse/EPIC source formatter sometimes works sometime does not. why?

I have EPIC installed for Eclipse to be used for perl development. EPIC used perltidy for souce formatting. The problem I am facing is this - When I select a bunch of code and press CTRL+SHIFT+F the selected code gets formatted according to the preferences saved. However, sometimes this does happen even though the select code is not corr...

Eclipse plug-in - Finding source parts location

I am writing an Eclipse plug-in that should modify the source code in the Java editor. How can I figure the location of the source section like class declaration imports class fields methods and so. ...

Use Eclipse's code completion for boost

Hi, I would like to profit from Eclipse's code completion for boost:shared_pointer in Eclipse 3.5 with CDT 6.0. Eclipse doesn't offer any completion while I'm writing the following code: #include <boost/shared_ptr.hpp> #include "A.h" typedef boost::shared_ptr<A> aPTR; int main() { aPTR test(new A); test->ge.... // no comp...

Not able to execute tests with @Test annotation when my test extends TestCase(Junit) in Eclipse

Not able to execute tests with @Test annotation when my test extends TestCase(Junit) in Eclipse It works fine when I am not extending from TestCase(jUnit), but my existing code extends from TestCase hence I would like to keep that as it is. ...

What's my current cursor position?

This is not an Eclipse-programming question, but rather a question about the Eclipse user-interface in general. I am writing a verilog source-code in an Eclipse text-editor using the simplifIDE plug-in. I want to align my code so that variable names always start at offset 33 (32 spaces from the left margin) Does Eclipse have an option...

Aptana/Eclipse: How do I make a project that uses existing files on my filesystem, instead of copying?

I want to create a project that uses source files already on my filesystem, but the IDE always wants to create a directory and make a second copy of all the source. This has always annoyed me about Aptana and Eclipse, is there a workaround for this? ...

How can I close an empty pane in Eclipse

I often end up with lots of empty panes in Eclipse that can only be minimized but not destroyed. How do I close these? Update: In this screenshot you can see two minimized on the upper left and several on the right hand side. In the center are four more. They only seem to be restorable in the Debug mode. http://img406.imageshack.us/im...

java.lang.VerifyError after extending class

I'm extending the JFreeChart ChartComposite class. When I try to create the instance of extended class I'm getting java.lang.VerifyError : .... incompatible object argument for function call error. ...

How do I change the default author for accessing a SVN repository?

I want to change the default SVN username to a new name. I tried solution suggested in this link (http://stackoverflow.com/questions/45624/change-default-author-in-local-svn-repo), but it is not working. I have access to SVN repository through command line and Aptana using Subversive client. ...

Updating .class file in jar

I want to update a .class file in the jar with new one. What is the easies way for it, especially in eclipse ? ...