Is there any way that I can deploy a .war file from a remote machine by giving the ip address and port number of the ibm mobilefirst server using configure.xml ant script? In the configure.xml script I need to give path of the server directory and many more path specific to server though while deployment of .adapter and .wlapp I am able to do remotely.
Can anyone help me out with this. Configuration of server are : Application server used is WAS v.8.5.5.5, Mobile first server 7, derby database
You are slightly confused... It's like this:
This explains why you can deploy the .wlapp and .adapter remotely to MobileFirst Server, because it's a server and is supposed to be also accessible via the web (if setup properly).
But the .war file is an artifact that is deployed to the underlying application server (WebSphere Liberty) that runs everything, you cannot deploy it remotely - certainly not via MobileFirst Console.
If you want to attempt to remote deploy it via Ant, you can look at this question: Using Ant to deploy EAR to remote websphere application server (same concept).