updateProfile.extensionsClasspath parameter

Use the updateProfile.extensionsClasspath parameter to set or query an additional path which will be used to load editor extensions. The extensions classpath is a path that the editor searches for classes and other resource files when it cannot load an editor extension (action, command, document parser, or user profile) using its current Java class loaders.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

updateProfile.extensionsClasspath is scoped to the current view.
current.updateProfile.extensionsClasspath is scoped to the current view.
default.updateProfile.extensionsClasspath is globally scoped.
install.updateProfile.extensionsClasspath is globally scoped.

Syntax

query updateProfile.extensionsClasspath
set updateProfile.extensionsClasspath { default
                                      | [ classpath ]
                                      }
query current.updateProfile.extensionsClasspath
query default.updateProfile.extensionsClasspath
set default.updateProfile.extensionsClasspath { install
                                              | [ classpath ]
                                              }
query install.updateProfile.extensionsClasspath 

Parameters

default If you specify the default parameter for the set updateProfile.extensionsClasspath command, the current view will use the value of default.updateProfile.extensionsClasspath as the additional path for loading editor extensions.
classpath If you specify the classpath parameter for the set updateProfile.extensionsClasspath command, the editor will use the path indicated by classpath as the additional path for loading editor extensions in the current view.  If you specify the classpath parameter for the set default.updateProfile.extensionsClasspath command, the editor will use the path indicated by classpath as the additional path for loading editor extensions in all the views that have the updateProfile.extensionsClasspath set to default.
install If you specify the install parameter for the set default.updateProfile.extensionsClasspath command, all views with updateProfile.extensionsClasspath set to default will use the value of install.updateProfile.extensionsClasspath as the additional path for loading editor extensions.

Description

The query current.updateProfile.extensionsClasspath command returns the additional path (JARs and class folders) that will be used to load editor extensions in the current view.

Classes already loaded in the current LPEX instance by any previous classpath's class loader stay as is.

Examples

query updateProfile.extensionsClasspath
set updateProfile.extensionsClasspath C:\test\lpexExtensions.jar
set updateProfile.extensionsClasspath "C:\test\LPEX Extensions"
query current.updateProfile.extensionsClasspath
query default.updateProfile.extensionsClasspath
set default.updateProfile.extensionsClasspath install
set default.updateProfile.extensionsClasspath C:\myLpexActions;C:\myLpexProfiles 

Related reference
updateProfile command
query command
set command
actionClass parameter
commandClass parameter
current parameter
default parameter
install parameter
updateProfile.parserClass parameter
updateProfile.userActions parameter
updateProfile.userCommands parameter
updateProfile.userProfile parameter