Add support for shared classpath for WARs on Jetty


Mostly to enable in-situ development/testing in IDEs (which is my current driver), many containers support WARs whose classpath can point at arbitrary JARs outside of the usual WEB-INF/lib location. E.g. in Jetty and Glassfish it's called extra classpath, in Tomcat it's called virtual classpath. It would be nice if Cargo provided access to this feature.


Thomas Collignon
October 13, 2014, 8:44 PM

Hi,The initial demand of Benjamin was : add an extra classpath to the WAR. It's possible to reopen for this?
Have you ever the initial code in the branch ? in advance

Savas Ali Tokmen
October 14, 2014, 3:39 AM

Hi ThomasYes, this is in since CARGO 1.1.0. See:, this coe has been merged long back.Thank you

Thomas Collignon
October 14, 2014, 7:44 AM

Hi Savas,No It's not this features that I'm talking. It's the ability to add extra classpath directly in the wars (see WAR.setExtraClasspath() in the old branch of benjamin Bentmann). The feature it not the same feature et will not work for the needed of IDE.Thank in advance

Savas Ali Tokmen
October 14, 2014, 12:11 PM

Hi ThomasWhen this 3 year old ticket was opened, it was agreed to use Application Classpath afterall instead.If you wish to have a new implementation, please open a new JIRA with a new patch proposition.Thank you

Thomas Collignon
October 16, 2014, 6:56 AM

Ok thanks Savas, I have submitted this :


Savas Ali Tokmen


Benjamin Bentmann


Fix versions

Affects versions