« Return to Thread: Force-saving router/swiftlet configuration from inside a Swiftlet

Re: Force-saving router/swiftlet configuration from inside a Swiftlet

by IIT Software :: Rate this Message:

Reply to Author | View in Thread

Oops, sorry. We use the CLIExceutor internally and only in the Deploy Swiftlet to execute before/after deployment CLI commands which do not include "save".

So just forget the CLIExecutor and use:

    SwiftletManager.getInstance().saveConfiguration();
 

(This would be called by the "save" command out of a proper context as well).

 « Return to Thread: Force-saving router/swiftlet configuration from inside a Swiftlet