Refreshing WEB-INF/lib in Google App Engine (with Eclipse)

Posted by Adrian Petrescu on Stack Overflow See other posts from Stack Overflow or by Adrian Petrescu
Published on 2010-05-23T20:26:02Z Indexed on 2010/05/23 20:30 UTC
Read the original article Hit count: 266

Filed under:
|
|

Hi,

I've created a new Google App Engine project within Eclipse. I copied several JARs that I need for my application into the WEB-INF/lib directory, and add them to the build path. I make some random calls to these JARs from within the handler, deploy, and everything works fine.

However, if I then change one of the JARs outside the project, and copy the new version to WEB-INF/lib (with the same name) and re-deploy, it doesn't seem to be sending the new JAR; everything is still linking to the old one even though it's not even in my WEB-INF/lib anymore. I'm guessing it's being cached by the server or Eclipse is not even realizing something has changed in order to upload the new version.

If I just create a new project with the new JAR, everything is fine again (until I have to make another change...) but of course I don't want to have to create a new project for every change to a dependency I make.

My question is, how can I make GAE re-upload all the JARs I have from within Eclipse?

Thanks in advance, guys :) -Adrian

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse