Registering native script from plugin


(William King) #1

Hi all,

For my application I'm creating a plugin and a native script. In order to
keep the codebase together I'd like to register my native script from
within my plugin, instead of the normal configuration file method. Is this
possible to do?

--


(William King) #2

Never mind, figured it out myself. Gisted it for anyone else interested.

Gist contains AbstractPlugin class loading in a RestModule and a
ScriptModule (native script)

On Monday, September 10, 2012 5:48:58 PM UTC-7, William King wrote:

Hi all,

For my application I'm creating a plugin and a native script. In order to
keep the codebase together I'd like to register my native script from
within my plugin, instead of the normal configuration file method. Is this
possible to do?

--


(system) #3