I do not understand the purpose of the properties listed in worklight.properties:
- publicWorkLightHostname
- publicWorkLightProtocol
- publicWorkLightPort
Those properties are set when you do in eclipse the Run As -> "Build settings and deploy target..."
Are they duplicated? Which one is the valid one? Are they used in different ways?
I have read the documentation in info center:
But there is no mention to the "Build settings and...".
See this question and answer: worklight server configuration - separating adapters and server
For example:
Create a new application and add the Mobile Web environment > Run on Worklight Development Server deploy. Open Worklight Console and click on "Get application URL". Copy the URL. Go to worklight.properties, change the
publicWorklightPort
to "100"; Go back to console, compare the previous URL with the current.From Javier:
They are not used by the mobile apps. They are shipped with the .war and are used by the .war to provide information to the user like the web url, but the server does not use them for the execution of a mobile app.