I had an Ant build file working fine on Worklight v5.0.6. On porting to Worklight v6.0 I found out that there's a new mandatory attribute, worklightserverhost
, for the app-builder task.
<app-builder
applicationFolder="path/to/proj"
environments="mobilewebapp,android,iphone"
nativeProjectPrefix="myproj"
worklightserverhost="?Here?"
outputFolder="where/to/put/it"/>
I can find no documentation of the value to put here or its significance; my guess is that it is supposed to be the value that was formerly in application-descriptor.xml
and is now taken from worklight.properties
when building in Worklight Studio, and hence it's not just the host but also the port and context root. Is that right?