Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.0-RC1: autoImports broken #262

Closed
benmccann opened this issue Apr 14, 2015 · 2 comments
Closed

4.0.0-RC1: autoImports broken #262

benmccann opened this issue Apr 14, 2015 · 2 comments

Comments

@benmccann
Copy link
Contributor

I just tried out 4.0.0-RC1 on a couple projects. I got an unexpected error. I don't see how there are two different types here. They seem equivalent to me.

/home/bmccann/src/xero-java-client/client/build.sbt:32: error: type mismatch;
 found   : com.typesafe.sbteclipse.plugin.EclipsePlugin.autoImport.EclipseProjectFlavor.Value
 required: com.typesafe.sbteclipse.plugin.EclipsePlugin.EclipseProjectFlavor.Value
EclipseKeys.projectFlavor := EclipseProjectFlavor.Java

I put EclipseKeys.projectFlavor := EclipseProjectFlavor.Java in sbteclipse-plugin/src/sbt-test/sbteclipse/03-sbt-dependency-withsources/build.sbt and all the tests still passed, so I'm not sure how to write a test this

@jsuereth any suggestions on fixing this?

@benmccann
Copy link
Contributor Author

@jsuereth @corruptmemory I'm not sure versionWithGit works the way we'd like it to. when i run sbt scripted it publishes 4.0.0-RC1. that seems odd since i'm on master and haven't checked out that tag. doesn't this need to be a -SNAPSHOT version during development?

@benmccann
Copy link
Contributor Author

Nevermind. This appears to be working. I had to do a clean build to get it to work

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

No branches or pull requests

1 participant