Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
[BZ 873471] - Correctly resolve relative paths against not-yet existi…
Browse files Browse the repository at this point in the history
…ng deploy dirs.

(cherry picked from commit 10795bd)
  • Loading branch information
metlos authored and spinder committed Oct 1, 2014
1 parent 0d00101 commit d7c537e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void execute() throws BuildException {

File deployDir = ((BundleAntProject) getProject()).getDeployDir();

setFile(new File(deployDir, relativePath));
setFile(new File(deployDir, relativePath).getCanonicalFile());
} catch (Exception e) {
throw new BuildException("Failed to figure out the relative path for file " + getFile());
}
Expand Down

0 comments on commit d7c537e

Please sign in to comment.