Skip to content

Commit f0d713d

Browse files
jean-philippe-martinmziccard
authored andcommitted
---
yaml --- r: 7393 b: refs/heads/tswast-patch-1 c: 46596d6 h: refs/heads/master i: 7391: 68a3094
1 parent c1df0ce commit f0d713d

7 files changed

Lines changed: 27 additions & 27 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: d5cf00629c7e448d2a02847012e887b10970bdfb
60+
refs/heads/tswast-patch-1: 46596d67ec0d67d10b37c92ea9a59653a021d147
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/gcloud-java-examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ libraryDependencies += "com.google.cloud" % "gcloud-java-examples" % "0.2.4"
3333

3434
To run examples from your command line:
3535

36-
1. Login using gcloud SDK (`gcloud auth login` in command line)
36+
1. Log in using gcloud SDK (`gcloud auth login` in command line)
3737

3838
2. Set your current project using `gcloud config set project PROJECT_ID`. This step is not necessary for `ResourceManagerExample`.
3939

branches/tswast-patch-1/gcloud-java-examples/src/main/java/com/google/cloud/examples/bigquery/BigQueryExample.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@
6060
*
6161
* <p>Steps needed for running the example:
6262
* <ol>
63-
* <li>login using gcloud SDK - {@code gcloud auth login}.</li>
64-
* <li>compile using maven - {@code mvn compile}</li>
65-
* <li>run using maven -
66-
* <pre>{@code mvn exec:java -Dexec.mainClass="com.google.cloud.examples.bigquery.BigQueryExample"
67-
* -Dexec.args="[<project_id>]
63+
* <li>log in using gcloud SDK - {@code gcloud auth login}.</li>
64+
* <li>compile using maven - {@code cd gcloud-java-examples;
65+
* mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true}
66+
* </li>
67+
* <li>run -
68+
* <pre>{@code target/appassembler/bin/BigQueryExample [<project_id>]
6869
* list datasets |
6970
* list tables <dataset> |
7071
* list jobs |

branches/tswast-patch-1/gcloud-java-examples/src/main/java/com/google/cloud/examples/datastore/DatastoreExample.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,11 @@
4343
*
4444
* <p>Steps needed for running the example:<ol>
4545
* <li>login using gcloud SDK - {@code gcloud auth login}.</li>
46-
* <li>compile using maven - {@code mvn compile}</li>
47-
* <li>run using maven -
48-
* <pre>{@code mvn exec:java -Dexec.mainClass="com.google.cloud.examples.datastore.DatastoreExample"
49-
* -Dexec.args="<project_id> <user>
50-
* delete |
51-
* display |
52-
* add <comment> |
53-
* set <email> <phone>}</pre>
46+
* <li>compile using maven - {@code cd gcloud-java-examples;
47+
* mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true}
5448
* </li>
49+
* <li>run - {@code target/appassembler/bin/DatastoreExample
50+
* [projectId] [user] [delete|display|add comment|set <email> <phone>]}</li>
5551
* </ol>
5652
*
5753
* <p>If no action is provided {@code display} is executed.

branches/tswast-patch-1/gcloud-java-examples/src/main/java/com/google/cloud/examples/nio/Stat.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
* or you can directly pass in a GCS file name to use. In that case you have to
2020
* be logged in (using e.g. the gcloud auth command).
2121
*
22-
* <p>See the README for a command line to run this example.
22+
* <p>See the README for compilation instructions. Run this code with
23+
* {@code target/appassembler/bin/Stat --help | --check | --list | <file>}
2324
*
2425
* <p>In short, this version (in gcloud-java-examples) is in a package that lists gcloud-java-nio
2526
* as a dependency, so it will work directly without having to do any special work.

branches/tswast-patch-1/gcloud-java-examples/src/main/java/com/google/cloud/examples/resourcemanager/ResourceManagerExample.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@
3232
*
3333
* <p>This example creates, deletes, gets, and lists projects.
3434
*
35-
* <p> Steps needed for running the example:<ol>
36-
* <li>login using gcloud SDK - {@code gcloud auth login}.</li>
37-
* <li>compile using maven - {@code mvn compile}</li>
38-
* <li>run using maven - {@code mvn exec:java
39-
* -Dexec.mainClass="com.google.cloud.examples.resourcemanager.ResourceManagerExample"
40-
* -Dexec.args="[list | [create | delete | get] projectId]"}</li>
35+
* <p>Steps needed for running the example:<ol>
36+
* <li>log in using gcloud SDK - {@code gcloud auth login}.</li>
37+
* <li>compile using maven - {@code cd gcloud-java-examples;
38+
* mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true}
39+
* </li>
40+
* <li>run - {@code target/appassembler/bin/ResourceManagerExample
41+
* [list | [create | delete | get] projectId]}</li>
4142
* </ol>
4243
*/
4344
public class ResourceManagerExample {

branches/tswast-patch-1/gcloud-java-examples/src/main/java/com/google/cloud/examples/storage/StorageExample.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@
6666
*
6767
* <p>Steps needed for running the example:
6868
* <ol>
69-
* <li>login using gcloud SDK - {@code gcloud auth login}.</li>
70-
* <li>compile using maven - {@code mvn compile}</li>
71-
* <li>run using maven -
72-
* <pre>{@code mvn exec:java -Dexec.mainClass="com.google.cloud.examples.storage.StorageExample"
73-
* -Dexec.args="[<project_id>]
69+
* <li>log in using gcloud SDK - {@code gcloud auth login}.</li>
70+
* <li>compile using maven - {@code cd gcloud-java-examples;
71+
* mvn package appassembler:assemble -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true}
72+
* </li>
73+
* <li>run -
74+
* <pre>{@code target/appassembler/bin/StorageExample [<project_id>]
7475
* list [<bucket>] |
7576
* info [<bucket> [<file>]] |
7677
* download <bucket> <path> [local_file] |

0 commit comments

Comments
 (0)