Image compiler environment

 

Before the image compiler and other command line tools can be used, the environment of the Image Compiler has to be adjusted. This can be done in the file "<scripts>\Windows\orchestra_env.bat" (or orchestra_env.sh for Linux)

orchestra_env.bat / orchestra_env.sh

rem --------  adjust these values

set ORC_JAVA_HOME=@JAVA_HOME

set IMGAGE_COMPILER_HOME=@INSTALL_PATH\imagecompiler

set ORC_HOME=<path-to-your-orchestra-installation>

rem --------

 

set ORC_JAVA_EXEC=%ORC_JAVA_HOME%\bin\java

set ORC_CLASSPATH=%IMGAGE_COMPILER_HOME%\lib\*

set ORC_CLASSPATH=%ORC_CLASSPATH%;%ORC_HOME%\WEB-INF\lib\*

set ORC_CLASSPATH=%ORC_CLASSPATH%;%ORC_HOME%\WEB-INF\classes

 

 

Setting

Usage

Default

Possible values

ORC_JAVA_HOME

Overrides the default value if not empty. Defines the path to the Java folder of the Java version for orchestra.

Empty, automatically retrieves Java version from sub-directory "Java" or afterward's from Windows registry

Any Path, relative or absolute on the file system. E. g. "C:\Program Files\Java\jre11"

Don't forget the double quotation marks at least when you have spaces in the path.

IMGAGE_COMPILER_HOME

Overrides the default value if not empty. Defines the folder of where Image Compiler is located (sub-folders of this folder are dockerfile, documentation, etc.) .

Empty

Any Path, relative or absolute on the file system. E. g. "C:\Program Files\Orchestra_ImageCompiler\imagecompiler"

Don't forget the double quotation marks at least when you have spaces in the path.

ORC_HOME

Overrides the default value if not empty. Defines the folder of where Orchestra is located (sub-folders of this folder are themes, WEB-INF, etc.) .

Empty, uses a relative path "./orchestra"

Any Path, relative or absolute on the file system. E. g.

ORC_HOME=C:\Orchestra Designer\4.11.0.0\orchestra

 

 

Start scripts

The image compiler can be executed with the delivered start scripts. Depending on your operating system you have to choose one of the following ones:

Orchestra/Startscripts/Unix/imagecompiler.sh

Orchestra/Startscripts/Windows/imagecompiler.cmd

 

NOTE: Due to changes in the release structure in Orchestra 4.15, the Image Compiler was changed. With Image Compiler version 1.0.1.0  the backward compatibility was restored.  It was tested with orchestra artifacts 4.12 and 4.15. Side effects on older orchestra  versions can not be excluded completely.


soffico GmbH
Telefon: +49 821 455901 77
Fax: +49 821 455901 98
E-Mail: orchestrasupport@soffico.de
Web: https://orchestra.soffico.de