Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modified the code to allow usage of grantiteds templates located in t…

…he classpath.
  • Loading branch information...
commit 787f4c3372675ff0019049ce0d5eb6be29d7c806 1 parent 2fb7a09
@chrisdutz chrisdutz authored
View
2  ...r-graniteds-2.2.0/src/main/java/org/sonatype/flexmojos/generator/granitedsv2d2d0/GraniteDsGenerator.java
@@ -204,7 +204,7 @@ private String getStringIndex1( String[] a )
private String getStringByIndex( String[] a, int index )
{
String s = a == null ? null : ( a.length < index + 1 ? null : a[index] );
- return s == null ? null : new File( s ).toURI().toString();
+ return s == null ? null : (s.startsWith(SHADED_PREFIX)) ? s : new File( s ).toURI().toString();
}
private TemplateUri[] createTemplateUris( String baseUri, String uri )
Please sign in to comment.
Something went wrong with that request. Please try again.