tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <>
Subject [jira] [Commented] (MTOMCAT-246) Allow for adding dirs/files to webapp classpath
Date Fri, 08 Nov 2013 04:49:21 GMT


Olivier Lamy (*$^¨%`£) commented on MTOMCAT-246:

ok works only with tomcat7:run goal
run-war-only goal doesn't have this option.

> Allow for adding dirs/files to webapp classpath
> -----------------------------------------------
>                 Key: MTOMCAT-246
>                 URL:
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat7
>            Reporter: Ondrej Burkert
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 3.0
>         Attachments:
> We have projects developed using Spring. Every project has a set of configuration files
(usually just logback configuration XML and a property file). They are placed on the classpath
and loaded from there by Spring app context.
> I don't see any way to put these on the classpath with current (we try 2.1 at the moment)
version of the plugin. Adding it using the additionalClasspathDirs does not work as that is
apparently Tomcat's not application's classpath. It fails with FileNotFound exception. We
place these in the tomcat/lib folder for regular deployments.
> Any workaround or preferably solution for the problem would be highly appreciated. There
are couple unanswered questions in this direction on stackoverflow as well. (,

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message