You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2019/08/18 13:00:38 UTC
[freemarker-online-tester] branch master updated (f0a8c3f ->
b605c97)
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-online-tester.git.
from f0a8c3f Redirecting old domains to https://try.freemarker.apache.org (also updated the URL in the README.md)
new 23a9484 Upgraded to FreeMarker 2.3.29
new fa3ed9c Updated/imprved README
new f403eb5 Upgraded to DropWizard 1.3.14
new b605c97 Avoid NPE when the 2nd command line argument is missing
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 23 +++++++---------------
dependencies.gradle | 4 ++--
.../dropwizard/FreeMarkerOnlineTester.java | 5 +++++
src/main/resources/freemarker-online.yml | 2 +-
4 files changed, 15 insertions(+), 19 deletions(-)
[freemarker-online-tester] 04/04: Avoid NPE when the 2nd command
line argument is missing
Posted by dd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-online-tester.git
commit b605c97cd541d2245120b02d0d75e85f564c1cd2
Author: ddekany <dd...@apache.org>
AuthorDate: Sun Aug 18 14:58:36 2019 +0200
Avoid NPE when the 2nd command line argument is missing
---
.../freemarker/onlinetester/dropwizard/FreeMarkerOnlineTester.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/main/java/org/apache/freemarker/onlinetester/dropwizard/FreeMarkerOnlineTester.java b/src/main/java/org/apache/freemarker/onlinetester/dropwizard/FreeMarkerOnlineTester.java
index 02ca90a..b9bf832 100644
--- a/src/main/java/org/apache/freemarker/onlinetester/dropwizard/FreeMarkerOnlineTester.java
+++ b/src/main/java/org/apache/freemarker/onlinetester/dropwizard/FreeMarkerOnlineTester.java
@@ -40,6 +40,11 @@ import io.dropwizard.views.ViewBundle;
public class FreeMarkerOnlineTester extends Application<FreeMarkerOnlineTesterConfiguration> {
public static void main(String[] args) throws Exception {
+ if (args.length < 2) {
+ System.err.println("At least 2 command line arguments are needed. Typical arguments: " +
+ "server <path-of-freemarker.online.yml>");
+ System.exit(1);
+ }
new FreeMarkerOnlineTester().run(args);
}
[freemarker-online-tester] 02/04: Updated/imprved README
Posted by dd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-online-tester.git
commit fa3ed9ceaca115fda85fb6c4b5a85d585c24bd90
Author: ddekany <dd...@apache.org>
AuthorDate: Sun Aug 18 14:48:35 2019 +0200
Updated/imprved README
---
README.md | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index 8bac5d1..43dcdd5 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,6 @@
-FreeMarker Online Tester [](https://travis-ci.org/apache/incubator-freemarker-online-tester) [](https://coveralls.io/github/apache/incubator-freemarker-online-tester?branch=master)
+FreeMarker Online Tester [](https://travis-ci.org/apache/incubator-freemarker-online-tester) [](https://coveralls.io/github/apache/incubator-freemarker-online-tester?branch=master)
====================
-DISCLAIMER
-----------
-
-Apache FreeMarker Online Tester is an effort undergoing incubation at The Apache
-Software Foundation (ASF). Incubation is required of all newly accepted
-projects until a further review indicates that the infrastructure,
-communications, and decision making process have stabilized in a manner
-consistent with other successful ASF projects. While incubation status is
-not necessarily a reflection of the completeness or stability of the
-code, it does indicate that the project has yet to be fully endorsed by
-the ASF.
-
What is FreeMarker Online Tester
--------------------------------
@@ -27,9 +15,12 @@ Development Instructions
* Clone the repository to a local directory
* Run `./gradlew build` from the cloned directory (use JDK 8)
* If you want to run it using IDEA run `./gradlew cleanidea idea`; this will generate the IDEA project for you.
-* For running the software from a command line, build `shadowJar` (not `jar`) and then just issue
- `java -jar build/libs/freemarker-online-<VERSION>.jar server src/main/resources/freemarker-online.yml`, then visit
- <http://localhost:8080/>
+* To run the service:
+ - From command line: build `shadowJar` (not `jar`) and then issue
+ `java -jar build/libs/freemarker-online-<VERSION>.jar server src/main/resources/freemarker-online.yml`
+ - From IDE: run class `org.apache.freemarker.onlinetester.dropwizard.FreeMarkerOnlineTester` with arguments
+ `server src/main/resources/freemarker-online.yml`
+* Then, to try the service locally, visit <http://localhost:8080/>
License
-------
[freemarker-online-tester] 01/04: Upgraded to FreeMarker 2.3.29
Posted by dd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-online-tester.git
commit 23a9484e78c8f05c269259d5f8eabae6a3044d8d
Author: ddekany <dd...@apache.org>
AuthorDate: Sun Aug 18 14:39:22 2019 +0200
Upgraded to FreeMarker 2.3.29
---
dependencies.gradle | 2 +-
src/main/resources/freemarker-online.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dependencies.gradle b/dependencies.gradle
index 635c92c..32a868c 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -31,7 +31,7 @@ ext.libraries = [
dropwizard_bundles_redirect: "io.dropwizard-bundles:dropwizard-redirect-bundle:1.2.2",
// App. specific:
- freemarker: "org.freemarker:freemarker:2.3.28",
+ freemarker: "org.freemarker:freemarker:2.3.29",
jersey_core: "org.glassfish.jersey.core:jersey-core:$jersey_version",
// Commons:
diff --git a/src/main/resources/freemarker-online.yml b/src/main/resources/freemarker-online.yml
index 3ce5d1f..d8c5caf 100644
--- a/src/main/resources/freemarker-online.yml
+++ b/src/main/resources/freemarker-online.yml
@@ -66,7 +66,7 @@ server:
viewRendererConfiguration:
freemarker: # was `.ftl:` before Dropwizard 1.3.0
- incompatibleImprovements: 2.3.28
+ incompatibleImprovements: 2.3.29
locale: en_US
timeZone: UTC
outputEncoding: UTF-8
[freemarker-online-tester] 03/04: Upgraded to DropWizard 1.3.14
Posted by dd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/freemarker-online-tester.git
commit f403eb590ee4789895b063603200a5e900aacfeb
Author: ddekany <dd...@apache.org>
AuthorDate: Sun Aug 18 14:57:55 2019 +0200
Upgraded to DropWizard 1.3.14
---
dependencies.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dependencies.gradle b/dependencies.gradle
index 32a868c..fe3e680 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -17,7 +17,7 @@
* under the License.
*/
-ext.dropwizard_version = "1.3.0";
+ext.dropwizard_version = "1.3.14";
ext.jersey_version = "2.25.1"; // Keep in sync with dropwizard jersey dependency!
ext.libraries = [