Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

gwt.xml included twice in the JAR #10

Closed
ripla opened this issue Jan 27, 2013 · 1 comment
Closed

gwt.xml included twice in the JAR #10

ripla opened this issue Jan 27, 2013 · 1 comment
Assignees
Labels

Comments

@ripla
Copy link

ripla commented Jan 27, 2013

There's a very odd side-effect in the widgetset task. It copies the gwt.xml file to the build/classes/path/to/widgetset directory from the resource dir. And, if I run the build task which runs widgetset and jar, the JAR includes the gwt.xml from both build/classes/ and build/resources. Afterwards, if I run clean jar it only includes the gwt.xml file once (since the widgetset task isn't run again).

EDIT: my initial assumptions were wrong, this has nothing to do with the java/resource dir gwt.xml checks.

@ghost ghost assigned johndevs Jan 27, 2013
johndevs added a commit that referenced this issue Feb 3, 2013
@johndevs
Copy link
Owner

johndevs commented Feb 3, 2013

The widgetset was updated after Gradle processed the resource files and this is most likely why duplicates ended up in the artifacts. I made the widgetset update process now it's own task which is executed before Gradle processes the resource files and that should resolve the issue. At least after the update I no longer get the duplicates in the jars.

@johndevs johndevs closed this as completed Feb 3, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants