|WTP not picking up modified Libraries [message #521872]
||Thu, 18 March 2010 23:59
Registered: July 2009
I've got no idea what's going on here, but it's quite frustrating:|
I use Ivy to manage dependencies for our Web Project, and IvyDE to manage them in Eclipse. Mostly, that works fine, but just recently, I've noticed that it's not publishing new/removing old JARs when I publish the project - IvyDE picks them up fine, but I can't make WTP let go of the old ones and pick up the new ones.
e.g. I have a JAR a-1.jar referenced by IvyDE. This gets published fine. If, however, I remove a-1.jar and add a-2.jar (e.g. publishing a new version), IvyDE sees that I now have a-2.jar on the classpath, but not a-1.jar.
WTP, however, does not. It still thinks I have a-1.jar on the classpath and completely ignores a-2.jar. The only way I've found around this is to close the project and reopen it. Unfortunately, this is not a fun solution. I do frequent builds of other projects, and having to do this each time would be infuriating, especially given that my computer is not all that fast (I'd be looking at 5+ minutes for each build!)
I'm fairly sure this is a regression, as I hadn't noticed the behaviour with the previous version of WTP (I downloaded Eclipse 3.5 not long after it came out, and upgrade from WTP 3.1.0 to 3.1.1 very recently).
For reference, I'm using:
Eclipse Web Developer Tools
Build id: 20100211202452
Eclipse Java EE IDE for Web Developers.
Build id: 20100218-1602
Build id: M20100211-1343
With IvyDE 2.0.0 and Ivy 2.1.0, publishing to Jetty 6.1.22 on Ubuntu 9.04 32bit, and Sun Java 1.6.0_16.
Any help would be most appreciated.
EDIT: Best guess is that something is being cached somewhere, as even if I delete the file from the Ivy Cache, it still tries to publish that file (and fails, since it doesn't exist anymore!)
[Updated on: Fri, 19 March 2010 00:01]
Report message to a moderator