Permalink
Browse files

GPCLOUDFOUNDRY-3 displaying all associated urls when starting

  • Loading branch information...
1 parent bb06a71 commit fe832953415cd3ec4d29b4c65a3149dd3c48d82a @burtbeckwith burtbeckwith committed Jul 13, 2011
Showing with 9 additions and 1 deletion.
  1. +9 −1 scripts/CfStart.groovy
View
@@ -87,7 +87,15 @@ target(cfStart: 'Start an application') {
}
}
- println "\nApplication '$application.name' started.\n"
+ def urls = new StringBuilder()
+ String delimiter = ''
+ for (String uri in application.uris) {
+ urls.append delimiter
+ urls.append 'http://'
+ urls.append uri
+ delimiter = ', '
+ }
+ println "\nApplication '$application.name' started at $urls\n"
}
}

0 comments on commit fe83295

Please sign in to comment.