Richard
Richard

Reputation: 582

How to force Jetty to redownload a modules external libs after Jetty home upgrade

I've split up my Jetty installation from my configuration by using the "Jetty Base and Jetty Home" mechanism.

This made it very easy to upgrade Jetty 9.4.3 to 9.4.6 by just referencing to the new Jetty home directory.

In my Jetty base directory I have activated the cdi module, which had downloaded various lib files under {$jetty.base}/lib/cdi.

Although Jetty 9.4.6 has new versions of the weld framework referenced in its module description, those libs in my Jetty base directory did not get updated automatically. What is the recommended way to update these libs?

Deactivating the module, deleting the libs and reactivating it feels a little bit odd...

Upvotes: 1

Views: 56

Answers (1)

Joakim Erdfelt
Joakim Erdfelt

Reputation: 49525

Add --create-files to your start.jar command line once.

If the module is defined properly (sometimes it isn't. if so, that's a bug), only the specific jar files needed are referenced, not the old ones.

Upvotes: 3

Related Questions