eclipse

Modifying a jar file

I have a jar file which is used in html file as applet. I want to modify the content of the jar file and to rebuild the jar file so that the html will work fine with the new jar file. How can i do this?? I already tried unzipping using 7zip nad modified the source and created the new jar. But when i use it in html it shows some java.lan...

Trouble debugging Java in Eclipse Galileo - appears to be in infinite loop

The user is on JDK6 u 18 with the latest Eclipse, and there appears to be an issue where Eclipse can't step through the debugger as it would normally. Instead, the debugger is rapidly listing and delisting threads from what it looks like at the very bottom of the debug tree. Has anyone seen this before? ...

Searching for a regular expression in Eclipse (finding all links without an onclick attribute)

Hi! I am trying to create a proper regular expression to find all anchors in my project with Eclipse File Search. What I'm looking for: <a href="some.url" onclick="some onclickHandler"> What I want to accomplish is finding all anchors without an onclick and add it when needed. Thanks for your help! ...

A Java web project created with Maven is not recognized as such by Eclipse

I created a web project with maven like this: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp Then I run mvn eclipse:eclipse so that an eclipse project is built. Eclipse recognizes all the features of the project but it doesn't recognize it as a web project. Therefor...

WYSIWYG View Editor in 'Android'?

Duplicate: Is there any form designer available for Google Android? I would like to move a CheckBox, so it displays in a different location than the top-left corner under Absolute Layout inside main.xml, for 'Android'. I'm using Eclipse to edit my views. How would I do this? On an iPhone they have a tool called Interface builder ...

Adding Help Contents, Search Help using Command Framework

My colleagues and I are building a new RCP application and trying to find our footing in RCP. My coworker managed to get the Eclipse Help framework working pretty quickly - but he used the old style Actions and ActionBarAdvisor.makeActions() to do it. All of the RCP Menu creation tutorials I've read (the ones that were written post Ecl...

Maven learning curve & overhead for small/medium projects?

what would be (rough estimation, average, of course) the initial learning and setup curve and subsequent overhead for using Maven for C++/Eclipse/Linux project of small to medium size? We are 4 developers at the beginning of the way. We currently have ~20 native eclipse C++ (CDT) "projects", which we compile interactively. We would like...

Can I use a different Eclipse Formatter Profile for on-open and on-save?

I love the Eclipse feature that allows the Formatter Profile to be applied on save, but what if my preferred bracing style differs from the project "standard"? Is there a way to apply one Formatter Profile when I open a file, and another when I save it? I suppose there would be complications when debugging, but maybe there's some brilli...

Run multiple java main methods in eclipse

I'm running Eclipse 3.5 and I have a frequent problem that in order to test my program, I have to do about 6-7 clicks as opposed to one click on the play button. The problem is I'm writing networking application and thus I have a run config for "Server" and a run config for "Client". Then to test my program I have to start the server, ...

GWT Maven and web.xml

I'm using the GWT Maven plugin from Codehaus with m2eclipse. Where is my web.xml file supposed to end up? Isn't the Maven build supposed to copy it to the /war directory? I can't see it there. Or does Jetty pick it up automatically from src/main/webapp/WEB-INF/? Here's a relevant section from my pom.xml. <plugin> <groupId>org.apache....

Best method for using Subclipse with an SSH Remote Project in Eclipse

Hi All, I have a Remote Project (via SSH) set up in Eclipse. The Subclipse plugin can't utilize the Remote Project's file system: Subclipse forum post As a result, you can't use the Subclipse features in a Remote Project. Are these my only options for synchronizing a remote SSH folder in Eclipse?: rsync / Unison to a local folder...

Codebase of Eclipse using generic

Do anyone know when Eclipse plans to move its codebase to > 1.5 (i.e. using generic & annotation)? ...

Spring ContextLoader fails to find applicationContext.xml

I've been working alone on a project for a long time and now another developer joined so I wanted to set up the project on his machine from SVN. We are both using very similar set-ups: OS X Snow Leopard Latest Eclipse WTP m2eclipse Maven Plugin Subversive SVN Plugin Tomcat 6.0.24 The Spring version used is 2.5.6. I set up the proje...

Search button in eclipse

hi, where can i find the complete source code of search button in eclipse ...

Share and persist knowledge while using Eclipse

What will encourage developers working on application maintenance and development using Eclipse to contribute knowledge gained on application, while fixing an issue or carrying out new development. For example Some test data/scenario which is relevant to a java file or some very potent information about the program. This knowledge can be...

create swing application using maven 2

I was trying to start new swing application using maven 2 so I started searching on maven documentation but (frustratingly) found no clue so I'm asking: what is the archtype used? what are the dependances? how to build swing app in maven [is there is plugin to do so ]? ...

Test automation of Aptana (Eclipse) GUI

Hi, I m looking for a tool able to automate tests for Aptana Studio's GUI. Google was not too helpful in this case. Thanks, Shakov ...

Visual Studio: Equivalent of Eclipse's variable movement?

Developing Java with Eclipse, it's easy to move variables from one class to another, and have the references be updated. (So if you move size from being a class variable to a class named Constants, every reference to size in the original class will be replaced by Constants.size automatically.) Is there a way to do this in C# XNA Visual ...

Intermittent Error Message in Eclipse Console Window

I'm starting to learn the Eclipse environment, and occasionally when I type in some code and hit "F11" (to save, compile & run), I get a successful compilation and run of my program, followed by this in red text at the bottom of the console window: ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2 JDWP exit e...

Eclipse getResourceAsStream returning null

I cannot get getResourceAsStream to find a file. I have put the file in the top level dir, target dir, etc, etc and have tried it with a "/" in front as well. Everytime it returns null. Any suggestions ? Thanks. public class T { public static final void main(String[] args) { InputStream propertiesIS = T.class.getClassLoader().get...