eclipse

Eclipse Galileo does not deploy external jars into WEB-INF/lib directory

I created new web project testweb. By default default output folder is testweb\build\classes. Added some jars to build path. Then selected these jars in "Java EE Module Dependencies" in order to Eclipse put this jars into WEB-INF/lib during deploying on some server. Then I deployed this web application from Eclipse on server(JBoss). ...

Eclipse to play nice wtih SVN version control and WAMP development environment

I've been using a WAMP stack for a while now and have my projects organized in this way wamp/www/project1 wamp/www/project2 wamp/www/project3 etc. Now I started to use Eclipse for PHP and have a workspace that's located in my C drive at C:/my_eclipse_workspace When I create new project in eclipse, a folder gets created for it at ...

What is the easiest way to debug embedded jython in eclipse?

I know I can debug embedded (launched from a Java program) Jython with a remote Pydev debugger. Is there a simpler way to do it? ...

Problem building executable jar with maven

I am trying to generate an executable jar for a small home project called "logmanager" using maven, just like this: http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven I added the snippet shown there to the pom.xml, and ran mvn assembly:assembly. It generates two jar files in logma...

How to generate JAVA RMI stubs and skeletons from Interface?

Is there an action (menu / shortcut) that I miss or plug-in to add to a basic JavaEE distribution of Eclipse 3.5 that will allow to generate / regenerate files that usualy done from command line call for rmic? I am aware of the "RMI Plug-in for Eclipse version 2.0" I am looking for a free one. ...

Run without debugging in eclipse

When I run my app on my phone from eclipse, it always runs in debug. This has only recently started to happen. I guess I must have inadvertently changed a preference or something, but can't work out what. Does anyone know how I can switch it back so I can run without debugging? Thanks in advance TAO ...

Separate web.xml for development and production

Hello! My web.xml is different in devel and production environments. For example in development environment there is no need in security constraints. Typically I deploy new application version as follows: Export Eclipse project to WAR. Upload WAR to the server. Redeploy. The problem is that I have to manually uncomment security con...

How to save the "Package Explorer" in Eclipse

Is it possible, to save the state of the package explorer when closing Eclipse (3.4) and to restore it when opening the workspace again? By state I mean the nodes (expanded or collapsed). ...

Eclipse Galileo click problem on Ubuntu 9.10

I've just upgrade my Ubuntu from 9.04 to 9.10 and I'm experimenting a very annoying problem with Eclipse Galileo. The problem is that Eclipse doesn't catch some button clicks. For example, I've tried to install a plugin and I clicked on next, and then nothing happened. I didn't have the same problem before the upgrade of my Ubuntu vers...

Java short circuit evaluation

I thought Java had short circuit evaluation, yet this line is still throwing a null pointer exception: if( (perfectAgent != null) && (perfectAgent.getAddress().equals(entry.getKey())) ) { In this case perfectAgent is null, so I just want the whole expression to return false, but my app is still crashing on this line with a NullPointer...

svn causes build errors in eclipse

hi, I imported a java project into eclipse which had .svn folders in it. The project did on build properly and it gave errors. But, once I deleted the .svn folders from the project, eclipse did not show any errors. What is the reason ? ...

How to undo TextEdit in eclipse JDT in a single step

I implemented an eclipse quick fix to change a block of code. I'm using something like this to save my changes: TextEdit edits = rewrite.rewriteAST(); UndoEdit undo = edits.apply(document); But when i undo my changes (CTRL+Z), i have to step through all the TextEdit actions one by one. Is there a way to group them so the quick fix ...

Grouping Files in Project Explorer in Eclipse

Hi, I am newbie to Eclipse, I am planning to use it for AVR development with WinAVR and gcc. The feature I am looking for is the grouping of different files in the project, like all headers together, all source files together and all files excluded from the build together etc. I tried AVR Studio from Atmel, it has this grouping feature ...

Differences in WYSIWYG capabilities for ICEfaces on Netbeans and Eclipse?

While evaluating ICEfaces I have used Eclipse and its Web Page Editor to visually create a webpage using ICEfaces components. I have heard that Netbeans 6.5 provided a similar capability, but Netbeans 6.7 does not support a visual drag and drop. I was wondering if there is a plugin for Netbeans to enable this? Also to those who have e...

which version of eclipse to use with app engine java?

Sorry for being a MS dev :) what version of eclipse do I need to use with app engine (java)? http://www.eclipse.org/downloads/ ...

Android - Having a hard time debuging Eclipse

I am a little bit new to developing for Android using Eclipse (Coming from a .NET/Visual Studio background). My biggest problem in developing Android app is "debugging" them. Every time the emulator throws an error, there is no message, no explanation of what caused the error. I basically have to keep doing trial/error until something w...

How to turn off the Eclipse code formatter for certain sections of Java code?

I've got some Java code with SQL statements written as Java strings (please no OR/M flamewars, the embedded SQL is what it is - not my decision). I've broken the SQL statements semantically into several concatenated strings over several lines of code for ease of maintenance. So instead of something like: String query = "SELECT FOO, BAR...

CLASSPATH, Java Buld Path (eclipse), and WEB-INF\LIB : what to use, when, and why?

Hello all, I recently switched to J2EE from .NET, and am confused about where to put JAR files. I know that the CLASSPATH, WEB-INF, and Eclipse's Java Web Path are all places where JARs can be stored, but I'm confused about which folder to use, when, and why. First off, we have the CLASSPATH. I usually set this by going into "Environ...

Eclipse visual indication of edited line

I have used Eclipse for a very long time. It has its problems, but I always seem to come back to it. I used IntelliJ a couple of years ago because the client required it. One of the small things I liked about IntelliJ is that it showed a visual indicator in the gutter if a line had been edited since the last commit. I would really li...

GWT hosted mode very slow

We do have problems with GWT hosted mode running in Eclipse Ganymede (Windwos XP 3GB RAM). When we start our application in hosted mode it takes very long to start and also the transactions once the application is started are taking minutes to react. It seems as if it takes very long to communicate between Javascript and server. The pr...