I try to push .wlapp to a remote server with the following command.
mfp push rockW510_Local mprod
And i have the following error
Preparing for push... Error: error code: 306 Error: The runtime being pushed to [mprod] is not the same as the application's >runtime [StarterApplication_ionic-release71] Error: INVALIDRUNTIMESCENARIO Error: Push has failed
Is it not possible to push .wlapp, .adapter on a remote server with a different runtime of the local projet ?
Thanks
Update:
The official word is as following:
This behavior is by design. That runtime check was put in place to ensure MFP project based apps were only deployed to the associated project's runtime.
Cordova apps created outside of a MFP project can be deployed to any runtime.
I was able to recreate this the following way:
It failed with the same error.
I then:
The .wlapp file successfully got deployed
So I guess that something in mfp push is failing in this scenario. Or it could be the expected behavior... need to double-check this (in progress...)
In the meanwhile you have the above workaround.