Difference between revisions of "Servers"

From CCIL
Jump to: navigation, search
(The server configuration file)
(The server configuration file)
Line 20: Line 20:
 
-Dserver.config.file=/other/location/config.ttl
 
-Dserver.config.file=/other/location/config.ttl
 
</code>
 
</code>
 +
 +
The startup scripts for ''server'' and ''application'' modes differ in this setting.

Revision as of 07:07, 25 March 2017

Obtain distribution

There are two ways of obtaining CCIL:

  • Download a pre-build zip file, which contains the full system.
  • Build from source code

Download a release

  • The releases section in the project's site.

Build from source code

TBA

The server configuration file

In order the server to know which objects to instantiate it has to read the binding from a file. The Turtle format is used, due to its infinite expression abilities. Within a distribution, it resides in the /conf folder, but this can change by specifying the server.config.file option:

-Dserver.config.file=/other/location/config.ttl

The startup scripts for server and application modes differ in this setting.