title: Deploy WAR file to WAS. worklight.properties
body: <p>Version: Worklight 6.0</p>
  
  <p>I'm following the instructions in infocenter for deploying the war file to a standalone websphere application server 8.5 and there is one step that I do not understand.</p>
  
  <p><a href="http://pic.dhe.ibm.com/infocenter/wrklight/v6r0m0/index.jsp?topic=%2Fcom.ibm.worklight.help.doc%2Fdevref%2Fc_ant_tasks_sample_config_files.html" rel="nofollow">http://pic.dhe.ibm.com/infocenter/wrklight/v6r0m0/index.jsp?topic=%2Fcom.ibm.worklight.help.doc%2Fdevref%2Fc_ant_tasks_sample_config_files.html</a></p>
  
  <p><em>Step 5.
  In the configureapplicationserver and unconfigureapplicationserver invocations (in target install and uninstall), define Worklight properties. For a list of properties that can be set, see Configuration of IBM Worklight applications on the server. In production, you must often define the following specific properties:
      publicWorkLightHostname
      publicWorkLightProtocol
      publicWorkLightPort</em></p>
  
  <p>In configureapplicationserver/unconfigureapplicationserver those properties do not exist, how do I define them and where and how do I use them in the ant file?</p>
  
  <p>Or does this mean that before using this ant script I have to change the values of those properties in the worklight.properties file and (automatically) generate the WAR file? If this is the case I think it is not clear.</p>
  
  <p>Thank you.</p>