- I am building a bat file which automatically adds android environment to my worklight project and produce me with the apk file and worklight
.war
and.wlapp
files to my destined location. - I have completed and everything works fine. i am using
mfp bulid -d
command to build the project and i have modifided the ant file in the MobileFirstServer Generator so that the above command give me.war
file of the project. - Now my requirement is i want to build my project to a remote server so that my project.properties file in the android also gets updated with the
serverip
which i provide and i want to do this with the mobilefirst cli command since i am using a bat file and executing the commands. - I have seen this in the CLI build.xml file so this means if i have a
build.properties
file in my project anywhere i dont know exactly where it will take the ip,root,etc from that file.
XML
<!-- specify properties in this file or loaded from build.properties
<property name="worklight.server.install.dir" value=""/>
<property name="worklight.hostname" value="localhost"/>
<property name="worklight.port" value="10080"/>
<property name="worklight.username" value=""/>
<property name="worklight.password" value=""/>
<property name="worklight.app.dir" value=""/>
<property name="worklight.app.environments" value="common,iphone,android,blackberry10,windowsPhone8,windows8,ipad,mobileWebApp"/>
-->