Registering native script from plugin

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?

--

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?

--