Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails #85

Closed
denov opened this issue May 3, 2016 · 3 comments
Closed

build fails #85

denov opened this issue May 3, 2016 · 3 comments

Comments

@denov
Copy link

denov commented May 3, 2016

I'm seeing a couple issues with the build. Doing

gradlew clean
gradlew build

the schemaZip task doesn't generate anything.

Failed to capture snapshot of input files for task 'distZip' during up-to-date check.
> java.io.FileNotFoundException: spring-social-google\build\distributions\spring-social-google-1.0.1.BUILD-SNAPSHOT-schema.zip (The system cannot find the file specified)

if I comment out the use of this in distZip task it continues till it fails on a few tests. these test pass if i run them from inside Idea.

org.springframework.social.google.api.calendar.CalendarTemplate_CalendarUrlTests > getCalendar_escaped FAILED
    java.lang.AssertionError at CalendarTemplate_CalendarUrlTests.java:170

org.springframework.social.google.api.calendar.CalendarTemplate_EventUrlTests > getEvent_escape_calendarId FAILED
    java.lang.AssertionError at CalendarTemplate_EventUrlTests.java:515

org.springframework.social.google.api.calendar.CalendarTemplate_EventUrlTests > listEvents_escape_calendarId FAILED
    java.lang.AssertionError at CalendarTemplate_EventUrlTests.java:468

org.springframework.social.google.api.calendar.CalendarTemplate_EventUrlTests > listEvents_primary_fromPage_escaping FAILED
    java.lang.AssertionError at CalendarTemplate_EventUrlTests.java:100

org.springframework.social.google.api.calendar.CalendarTemplate_EventUrlTests > listEvents_escape_pageToken FAILED
    java.lang.AssertionError at CalendarTemplate_EventUrlTests.java:485

i'm on win7x64

@patons02
Copy link

patons02 commented Dec 8, 2016

I believe this is to do with the default file encoding differences between Windows and Linux. Windows favours a windows-1252 encoding, whereby we are expecting these classes to use a UTF-8 encoding.

One solution to this is to encode the calendarId and eventId fields within the tests and to append it to the end of the URL.

@patons02
Copy link

patons02 commented Dec 8, 2016

Added pull request #93 for this.

@mlaccetti
Copy link
Collaborator

Since the PR was merged, I'll close this. Reopen if not fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants