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

Installation description in README.textile is a little short #9

Closed
192709 opened this Issue Jun 18, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@192709

192709 commented Jun 18, 2011

It took me a while to find out what is meant with the line
"... First add the plugin to your global plugins project ~/.sbt/plugins. Pay attention to add the resolver and libraryDependency like shown below! ..." in the README.textile.

I propose to give a little more instructions - e.g. as follows (that at least worked for me) :

  • install git (anyway a good idea)
  • in your homefolder create folder .sbt with subfolder plugins (mkdir ~/.sbt/plugins)
  • install the plugin by
    downloading (git clone https://github.com/typesafehub/sbteclipse.git)
    and
    creating a file nambed build.sbt with that content:
    resolvers += {
    val typesafeRepoUrl = new java.net.URL("http://repo.typesafe.com/typesafe/releases")
    val pattern = Patterns(false, "[organisation]/[module]/[sbtversion]/[revision]/[type]s/module-[revision].[ext]")
    Resolver.url("Typesafe Repository", typesafeRepoUrl)(pattern)
    }

libraryDependencies <<= (libraryDependencies, sbtVersion) { (deps, version) =>
deps :+ ("com.typesafe.sbteclipse" %% "sbteclipse" % "1.1" extra("sbtversion" -> version))
}

Best Regards,
Marcus

@hseeberger

This comment has been minimized.

Show comment
Hide comment
@hseeberger

hseeberger Jun 20, 2011

Member

Hi Marcus,

Thanks for your suggestions!
Unfortunately the steps you describe are not necessary at all. You only have to create the directory ~/.sbt/plugins with the file build.sbt.
I will try to improve this, though.

Heiko

Member

hseeberger commented Jun 20, 2011

Hi Marcus,

Thanks for your suggestions!
Unfortunately the steps you describe are not necessary at all. You only have to create the directory ~/.sbt/plugins with the file build.sbt.
I will try to improve this, though.

Heiko

@hseeberger hseeberger closed this Jun 20, 2011

@192709

This comment has been minimized.

Show comment
Hide comment
@192709

192709 Jun 20, 2011

Dear Heiko,

thank you for clarification.

Marcus

192709 commented Jun 20, 2011

Dear Heiko,

thank you for clarification.

Marcus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment