/cantaloupe-nuxeo-delegate

Java Deligate to use Nuxeo as a image source for Cantaloupe

Primary LanguageJava

Delegate for Cantaloupe / Nuxeo

This repository contains code to create a jar file that can be used as a Delegate for Cantaloupe's Delegate System to load source from Nuxeo.

Before building, testing, running, etc

  • Download a recent Cantaloupe build (v.50 or higher) or build from source
  • change the value of cantaloupe_jar in lib/build/build-example.gradle to match the path of your Cantaloupe Jar file
  • Rename lib/build/build-example.gradle to lib/build/build.gradle
  • Modify if needed and rename cantaloupe.properties.sample to cantaloupe.properties

Build

To build the jar file in lib/build/libs/:

gradle jar

Run Cantaloupe with this Delegate

There is a minimal settings file for Cantaloupe in this repository "cantaloupe.minimal.properties"

java -cp \ "/opt/cantaloupe/cantaloupe-6.0-SNAPSHOT.jar":"./lib/build/libs/cantaloupe-nuxeo-delegate-1.0.jar" \ -Dcantaloupe.config=cantaloupe.minmal.properties \ edu.illinois.library.cantaloupe.StandaloneEntry