You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Constantino Cronemberger (JIRA)" <ji...@apache.org> on 2015/05/21 16:17:00 UTC

[jira] [Commented] (MTOMCAT-299) when a context file is configured if it is not found it should log a warning message

    [ https://issues.apache.org/jira/browse/MTOMCAT-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554329#comment-14554329 ] 

Constantino Cronemberger commented on MTOMCAT-299:
--------------------------------------------------

I have created this pull request for this simple fix:

https://github.com/apache/tomcat-maven-plugin/pull/18

> when a context file is configured if it is not found it should log a warning message
> ------------------------------------------------------------------------------------
>
>                 Key: MTOMCAT-299
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-299
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat7
>    Affects Versions: 2.2, 2.3
>            Reporter: Constantino Cronemberger
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In the RunMojo.java class in the method getContextFile it does this:
> if ( contextFile != null && contextFile.exists() )
> {
>     // filter file
> } else {
>    // no context file is used
> }
> If I have configured a wrong path for my file I would like to have this logged instead of just falling back to the default when no file is specified.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org