From 76e3862bcc8987d2f8cd73ed679045e74f71bd8c Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 13 Jun 2017 00:26:46 +0200 Subject: The way download-edge makes the HTML page for the edge release completely rewritten. --- src/website/lombok/website/WebsiteMaker.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/website') 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 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")); -- cgit