The OMERO.insight Project is a sub-project of the Open Microscopy Environment Project, OME that focuses on delivering a client for the visualization and manipulation of both image data and metadata maintained at an OMERO server site. OMERO.insight is completely written in Java. Technical documentation can be found here.
This directory is the repository of the software artifacts of the OMERO.insight Project. Its contents are as follows:
+ build.gradle, settings.gradle: build for build system
+ src: Contains the application source files, various configuration
files required by the application to run and the test code.
+ buildSrc: source files to package the applications
+ README: This file.
+ LICENSE.txt: The license covering this software.
+ CHANGELOG.md: The release history
+ FAQ.md: Commons questions
The compilation, testing, launch, and delivery of the application are automated by means of a Gradle build file. In order to perform a build, all you need is a JDK -- version 1.8 or later. From the command line, enter:
gradle build
This will compile, build, test and create a distribution bundle.
To run OMERO.insight from the distribution bundle unzip
omero-insight.zip
then go to the omero-insight
directory and from
the command line enter, for example:
bin/omero-insight
To run the OMERO.importer, enter:
bin/omero-insight containerImporter.xml
To run OMERO.insight, from the command line, enter:
gradle run
To run OMERO.importer, from the command line, enter:
gradle runImporter
OMERO.insight uses the Gradle java-packager-plugin and is capable of creating an installer for the platform the deployment task is run on.
Note, a Java runtime is included with the bundled installer. It is recommended to use OpenJDK as the system's JRE to avoid potential licensing issues.
In order to be able to successfully create an installer, a JDK with
javapackager
or
an OpenJFX SDK matching the version of the system JDK
is required (particularly if you intend to build with JDK 11 or higher).
If you are using Homebrew, you can install, for example, OpenJDK 8 which comes bundled with JavaFX. To install run:
brew tap bell-sw/liberica
brew install --cask liberica-jdk8-full
scoop bucket add java
scoop install zulufx8
To set up a build environment with Windows without using a package manager such as Scoop or Chocolatey perform the following:
JDK:
- Download ojdkbuild.
- Run the installer.
- Once at the custom setup page of the setup select the OpenJDK Runtime drop-down and install the JAVA_HOME feature.
- Whilst on the custom setup page, select to include the OpenJFX Runtime.
Inno Setup (required to create .exe installer):
- Download and install Inno Setup.
- Add the Inno Setup install directory (e.g.
C:\Program Files (x86)\Inno Setup 5
) to the PATH.
You can install Inno Setup using Chocolatey:
choco install innosetup
Depending on the Windows version you are using, you might not be able to use the latest version of Inno Setup.
WiX (required to build .msi installer):
- Download and install WiX 3.0 or greater.
- Add WiX to the PATH.
To run the application packager, from the command line enter:
Windows
gradle packageApplicationExe
OSX
gradle packageApplicationDmg
See https://docs.openmicroscopy.org/latest/omero/developers/index.html#insight.
- To use the metadata extension OMERO.mde,
set the following entry in container.xml or in
containerImporter.xml to
true
:
<entry name="omero.client.import.mde.enabled" type="boolean">false</entry>
See FAQ.md
This software is licensed under the terms of the GNU General Public License (GPL), the full text of which can be found in the top level LICENSE.txt. See https://www.openmicroscopy.org/licensing/ for further details.
Copyright (C) 2006-2024 University of Dundee. All rights reserved.