Worklight Knowledge Center has the following documentation for using ant to deploy an app to Worklight server:
<app-deployer deployable="app.wlapp"
worklightServerHost="http://server-address:port/contextroot"
userName="username" password="password" />
But it doesn't provide any detail on how to specify contextroot. So I tried the following but none of them work:
worklightServerHost="http://localhost:9080"
worklightServerHost="http://localhost:9080/worklight"
How can contextroot be specified?