How can I use mfpdev-cli upload (deploy) the .adapter?
I need upload the .zip and .adapter in my MFP project
when I call (in root folder)
mfpdev app webupdate --build
and I will get projecet.zip in MobileFirst folder
then, I call (not in root folder)
mfpdev app webupdate --file project.zip
it's success update.
then It the same in adapter
I call (in root folder)
mfpdev adapter build
and get projectAdapte.adapter in target folder
then, how can I upload this projectAdapte.adapter (not in root folder and not use mfpdev adapter deploy )?
If you want deploy an Adapter to the server first build the adapter with command
mfpdev adapter build
-which will generate .adapter file in target folder
To deploy there are two ways
mfpdev adapter deploy
(For this you need to add mfpdev server using mfpdev server add
command )If there are more than adapter to be build and deploy then add all in front of command for ex:
mfpdev adapter deploy all
mfpdev adapter build all
mfpdev app webupdate
is used for direct update feature.
For more details about mfpdev
cli commands see here: MobileFirst CLI to Manage MobileFirst Artifacts.
And for more details about Adapters see here: Developing Adapters