[GRADLE-2566] Regression with file pattern matching: GStringImpl cannot be cast to String Created: 22/Nov/12 Updated: 17/Nov/14 Resolved: 03/Jan/13 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.3 |
Fix Version/s: | 1.4-rc-1 |
Type: | Bug | ||
Reporter: | Szczepan Faber | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Known Issue Of: |
Description |
Comments |
Comment by Luke Daley [ 22/Nov/12 ] |
From this change: https://github.com/gradle/gradle/commit/037a2d54d5c0493003aa9dc483c712dfa0d83a7b |
Comment by Szczepan Faber [ 22/Nov/12 ] |
I'm wondering if it makes sense to add information about this bug in 'known issues' section in the release notes. |
Comment by Luke Daley [ 22/Nov/12 ] |
We don't really have a way to do that. |
Comment by Adam Murdoch [ 06/Dec/12 ] |
The known issues are all the issues with 'affects version' == the version the release notes are for. We could just dynamically include these issues in the release notes the same way that the fixed issues are. |
Comment by Luke Daley [ 06/Dec/12 ] |
That's what I was thinking. We should add this for 1.4. We could also add it to the deployed 1.3 notes by hand |
Comment by Denys Slipetskyy [ 04/Feb/14 ] |
Just got the same error with Gradle 1.10 Situation: placeholders = ['execUserName' : "${project.execUserName}"] and it gives metioned exception. placeholders = ['execUserName' : "${project.execUserName}".toString()] works like expected. Not sure if it is Flyway plugin specific error. |
Comment by Luke Daley [ 04/Feb/14 ] |
Denys Slipetskyy that will be a specific problem with the flyway plugin. |
Comment by wolfgang häfelinger [ 17/Nov/14 ] |
No, this problem is not related to Flyway. Had quite similar problem using Gradle 1.12 using 'filter(ReplaceTokens, ..)' and the workaround given above - i.e. toString() - solved the problem. |