#!/bin/sh

# Demonstration of calling the ERSClientCommand class - edit parameters as necessary,
# for example, add --secure for https mode, by default we use port 1740 for Ambience, 1730 for Repertoire
# The demolib folder contains the slf4j logback implementation and etc holds the default logback configuration
# You can use other libraries and configs as long as they follow the slf4j specifications.

java -cp "lib/*:demolib/*:etc" com.elixirtech.ers2.client.ERSClientCommand --host localhost --port 1730 \
--report "/ElixirSamples/Report/RML/Master-Detail Report.rml" --mimetype application/pdf --output "MDOut.pdf" \
--user admin --password sa
