From eff8f260f8349ddd3597768a777e7ba210919ab4 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 13 Jun 2014 12:04:47 +0100 Subject: [PATCH] Update versions --- README.md | 7 ++++++- application.yml | 4 ++-- static/install.sh | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 53504ae8..9880affb 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Alternatively, download a suitable binary for your platform from [Pivotal Web Se To help avoid a timeout on startup you should upload all the dependencies. You can get those locally by running `spring grab`: - $ spring grab app.groovy + $ spring jar app.groovy this will create a local directory `repository/` with all the jar dependencies. Then when you `cf push` they will be uploaded and used. @@ -56,3 +56,8 @@ Then when you `cf push` they will be uploaded and used. An example Cloud Foundry `manifest.yml` file is provided. You should ensure that the application name and URL (name and host values) are suitable for your environment before running `cf push`. + +Alternatively you can jar up the app and make it executable in any environment. Care is needed with the includes and excludes: + + $ spring jar --include '+templates/*.groovy,+spring/**' --exclude '-**/*.groovy,-**/*.jar,start.jar' start.jar app.groovy + $ cf push -p start.jar -p start.jar -n start diff --git a/application.yml b/application.yml index 8f405037..d0fe1049 100644 --- a/application.yml +++ b/application.yml @@ -1,10 +1,10 @@ info: project: name: Spring Start - version: 0.1.0 + version: 0.2.0 # remember to update static/install.sh as well: spring-boot: - version: 1.1.0.RELEASE + version: 1.1.1.RELEASE projects: styles: diff --git a/static/install.sh b/static/install.sh index a2259204..26a52cd0 100644 --- a/static/install.sh +++ b/static/install.sh @@ -3,7 +3,7 @@ set -e # set -x -VERSION="1.1.0.RELEASE" +VERSION="1.1.1.RELEASE" if [ -z "${PREFIX}" ]; then PREFIX="/usr/local/bin" fi