diff --git a/Dockerfile b/Dockerfile index 39a8f4338..cb39896d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,6 +83,7 @@ RUN groupadd engine \ WORKDIR /opt/engine COPY --chown=engine:engine --from=builder \ --exclude=cli-lib \ + --exclude=client-lib \ --exclude=mirth-cli-launcher.jar \ --exclude=mccommand \ --exclude=manager-lib \ @@ -117,6 +118,7 @@ RUN addgroup -S engine \ WORKDIR /opt/engine COPY --chown=engine:engine --from=builder \ --exclude=cli-lib \ + --exclude=client-lib \ --exclude=mirth-cli-launcher.jar \ --exclude=mccommand \ --exclude=manager-lib \ diff --git a/build.gradle b/build.gradle index d35520992..193be1bb5 100644 --- a/build.gradle +++ b/build.gradle @@ -308,8 +308,8 @@ tasks.register('build') { tasks.register('dist') { group = 'build' - description = 'Builds everything and creates the distribution extension zips in server/dist.' - dependsOn ':server:createExtensionZips' + description = 'Builds everything and creates the distribution extension and Swing Administrator zips in server/dist.' + dependsOn ':server:createExtensionZips', ':server:swingadminZip' } tasks.register('test') { diff --git a/server/build.gradle b/server/build.gradle index 71fda0558..9e3677648 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -877,6 +877,16 @@ def extensionZipTasks = zippedExtensions.collect { name -> } } +// The Swing Administrator is not part of Docker images or installers; admins +// unzip this into the OIE home to add it. +tasks.register('swingadminZip', Zip) { + description = 'Zips client-lib for admins to unzip into the OIE home to enable the Swing Administrator.' + archiveFileName = "swingadmin-${version}.zip" + destinationDirectory = file('dist') + from('setup') { include 'client-lib/**' } + dependsOn createSetup +} + tasks.register('createExtensionZips') { group = 'build' description = 'Creates the per-extension distribution zips in server/dist/extensions.' diff --git a/server/public_html/index.html b/server/public_html/index.html index 0a7e1d693..770b94794 100644 --- a/server/public_html/index.html +++ b/server/public_html/index.html @@ -106,14 +106,27 @@
The backend service is running.
-
- Please point your preferred Administrator Launcher to:
-
-
- Don't have an Administrator Launcher yet? Learn about - available launcher options. +
+ Please point your preferred Administrator Launcher to:
+
+
+ Don't have an Administrator Launcher yet? Learn about + available launcher options. +
++ No administrator is installed on this server. To manage it, install the + Web Administrator + or the + Swing Administrator. +
+You can also explore the Client API at the link below.
@@ -126,8 +139,24 @@