Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Gradle wrapper refactor, Travis fix and FreeMarker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Dec 16, 2014
1 parent e632555 commit 6e90fba
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: java
jdk: oraclejdk8
after_success: ./gradlew clean check jacocoTestReport coveralls
after_success: gradle/wrapper clean check jacocoTestReport coveralls
2 changes: 1 addition & 1 deletion extra/src/main/java/sabina/view/FreeMarkerView.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class FreeMarkerView {

private static Configuration createFreemarkerConfiguration () {
Configuration retVal = new Configuration ();
retVal.setClassForTemplateLoading (FreeMarkerView.class, "freemarker");
retVal.setClassForTemplateLoading (FreeMarkerView.class, "");
return retVal;
}

Expand Down
3 changes: 1 addition & 2 deletions extra/src/test/java/sabina/examples/FreeMarkerExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ public static void main (String args[]) {
Map<String, Object> attributes = new HashMap<> ();
attributes.put ("message", "Hello World");

// The hello.ftl file is located in directory:
// src/test/resources/sabina/examples/templateview/freemarker
// The hello.ftl file is located in directory: src/test/resources/sabina/view
return renderFreeMarker ("hello.ftl", attributes);
})
);
Expand Down
File renamed without changes.
File renamed without changes.
Binary file modified gradle/wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Tue Dec 16 01:08:28 CET 2014
#Tue Dec 16 20:35:24 CET 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 6e90fba

Please sign in to comment.