Skip to content

Commit

Permalink
o Ensured parent directory of filtered file exists
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1033965 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
bentmann committed Nov 11, 2010
1 parent 966cd9a commit 191d5d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,7 @@ public File filterFile( String srcPath, String dstPath, String fileEncoding, Map
}

File dstFile = new File( getBasedir(), dstPath );
dstFile.getParentFile().mkdirs();
FileUtils.fileWrite( dstFile.getPath(), fileEncoding, data );

return dstFile;
Expand Down

0 comments on commit 191d5d8

Please sign in to comment.