Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove an environment from the project?

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?

like image 772
Futur Avatar asked Mar 18 '23 10:03

Futur


1 Answers

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).
like image 95
Idan Adar Avatar answered May 16 '23 07:05

Idan Adar