Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ private void replaceFile( File oldFile, File newFile )
{
getLog().info( "Replacing " + oldFile + " with " + newFile );

File origFile = new File( outputDirectory, "original-" + oldFile.getName() );
File origFile = new File( project.getBuild().getDirectory(), "original-" + oldFile.getName() );
if ( oldFile.exists() && !oldFile.renameTo( origFile ) )
{
//try a gc to see if an unclosed stream needs garbage collecting
Expand Down