mateilles718 / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Apparent mismatch between download and setup instructions, google-api-java-client-1.17.0-rc.zip, CalendarSample.java #849

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-api-java-client (e.g. 1.15.0-rc)?

1.17.0-rc

Java environment (e.g. Java 6, Android 2.3, App Engine)?

App Engine, Eclipse Kepler, Java 7, OS X 

Describe the problem.

google-api-java-client download and setup instructions [1] (updated Sept 12, 
2013) list the following jars under “required for general purpose Java 5 
applications”:

  google-api-client-1.17.0-rc.jar
  google-oauth-client-1.17.0-rc.jar
  google-http-client-1.17.0-rc.jar
  commons-logging-1.1.1.jar  
  gson-2.1.jar
  httpclient-4.0.3.jar
  httpcore-4.0.1.jar
  jackson-core-asl-1.9.4.jar
  jackson-core-2.1.3.jar
  jsr305-1.3.9.jar
  protobuf-java-2.2.0.jar
  xpp3-1.1.4c.jar

This apparently contradicts other items in part:

1. google-api-java-client-1.17.0-rc.zip [2] (uploaded Sept 12, 2013; apparently 
the latest version available for download) contains some jars with different 
version numbers

  httpclient-4.0.1.jar (i.e. older than  httpclient-4.0.3.jar)
  jackson-core-asl-1.9.11.jar
  protobuf-java-2.4.1.jar

2. CalendarSample.java [3] (updated Aug 23, 2013; linked from [1] via Libraries 
and Samples | Calendar API | content has moved ... | Calendar API v3 | 
calendar-cmdline-sample | CalendarSample.java) employs 
com.google.api.client.json.jackson2.JacksonFactory. 

None of the listed jars (in their respective versions included in [2]) seems to 
include this JacksonFactory, so one can into compilation errors when following 
the verbatim download and setup instructions.

How would you expect it to be fixed?

Perhaps google-http-client-jackson2-1.17.0-rc.jar should be added to the list 
in [1].

[1] http://code.google.com/p/google-api-java-client/wiki/Setup
[2] http://code.google.com/p/google-api-java-client/downloads/list
[3] 
http://code.google.com/p/google-api-java-client/source/browse/calendar-cmdline-s
ample/src/main/java/com/google/api/services/samples/calendar/cmdline/CalendarSam
ple.java?repo=samples

Original issue reported on code.google.com by tiptopl...@gmail.com on 17 Dec 2013 at 1:14

GoogleCodeExporter commented 9 years ago
Updated dependency library versions. Revision: 7aa8619dc5dc.

Added google-http-client-jackson2-1.17.0-rc.jar as a dependency. Revision: 
99fc25bb6653.

Original comment by wonder...@google.com on 28 Feb 2014 at 6:58

GoogleCodeExporter commented 9 years ago
I'll handle this one.
https://code.google.com/p/google-api-java-client/source/detail?r=99fc25bb66531b1
6041b1fd5a50c493367dfde3d&repo=wiki
https://code.google.com/p/google-api-java-client/source/detail?r=7aa8619dc5dc580
e430db2027fb9380078718c18&repo=wiki

Original comment by wonder...@google.com on 3 Mar 2014 at 9:11