Add support for shared classpath for WARs on Jetty

Description

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.

Activity

Show:
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 ? https://svn.codehaus.org/cargo/core/branches/CARGO-948Thank in advance

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

Hi ThomasYes, this is in since CARGO 1.1.0. See: http://cargo.codehaus.org/Application+ClasspathSo, 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 http://cargo.codehaus.org/Application+Classpath 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 : https://jira.codehaus.org/browse/CARGO-1283

Assignee

Savas Ali Tokmen

Reporter

Benjamin Bentmann

Components

Fix versions

Affects versions

Priority

Major
Configure