Olivier Lamy created MINDEXER-51:
------------------------------------
Summary: scan creates tmp directories in repository directory
Key: MINDEXER-51
URL: https://jira.codehaus.org/browse/MINDEXER-51
Project: Maven Indexer
Issue Type: Bug
Affects Versions: 4.1.2
Reporter: Olivier Lamy
{code}
File indexDir = context.getIndexDirectoryFile();
File dir = null;
if ( indexDir != null )
{
dir = indexDir.getParentFile();
}
File tmpFile = File.createTempFile( context.getId() + "-tmp", "", dir );
{code}
Simply using
{code}
File tmpFile = File.createTempFile( context.getId() + "-tmp", "" );
{code}
will create a real temp directory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira