File tree 7 files changed +11
-11
lines changed
7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ The `java-buildpack` is a [Cloud Foundry][] buildpack for running JVM-based appl
10
10
To use this buildpack specify the URI of the repository when pushing an application to Cloud Foundry:
11
11
12
12
``` bash
13
- cf push - b https://github.com/cloudfoundry/java-buildpack
13
+ cf push < APP-NAME > -p < ARTIFACT > - b https://github.com/cloudfoundry/java-buildpack.git
14
14
```
15
15
16
16
## Examples
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ The Java Buildpack treats Grails applications as normal Servlet applications bui
5
5
6
6
``` bash
7
7
$ ./grailsw war
8
- $ cf push -m 768M -p target/grails-application-0.1.war -b https://github.com/cloudfoundry/java-buildpack.git
8
+ $ cf push grails-application -m 768M -p target/grails-application-0.1.war -b https://github.com/cloudfoundry/java-buildpack.git
9
9
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
10
10
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.1s)
11
11
-----> Downloading Spring Auto Reconfiguration 0.8.7 from http://.../auto-reconfiguration/auto-reconfiguration-0.8.7.jar (0.0s)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ The Java Buildpack can run Groovy applications written with the [Ratpack framewo
5
5
The following example shows how deploy the sample application located in the [ Java Test Applications] [ j ] .
6
6
7
7
``` bash
8
- $ cf push -b https://github.com/cloudfoundry/java-buildpack.git
8
+ $ cf push groovy-application -b https://github.com/cloudfoundry/java-buildpack.git
9
9
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
10
10
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.3s)
11
11
-----> Downloading Spring Auto Reconfiguration 0.8.7 from http://.../auto-reconfiguration/auto-reconfiguration-0.8.7.jar (0.0s)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja
6
6
7
7
``` bash
8
8
$ gradle build
9
- $ cf push -p build/libs/java-main-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git
9
+ $ cf push java-main-application -p build/libs/java-main-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git
10
10
11
11
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
12
12
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)
@@ -22,7 +22,7 @@ The following example shows how deploy the sample application located in the [Ja
22
22
23
23
``` bash
24
24
$ mvn package
25
- $ cf push -p target/java-main-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git
25
+ $ cf push java-main-application -p target/java-main-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git
26
26
27
27
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
28
28
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja
6
6
7
7
``` bash
8
8
$ play dist
9
- $ cf push -p target/universal/play-application-1.0-SNAPSHOT.zip -b https://github.com/cloudfoundry/java-buildpack.git
9
+ $ cf push play-application -p target/universal/play-application-1.0-SNAPSHOT.zip -b https://github.com/cloudfoundry/java-buildpack.git
10
10
11
11
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
12
12
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)
@@ -23,7 +23,7 @@ The following example shows how deploy the sample application located in the [Ja
23
23
24
24
``` bash
25
25
$ play stage
26
- $ cf push -p target/universal/stage -b https://github.com/cloudfoundry/java-buildpack.git
26
+ $ cf push play-application -p target/universal/stage -b https://github.com/cloudfoundry/java-buildpack.git
27
27
28
28
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
29
29
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja
6
6
7
7
``` bash
8
8
$ gradle build
9
- $ cf push -p build/libs/web-servlet-2-application-1.0.0.BUILD-SNAPSHOT.war -b https://github.com/cloudfoundry/java-buildpack.git
9
+ $ cf push web-servlet-2-application -p build/libs/web-servlet-2-application-1.0.0.BUILD-SNAPSHOT.war -b https://github.com/cloudfoundry/java-buildpack.git
10
10
11
11
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
12
12
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.1s)
@@ -26,7 +26,7 @@ The following example shows how deploy the sample application located in the [Ja
26
26
27
27
``` bash
28
28
$ mvn package
29
- $ cf push -p cf push -p target/web-servlet-2-application-1.0.0.BUILD-SNAPSHOT.war -b https://github.com/cloudfoundry/java-buildpack.git -b https://github.com/cloudfoundry/java-buildpack.git
29
+ $ cf push web-servlet-2-application -p target/web-servlet-2-application-1.0.0.BUILD-SNAPSHOT.war -b https://github.com/cloudfoundry/java-buildpack.git -b https://github.com/cloudfoundry/java-buildpack.git
30
30
31
31
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
32
32
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.1s)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja
6
6
7
7
``` bash
8
8
$ spring grab * .groovy
9
- $ $ cf push -b https://github.com/cloudfoundry/java-buildpack.git
9
+ $ $ cf push spring-boot-cli-application -b https://github.com/cloudfoundry/java-buildpack.git
10
10
11
11
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
12
12
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)
@@ -24,7 +24,7 @@ The following example shows how deploy the sample application located in the [Ja
24
24
25
25
``` bash
26
26
$ spring jar spring-boot-cli-application-1.0.0.BUILD-SNAPSHOT.jar * .groovy
27
- $ cf push -p spring-boot-cli-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git
27
+ $ cf push spring-boot-cli-application -p spring-boot-cli-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git
28
28
29
29
-----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
30
30
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)
You can’t perform that action at this time.
0 commit comments