From 4ef012cf5ab77df1059189d5606e4f9f5801ad30 Mon Sep 17 00:00:00 2001 From: Martijn Dirkse Date: Fri, 27 Sep 2024 13:14:32 +0200 Subject: [PATCH] Use Maven of frank-runner to build ladybug-frontend --- README.md | 2 ++ specials/ladybug-frontend/build.xml | 17 +++++++++++++++++ specials/ladybug-frontend/run.bat | 6 ++++++ specials/ladybug-frontend/run.sh | 2 ++ 4 files changed, 27 insertions(+) create mode 100644 specials/ladybug-frontend/build.xml create mode 100644 specials/ladybug-frontend/run.bat create mode 100644 specials/ladybug-frontend/run.sh diff --git a/README.md b/README.md index aa8a31e..0a236bf 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,8 @@ Here are short descriptions of the options provided in the `specials` folder: * `specials/iaf-example`: Runs the example Frank application included in the F!F source code. * `specials/test-startup-times` +* `ladybug-frontend`: Runs Maven build of ladybug-frontend but does not launch + anything. In each mentioned subfolder, there is a `restart.bat` and a `restart.sh` to build the Frank!Framework, ladybug or ladybug-test-webapp and to diff --git a/specials/ladybug-frontend/build.xml b/specials/ladybug-frontend/build.xml new file mode 100644 index 0000000..b163639 --- /dev/null +++ b/specials/ladybug-frontend/build.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/specials/ladybug-frontend/run.bat b/specials/ladybug-frontend/run.bat new file mode 100644 index 0000000..e5d7eea --- /dev/null +++ b/specials/ladybug-frontend/run.bat @@ -0,0 +1,6 @@ +call ..\..\ant.bat +if %errorlevel% equ 0 goto end +rem https://superuser.com/questions/527898/how-to-pause-only-if-executing-in-a-new-window +set arg0=%0 +if [%arg0:~2,1%]==[:] if not [%TERM_PROGRAM%] == [vscode] pause +:end diff --git a/specials/ladybug-frontend/run.sh b/specials/ladybug-frontend/run.sh new file mode 100644 index 0000000..ba2f043 --- /dev/null +++ b/specials/ladybug-frontend/run.sh @@ -0,0 +1,2 @@ +#!/bin/bash +../../ant.sh