[GRADLE-2767] gradle 1.6 zip has 4 copies of gradle-1.6/src/META-INF/services/org.gradle.configuration.ProjectConfigureAction Created: 07/May/13  Updated: 20/Nov/13  Resolved: 15/Sep/13

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

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Fixed Votes: 5

Attachments: PNG File Gradle-7zip-unzip-error.png     PNG File Gradle-Win7-unzip-error.png    
Issue Links:
Duplicate
Duplicates GRADLE-2884 Duplicate files in the Gradle 'all' d... Resolved

 Description   

The gradle-1.6-all.zip looks like it contains 3 duplicate copies of
gradle-1.6/src/META-INF/services/org.gradle.configuration.ProjectConfigureAction.

or at least unzip complains like this:

replace gradle-1.6/src/META-INF/services/org.gradle.configuration.ProjectConfigureAction? [y]es, [n]o, [A]ll, [N]one, [r]ename:

replace gradle-1.6/src/META-INF/services/org.gradle.configuration.ProjectConfigureAction? [y]es, [n]o, [A]ll, [N]one, [r]ename:

replace gradle-1.6/src/META-INF/services/org.gradle.configuration.ProjectConfigureAction? [y]es, [n]o, [A]ll, [N]one, [r]ename:

Doubt this really effects anything as it is in src/META_INF, but doesn't give prospective users a warm and fuzzy feeling if gradle has trouble cleanly creating a zip of itself. Bad tasting dog food!

Philip



 Comments   
Comment by Gradle Forums [ 07/May/13 ]

Thanks for letting us know. The duplication in the zip is the (correct) result of merging the source trees of all Gradle subprojects. Looks like we'll have to find a better way to organize sources in the distribution.

Comment by Aaron Arnett [ 07/Aug/13 ]

This issue persists with the 1.7 zip distribution.

It should be noted that on Windows this causes the Windows unzip to progress VERY slowly prior to displaying the error and causes 7-zip to hang hard (requiring a Task Manager kill of the process)

While probably not affecting the actual usage of Gradle, this is a very unfavorable initial experience and raises some obvious questions as to its reliability.

Comment by Aaron Arnett [ 07/Aug/13 ]

Error screens users see when trying to unzip the zip distribution on Windows 7 using native unzip or 7-zip.

Comment by Matthew Hussey [ 16/Aug/13 ]

I'm new to gradle today, which of the 4 files should I use? I have 1.7.

Comment by Khai Dinh [ 22/Aug/13 ]

They all have the same content below. The file size is different for each within the zip, which seems strange, but maybe due to different encoding.

org.gradle.plugins.ide.internal.tooling.ToolingRegistrationAction

Comment by Kevin Markey [ 11/Sep/13 ]

No. All 4 files have different content... In order of unzipping

1. org.gradle.api.plugins.buildcomparison.outcome.internal.tooling.ToolingRegistrationAction
2. org.gradle.buildsetup.plugins.internal.BuildSetupAutoApplyAction
3. org.gradle.buildsetup.plugins.internal.WrapperPluginAutoApplyAction
4. org.gradle.api.plugins.internal.HelpTasksAutoApplyActionorg.gradle.plugins.ide.internal.tooling.ToolingRegistrationAction

Enjoy...

Comment by Peter Niederwieser [ 12/Sep/13 ]

Confirmed that 1.8-rc-1 still has duplicated files.

Comment by Khai Dinh [ 12/Sep/13 ]

Ah, my mistake. Trying to extract one of the duplicate files using Ubuntu's Archive Manager gives me the same file each time, no matter which one I pick. Explains my confusion over the different file sizes. Thanks for clearing this up.

Comment by Aaron Arnett [ 20/Nov/13 ]

1.9 does not appear to exhibit this problem and unzips without complaint from 7-zip

Generated at Wed Jun 30 12:30:57 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.