diff --git a/README.md b/README.md index e290e5710f..86c10be6f4 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The `java-buildpack` is a [Cloud Foundry][] buildpack for running JVM-based appl To use this buildpack specify the URI of the repository when pushing an application to Cloud Foundry: ```bash -cf push -b https://github.com/cloudfoundry/java-buildpack +cf push -p -b https://github.com/cloudfoundry/java-buildpack.git ``` ## Examples diff --git a/docs/example-grails.md b/docs/example-grails.md index 3d37e3cbbb..41f60581fc 100644 --- a/docs/example-grails.md +++ b/docs/example-grails.md @@ -5,7 +5,7 @@ The Java Buildpack treats Grails applications as normal Servlet applications bui ```bash $ ./grailsw war -$ cf push -m 768M -p target/grails-application-0.1.war -b https://github.com/cloudfoundry/java-buildpack.git +$ cf push grails-application -m 768M -p target/grails-application-0.1.war -b https://github.com/cloudfoundry/java-buildpack.git -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.1s) -----> Downloading Spring Auto Reconfiguration 0.8.7 from http://.../auto-reconfiguration/auto-reconfiguration-0.8.7.jar (0.0s) diff --git a/docs/example-groovy.md b/docs/example-groovy.md index eddb7537b2..67fdb8584b 100644 --- a/docs/example-groovy.md +++ b/docs/example-groovy.md @@ -5,7 +5,7 @@ The Java Buildpack can run Groovy applications written with the [Ratpack framewo The following example shows how deploy the sample application located in the [Java Test Applications][j]. ```bash -$ cf push -b https://github.com/cloudfoundry/java-buildpack.git +$ cf push groovy-application -b https://github.com/cloudfoundry/java-buildpack.git -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.3s) -----> Downloading Spring Auto Reconfiguration 0.8.7 from http://.../auto-reconfiguration/auto-reconfiguration-0.8.7.jar (0.0s) diff --git a/docs/example-java_main.md b/docs/example-java_main.md index cbeb4ebb98..d10769fff3 100644 --- a/docs/example-java_main.md +++ b/docs/example-java_main.md @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja ```bash $ gradle build -$ cf push -p build/libs/java-main-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git +$ 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 -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) 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 ```bash $ mvn package -$ cf push -p target/java-main-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git +$ cf push java-main-application -p target/java-main-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s) diff --git a/docs/example-play_framework.md b/docs/example-play_framework.md index 88755b05b5..a6d5133a1d 100644 --- a/docs/example-play_framework.md +++ b/docs/example-play_framework.md @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja ```bash $ play dist -$ cf push -p target/universal/play-application-1.0-SNAPSHOT.zip -b https://github.com/cloudfoundry/java-buildpack.git +$ cf push play-application -p target/universal/play-application-1.0-SNAPSHOT.zip -b https://github.com/cloudfoundry/java-buildpack.git -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) 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 ```bash $ play stage -$ cf push -p target/universal/stage -b https://github.com/cloudfoundry/java-buildpack.git +$ cf push play-application -p target/universal/stage -b https://github.com/cloudfoundry/java-buildpack.git -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s) diff --git a/docs/example-servlet.md b/docs/example-servlet.md index 49d75b06ed..d7a212dfd3 100644 --- a/docs/example-servlet.md +++ b/docs/example-servlet.md @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja ```bash $ gradle build -$ cf push -p build/libs/web-servlet-2-application-1.0.0.BUILD-SNAPSHOT.war -b https://github.com/cloudfoundry/java-buildpack.git +$ 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 -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) 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 ```bash $ mvn package -$ 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 +$ 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 -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.1s) diff --git a/docs/example-spring_boot_cli.md b/docs/example-spring_boot_cli.md index 465fb9116c..b369aba780 100644 --- a/docs/example-spring_boot_cli.md +++ b/docs/example-spring_boot_cli.md @@ -6,7 +6,7 @@ The following example shows how deploy the sample application located in the [Ja ```bash $ spring grab *.groovy -$ $ cf push -b https://github.com/cloudfoundry/java-buildpack.git +$ $ cf push spring-boot-cli-application -b https://github.com/cloudfoundry/java-buildpack.git -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) 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 ```bash $ spring jar spring-boot-cli-application-1.0.0.BUILD-SNAPSHOT.jar *.groovy -$ cf push -p spring-boot-cli-application-1.0.0.BUILD-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git +$ 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 -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s) Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)