typesafehub/sbteclipse — Issue #55: sbt android project error: a module is not authorized to depend on itself
Author: glenviewjeff
Created: 2011-11-11 17:02:38+00:00
State: open

When trying to run sbt eclipse on the default generated sbt android project, I get the following error: a module is not authorized to depend on itself

I'm not sure if this is an issue in the sbt android plugin or in sbteclispe. To reproduce, follow the instructions at https://github.com/jberkel/android-plugin

Then run sbt eclipse

Thanks!

```
sbt eclipse
[info] Loading project definition from D:\Workspaces\NeverForget\my-android-project\project\plugins
[info] Set current project to My Android Project (in build file:/D:/Workspaces/NeverForget/my-android-project/)
[info] About to create an Eclipse project for you.
[info] Please hang on, because it might be necessary to perform one or more updates and this might take some time ...
[info] Updating {file:/D:/Workspaces/NeverForget/my-android-project/}tests...
[error] a module is not authorized to depend on itself: my-android-project#my-android-project_2.9.0-1;0.1
[error] {file:/D:/Workspaces/NeverForget/my-android-project/}tests/*:update: java.lang.IllegalArgumentException: a module is not authorized to depend on itself: my-android-project#my-android-project_2.9.0-1;0.1
[error] Error running externalDependencyClasspath task for tests
[Jeff@officepc ~/Eclipse/my-android-project]$
```