How to remove an environment from the project?

僤鯓⒐⒋嵵緔 提交于 2020-01-02 06:23:19

问题


Is it possible to remove a mobile environment from the project like say Blackberry and Adobe Air environments. For instance

mobilefirst add environment

helps to add environment, but is there a command to remove an environment?


回答1:


The CLI does not have a command to "remove an environment".
You can submit feature requests, here: https://developer.ibm.com/mobilefirstplatform/help/

Your only alternative is:

  1. Navigate to the application folder and delete the environment directory as you would remove any other directory/folder in a filesystem from command line.

    • Windows: http://www.sevenforums.com/tutorials/55721-folder-delete-command-prompt.html
    • Linux/Mac: http://www.macworld.com/article/2082021/master-the-command-line-deleting-files-and-folders.html

  2. You can then optionally also edit application-descriptor.xml to remove it from there as well (not removing it will trigger a warning).


来源:https://stackoverflow.com/questions/27799492/how-to-remove-an-environment-from-the-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!