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

A first stab at Eclipse support #19

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Initial stab at Eclipse support
  • Loading branch information
chids committed May 10, 2011
commit 2fc122a602a48398bcadd1bfc971d027bdc2353c
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ target
project/plugins/project/
project/plugins/src_managed/
docs/build
.classpath
.project
bin
2 changes: 2 additions & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ project.version=2.0.0-BETA13-SNAPSHOT
def.scala.version=2.7.7
build.scala.versions=2.8.1 2.9.0.RC1 2.9.0.RC2 2.9.0.RC3 2.9.0.RC4
project.initialize=false
eclipse.name=metrics
eclipse.project.nature=java
3 changes: 2 additions & 1 deletion project/build/MetricsProject.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import sbt._
import maven._
import de.element34.sbteclipsify._

class MetricsProject(info: ProjectInfo) extends ParentProject(info) with IdeaProject with MavenDependencies {
lazy val publishTo = Resolver.sftp("repo.codahale.com", "codahale.com", "/home/codahale/repo.codahale.com/")
Expand All @@ -18,7 +19,7 @@ class MetricsProject(info: ProjectInfo) extends ParentProject(info) with IdeaPro

lazy val logback = project("logback", "metrics-logback", new LogbackProject(_), core)

class CoreProject(info: ProjectInfo) extends DefaultProject(info) with MavenDependencies with IdeaProject {
class CoreProject(info: ProjectInfo) extends DefaultProject(info) with MavenDependencies with IdeaProject with Eclipsify {
lazy val publishTo = Resolver.sftp("repo.codahale.com", "codahale.com", "/home/codahale/repo.codahale.com/")

/**
Expand Down
2 changes: 2 additions & 0 deletions project/plugins/Plugins.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ class Plugins(info: sbt.ProjectInfo) extends sbt.PluginDefinition(info) {

val codaRepo = "Coda Hale's Repository" at "http://repo.codahale.com/"
val mavenSBT = "com.codahale" % "maven-sbt" % "0.1.1"

val SBTeclipse = "de.element34" % "sbt-eclipsify" % "0.7.0"
}