Update versions

This commit is contained in:
Dave Syer
2014-06-13 12:04:47 +01:00
parent f75833c488
commit eff8f260f8
3 changed files with 9 additions and 4 deletions

View File

@@ -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. To help avoid a timeout on startup you should upload all the dependencies.
You can get those locally by running `spring grab`: 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. this will create a local directory `repository/` with all the jar dependencies.
Then when you `cf push` they will be uploaded and used. 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 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 the application name and URL (name and host values) are suitable for your environment
before running `cf push`. 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

View File

@@ -1,10 +1,10 @@
info: info:
project: project:
name: Spring Start name: Spring Start
version: 0.1.0 version: 0.2.0
# remember to update static/install.sh as well: # remember to update static/install.sh as well:
spring-boot: spring-boot:
version: 1.1.0.RELEASE version: 1.1.1.RELEASE
projects: projects:
styles: styles:

View File

@@ -3,7 +3,7 @@
set -e set -e
# set -x # set -x
VERSION="1.1.0.RELEASE" VERSION="1.1.1.RELEASE"
if [ -z "${PREFIX}" ]; then if [ -z "${PREFIX}" ]; then
PREFIX="/usr/local/bin" PREFIX="/usr/local/bin"
fi fi