Skip to content

Commit 2f31b73

Browse files
committed
Adds instructions for Windows and upgrades client library versions.
1 parent ead4ce1 commit 2f31b73

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

video/cloud-client/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,12 @@ Detect Shots
5959
java -cp target/video-google-cloud-samples-1.0.0-jar-with-dependencies.jar \
6060
com.example.video.Detect shots gs://cloudmleap/video/next/gbikes_dinosaur.mp4
6161
```
62+
63+
From Windows, you may need to supply your classpath diferently, for example:
64+
```
65+
java -cp target\\video-google-cloud-samples-1.0.0-jar-with-dependencies.jar com.example.video.Detect labels gs://demomaker/cat.mp4
66+
```
67+
or
68+
```
69+
java -cp target\\video-google-cloud-samples-1.0.0-jar-with-dependencies.jar com.example.video.Detect labels-file resources/cat.mp4
70+
```

video/cloud-client/pom.xml

+1-13
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,12 @@
4343
<dependency>
4444
<groupId>com.google.cloud</groupId>
4545
<artifactId>google-cloud</artifactId>
46-
<version>0.18.0-alpha</version>
47-
<exclusions>
48-
<exclusion> <!-- exclude an old version of Guava -->
49-
<groupId>com.google.guava</groupId>
50-
<artifactId>guava-jdk5</artifactId>
51-
</exclusion>
52-
</exclusions>
46+
<version>0.20.0-alpha</version>
5347
</dependency>
5448
<dependency>
5549
<groupId>com.google.cloud</groupId>
5650
<artifactId>google-cloud-video-intelligence</artifactId>
5751
<version>0.20.0-alpha</version>
58-
<exclusions>
59-
<exclusion> <!-- exclude an old version of Guava -->
60-
<groupId>com.google.guava</groupId>
61-
<artifactId>guava-jdk5</artifactId>
62-
</exclusion>
63-
</exclusions>
6452
</dependency>
6553
<dependency>
6654
<groupId>com.google.auth</groupId>

0 commit comments

Comments
 (0)