Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Error thrown when eclipse plugin applied before gwt plugin #25

Closed
strootman opened this issue Mar 7, 2014 · 2 comments
Closed

Error thrown when eclipse plugin applied before gwt plugin #25

strootman opened this issue Mar 7, 2014 · 2 comments

Comments

@strootman
Copy link

I tested this on master (486087b).
From a fresh clone, I ran gradlew publish. No problems.

Then I went into the war-using-library sample project's build.gradle file, moving the apply plugin: 'eclipse' line before the gwt plugin apply.
After executing a gradlew tasks, I receive the following error:

> Cannot add extension with name 'gwt', as there is an extension already registered with that name.

This seems to only happen with the eclipse plugin, because I tried unsuccessfully to reproduce this error with the war plugin.

I didn't see anything obvious in the code, but I plan to dive a little deeper later on.

@steffenschaefer
Copy link
Owner

Thank you for the bug report :)
Should be fixed on master. This was due to a circular dependency of two plugins. As the GwtEclipsePlugin wasn't ever intended to be directly used (it was only introduced for separating the Eclipse related stuff from the other stuff) it isn't a real plugin anymore.

@strootman
Copy link
Author

I pulled the changes and tested on master. Looks good!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants