Example #1
0
 * A resolved variable value for the mounted virtual workspace
 */
$XAPP_WORKSPACE_DIRECTORY = realpath(XAPP_BASEDIR . '..' . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . '/user/A/ws/workspace/';
/***
 * The path to the virtual file system configuration, holding all mounted resources
 */
$XAPP_VFS_CONFIG_PATH = realpath(XAPP_BASEDIR . '..' . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'maqetta' . DIRECTORY_SEPARATOR . 'vfs.json';
/***
 * Dojo's JSON-RPC classes need an url to the entry here :
 */
$XAPP_SMD_TARGET = '../xapp/xide/Service/entry.php?view=smdCall';
/***
 * Framework minimal includes, ignore!
 */
require_once XAPP_BASEDIR . '/Bootstrap.php';
XApp_Bootstrap::loadMin();
XApp_Bootstrap::loadRPC();
xapp_setup_language_standalone();
xapp_import('xapp.Service');
xapp_import('xapp.File.Utils');
xapp_import('xapp.Directory.Utils');
xapp_import('xapp.Directory.Service');
xapp_import('xapp.xide.Directory.Service');
xapp_import('xapp.Path.Utils');
xapp_import('xapp.VFS.Interface.Access');
xapp_import('xapp.VFS.Base');
xapp_import('xapp.VFS.Local');
xapp_import('xapp.Resource.Renderer');
xapp_import('xapp.Xapp.Hook');
xapp_import('xapp.Option.*');
xapp_import("xapp.xide.Models.User");