This section describes the server process for searching for .adl files, and where to find the .adl file directories on different operating systems.
ADL files are always assumed to be in a plugins directory. This is the server's search path for .adl files:
The plugins directory specified by the SybaseC8/General/PluginsFolder preference in the server's configuration file. Unless you change this preference or install in a directory other than the default directory, the plugins directory on Windows platforms is:
C:\Program Files\SybaseC8\Server\plugins (on Microsoft Windows)
On UNIX-like operating systems, the plugins directory is:
$HOME/sybasec8/server/plugins
<app path>/plugins
(in other words, in the plugins subdirectory of the directory in which the application was started)
<app path>/../plugins
(in other words, in the plugins directory that is a sibling of the directory in which the application was started)
./plugins
(in other words, in the plugins subdirectory of the current directory)
../plugins
(in other words, in the plugins directory that is a sibling of the current directory)
$C8_PLUGINS_FOLDER
(or, in Microsoft Windows, the equivalent environment variable: %C8_PLUGINS_FOLDER%)
The user plugins directory.
On Microsoft Windows, this is:
SybaseC8Repository\<version>\plugins
On UNIX-like operating systems, this is:
SybaseC8Repository/<version>/plugins
(Note the blank space in the path name on both operating systems.)
Studio (and the compiler) normally look for .adl files in:
C:\Program Files\SybaseC8\Studio\plugins (on Microsoft Windows)
or
$HOME/sybasec8/server/plugins (on UNIX-like operating systems)
If the CCL compiler is unable to find the .adl files after searching the directories specified above, the compiler issues a message stating that it cannot locate the plugins directory.