[
http://jira.codehaus.org/browse/MTOMCAT-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy closed MTOMCAT-17.
-------------------------------
Assignee: Olivier Lamy
Resolution: Fixed
Fix Version/s: 1.0-alpha-2
fixed in rev 8772
Thanks
> Create logs directory in run target
> -----------------------------------
>
> Key: MTOMCAT-17
> URL: http://jira.codehaus.org/browse/MTOMCAT-17
> Project: Maven 2.x Tomcat Plugin
> Issue Type: Improvement
> Reporter: Martin Ellis
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 1.0-alpha-2
>
> Attachments: create-logs-dir.diff
>
>
> A 'vanilla' tomcat installation contains a directory 'logs' just under the
> top level directory.
> Where a web application is only ever intended to be run on tomcat, its
> logging can be configured (e.g. in log4j.properties) to write to a log file
> under ${catalina.home}/logs/.
> The tomcat mojo doesn't currently create the logs directory, and hence using
> tomcat:run to run an application with a logging configuration as described
> above doesn't work very well: the directory to which the log should be
> written doesn't exist.
> This can be remedied by creating the logs directory when the target/tomcat
> directory structure is created.
> Trivial patch attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email