gradle 1.6 zip has 4 copies of gradle-1.6/src/META-INF/services/org.gradle.configuration.ProjectConfigureAction

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! :slight_smile:

Philip

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.

<br /> $ unzip -t gradle-1&#46;6-all&#46;zip | grep ProjectConfigureAction <br />
   testing: gradle-1&#46;6&#47;src&#47;META-INF&#47;services&#47;org&#46;gradle&#46;configuration&#46;ProjectConfigureAction
 OK <br />
   testing: gradle-1&#46;6&#47;src&#47;META-INF&#47;services&#47;org&#46;gradle&#46;configuration&#46;ProjectConfigureAction
 OK <br />
   testing: gradle-1&#46;6&#47;src&#47;org&#47;gradle&#47;configuration&#47;ProjectConfigureAction&#46;java
 OK <br />
   testing: gradle-1&#46;6&#47;src&#47;org&#47;gradle&#47;configuration&#47;PluginsProjectConfigureActions&#46;java
 OK <br />
   testing: gradle-1&#46;6&#47;src&#47;META-INF&#47;services&#47;org&#46;gradle&#46;configuration&#46;ProjectConfigureAction
 OK <br />
   testing: gradle-1&#46;6&#47;src&#47;META-INF&#47;services&#47;org&#46;gradle&#46;configuration&#46;ProjectConfigureAction
 OK <br />

This reply was created from a merged topic originally titled gradle-1.6-all.zip contains duplicate named files.

Just in case others see this, this issue still exists in 1.8-rc1 and is a known bug, GRADLE-2767

inflating: gradle-1.8-rc-1/src/org/gradle/api/plugins/buildcomparison/gradle/internal/ComparableGradleBuildExecuter.java

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

inflating: gradle-1.8-rc-1/src/org/gradle/nativecode/base/plugins/package-info.java

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

inflating: gradle-1.8-rc-1/src/org/gradle/plugins/ear/descriptor/internal/DefaultEarModule.groovy

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