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

Jared Hodge commented on MTOMCAT-263:
-------------------------------------

Did I not say "I realize that changing the default behavior is not part of this 
issue, and wasn't suggesting it"?  Good grief, I'm trying to provide a little 
extra information and you seem intent on having an argument.

My point is that you can manually create the directory to get around the issue, 
and that people should be aware that this is created in the current directory 
by default.  Thus some people may get the error once and not see it again 
because they don't realize they have a temporary directory in their basedir 
because it's hidden.  It sounds like you already know this, but I'm not certain 
everyone coming across this issue will.  Explicitly using "-extractDirectory" 
is a better way to run this in this case, and manually creating the directory 
is enough to make it work, which is potentially helpful info for the 
maintainers.

> tomcat7:exec-war can't create .extract/webapps
> ----------------------------------------------
>
>                 Key: MTOMCAT-263
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-263
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.2
>            Reporter: jieryn
>             Fix For: 3.0
>
>
> bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar
> Exception in thread "main" java.lang.Exception: FATAL: impossible to create 
> directories:.extract/webapps
>         at 
> org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586)
>         at 
> org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204)
>         at 
> org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to