aboutsummaryrefslogtreecommitdiff
path: root/src/website
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-06-13 00:26:46 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-06-13 00:29:33 +0200
commit76e3862bcc8987d2f8cd73ed679045e74f71bd8c (patch)
tree076150511df7184d54e4313a9b3e09d06b3745cc /src/website
parentb351b2af2c3996d0cb9e4c6377b9bcd3789ff199 (diff)
downloadlombok-76e3862bcc8987d2f8cd73ed679045e74f71bd8c.tar.gz
lombok-76e3862bcc8987d2f8cd73ed679045e74f71bd8c.tar.bz2
lombok-76e3862bcc8987d2f8cd73ed679045e74f71bd8c.zip
The way download-edge makes the HTML page for the edge release completely rewritten.
Diffstat (limited to 'src/website')
-rw-r--r--src/website/lombok/website/WebsiteMaker.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/website/lombok/website/WebsiteMaker.java b/src/website/lombok/website/WebsiteMaker.java
index 10e460dd..5715086b 100644
--- a/src/website/lombok/website/WebsiteMaker.java
+++ b/src/website/lombok/website/WebsiteMaker.java
@@ -209,12 +209,7 @@ public class WebsiteMaker {
}
public void buildDownloadEdge(File out) throws Exception {
- Configuration freemarkerConfig = new Configuration(Configuration.VERSION_2_3_25);
- freemarkerConfig.setEncoding(Locale.ENGLISH, "UTF-8");
- freemarkerConfig.setOutputEncoding("UTF-8");
- freemarkerConfig.setOutputFormat(HTMLOutputFormat.INSTANCE);
- freemarkerConfig.setTemplateLoader(createLoader("extra"));
- freemarkerConfig.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
+ Configuration freemarkerConfig = makeFreemarkerConfig();
outputDir.mkdirs();
convertDownloadEdge(freemarkerConfig, out);
@@ -289,7 +284,7 @@ public class WebsiteMaker {
private void convertDownloadEdge(Configuration freemarker, File outFile) throws Exception {
Map<String, Object> dataModel = createBasicDataModel();
- Template template = freemarker.getTemplate("download-edge.html");
+ Template template = freemarker.getTemplate("_download-edge.html");
FileOutputStream fileOut = new FileOutputStream(outFile);
try {
Writer wr = new BufferedWriter(new OutputStreamWriter(fileOut, "UTF-8"));