You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2016/05/04 17:49:06 UTC

Test fails to clean up

When I run 'mvn clean test', I get this file left over:

/log4j-parent/log4j-core/${filename}

Is this expected instead of a real file name.

It should be cleaned up no matter what when the test is done...

Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: Test fails to clean up

Posted by Ralph Goers <ra...@dslextreme.com>.
Actually, tests should ONLY create files under the target directory - for exactly this reason.

Ralph

> On May 4, 2016, at 10:49 AM, Gary Gregory <ga...@gmail.com> wrote:
> 
> When I run 'mvn clean test', I get this file left over:
> 
> /log4j-parent/log4j-core/${filename}
> 
> Is this expected instead of a real file name. 
> 
> It should be cleaned up no matter what when the test is done...
> 
> Gary
> 
> -- 
> E-Mail: garydgregory@gmail.com <ma...@gmail.com> | ggregory@apache.org  <ma...@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>