[GRADLE-731] Change Detection broken for files with a space in the first few characters Created: 06/Nov/09  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 0.9-rc-1

Type: Bug
Reporter: Steve Appling Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


The change detection caching mechanism doesn't seem to work for files that have a space in the first few characters of the name. For example when trying to copy a file using the Copy task that is named "abc d.txt", change detection will throw an exception with a root cause of:
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\sappling\.gradle\caches\0.9-20091106171421-0500\fileHashes\ab\abc \abc d.txt_2c3f1971582743c90f7642656cbc2c0a.bin (The system cannot find the path specified)

I think the "abc " directory is problematic.

Comment by Adam Murdoch [ 08/Nov/09 ]

This should be fixed now.

Comment by Steve Appling [ 08/Nov/09 ]

Thanks Adam - I didn't want to mess with the cache code. I haven't looked at it enough yet.

Generated at Wed Jun 30 11:37:23 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.