This content has been marked as final.
Show 3 replies
-
1. Re: How to use CLI to add a deployed App into a group ?
ssilvert May 4, 2012 10:12 AM (in response to xinhua)deploy --name=MyDeployment --server-groups=group1,group2
Stan
-
2. Re: How to use CLI to add a deployed App into a group ?
xinhua May 4, 2012 10:44 AM (in response to ssilvert)Ah , it was my mistake :
deploy /home/me/MyApp --server-groups=group1
so i got the exception : MyApp exists already ....
surely, "--name" is for deployed app
thanks!
-
3. Re: How to use CLI to add a deployed App into a group ?
ssilvert May 4, 2012 1:41 PM (in response to xinhua)You can also use --name the first time you deploy the app. In that case you are saying that you don't want the name to be the same as the deployable's file name. This is especially handy when you want to deploy two versions of the same app.
deploy /home/me/MyApp.war --name=MyApp-version2
Stan