diff --git a/.classpath b/.classpath index 84016272a..bdf0865f4 100644 --- a/.classpath +++ b/.classpath @@ -65,8 +65,6 @@ - - @@ -119,5 +117,7 @@ + + diff --git a/extensions/gdata/module/MOD-INF/lib/google-api-services-drive-v2-rev168-1.20.0.jar b/extensions/gdata/module/MOD-INF/lib/google-api-services-drive-v2-rev168-1.20.0.jar deleted file mode 100644 index 79ff52bb3..000000000 Binary files a/extensions/gdata/module/MOD-INF/lib/google-api-services-drive-v2-rev168-1.20.0.jar and /dev/null differ diff --git a/extensions/gdata/module/MOD-INF/lib/google-api-services-drive-v3-rev101-1.23.0.jar b/extensions/gdata/module/MOD-INF/lib/google-api-services-drive-v3-rev101-1.23.0.jar new file mode 100644 index 000000000..a20f60fd0 Binary files /dev/null and b/extensions/gdata/module/MOD-INF/lib/google-api-services-drive-v3-rev101-1.23.0.jar differ diff --git a/extensions/gdata/module/MOD-INF/lib/google-api-services-fusiontables-v2-rev21-1.23.0.jar b/extensions/gdata/module/MOD-INF/lib/google-api-services-fusiontables-v2-rev21-1.23.0.jar new file mode 100644 index 000000000..c215965ff Binary files /dev/null and b/extensions/gdata/module/MOD-INF/lib/google-api-services-fusiontables-v2-rev21-1.23.0.jar differ diff --git a/extensions/gdata/module/MOD-INF/lib/google-api-services-fusiontables-v2-rev3-1.20.0.jar b/extensions/gdata/module/MOD-INF/lib/google-api-services-fusiontables-v2-rev3-1.20.0.jar deleted file mode 100644 index 5ef00235d..000000000 Binary files a/extensions/gdata/module/MOD-INF/lib/google-api-services-fusiontables-v2-rev3-1.20.0.jar and /dev/null differ diff --git a/extensions/gdata/src/com/google/refine/extension/gdata/UploadCommand.java b/extensions/gdata/src/com/google/refine/extension/gdata/UploadCommand.java index e81def7ea..f298775ea 100644 --- a/extensions/gdata/src/com/google/refine/extension/gdata/UploadCommand.java +++ b/extensions/gdata/src/com/google/refine/extension/gdata/UploadCommand.java @@ -31,7 +31,6 @@ package com.google.refine.extension.gdata; import java.io.IOException; import java.io.Writer; -import java.net.MalformedURLException; import java.net.URL; import java.util.LinkedList; import java.util.List; @@ -153,11 +152,11 @@ public class UploadCommand extends Command { try { File body = new File(); - body.setTitle(name); + body.setName(name); body.setDescription("Spreadsheet uploaded from OpenRefine project: " + name); body.setMimeType("application/vnd.google-apps.spreadsheet"); - File file = driveService.files().insert(body).execute(); + File file = driveService.files().create(body).execute(); String fileID = file.getId(); // Iterate through all spreadsheets to find one with our ID