Skip to content

Commit

Permalink
FORGE-1221: Scaffold views template should use just forward slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Nov 1, 2013
1 parent cfd361f commit 85bb5e9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
package org.jboss.forge.scaffold.faces;

import java.io.File;
import java.util.Arrays;

import org.jboss.forge.project.Project;
Expand Down Expand Up @@ -53,6 +54,7 @@ public String getReferencePath(final Resource<?> template)
if (ResourceUtil.isChildOf(dir, template))
{
String relativePath = template.getFullyQualifiedName().substring(dir.getFullyQualifiedName().length());
relativePath = relativePath.replace(File.separator, "/");
return relativePath;
}
}
Expand Down

0 comments on commit 85bb5e9

Please sign in to comment.