Skip to content

Commit

Permalink
Merge pull request wildfly#6667 from jhjaggars/master
Browse files Browse the repository at this point in the history
WFLY-3809 Fix JBOSS_HOME path substitution on Windows.
  • Loading branch information
bstansberry committed Sep 4, 2014
2 parents 6e782f8 + 34238a6 commit 5c478c1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -121,7 +121,7 @@ public void add(InputStream is, String path) {
* @throws Exception
*/
public void add(VirtualFile file, InputStream is) throws Exception {
String name = "JBOSS_HOME" + file.getPathName().substring(this.jbossHome.length());
String name = "JBOSS_HOME" + file.getPhysicalFile().getAbsolutePath().substring(this.jbossHome.length());
this.add(is, name);
}

Expand Down

0 comments on commit 5c478c1

Please sign in to comment.