Skip to content

Commit

Permalink
Create the directory, and any needed parent directories, simpler.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugojosefson committed Oct 12, 2010
1 parent f160451 commit a370d08
Showing 1 changed file with 1 addition and 10 deletions.
Expand Up @@ -202,16 +202,7 @@ public boolean accept(final File pathname)

getLog().debug("Copying native library dependencies to " + finalDestinationDirectory);

if (finalDestinationDirectory.exists())
{
}
else
{
if (!finalDestinationDirectory.mkdir())
{
getLog().debug("Could not create output directory " + outputDirectory);
}
}
finalDestinationDirectory.mkdirs();

final DefaultArtifactsResolver artifactsResolver = new DefaultArtifactsResolver(this.artifactResolver, this.localRepository, this.remoteRepositories, true);

Expand Down

0 comments on commit a370d08

Please sign in to comment.