Skip to content

Commit

Permalink
Automatically set the sbt-osgi version for the scripted test.
Browse files Browse the repository at this point in the history
  • Loading branch information
szeiger committed May 5, 2014
1 parent c6dd29a commit 8082ec9
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 12 deletions.
2 changes: 2 additions & 0 deletions scripted.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
scriptedSettings

scriptedLaunchOpts += "-Xmx1024m"

scriptedLaunchOpts <+= version apply { v => "-Dproject.version="+v }
3 changes: 1 addition & 2 deletions src/sbt-test/sbt-osgi/test-00-defaults/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0-SNAPSHOT")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % sys.props("project.version"))
3 changes: 1 addition & 2 deletions src/sbt-test/sbt-osgi/test-01-contents/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0-SNAPSHOT")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % sys.props("project.version"))
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0-SNAPSHOT")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % sys.props("project.version"))
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0-SNAPSHOT")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % sys.props("project.version"))
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0-SNAPSHOT")
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % sys.props("project.version"))
3 changes: 1 addition & 2 deletions src/sbt-test/sbt-osgi/test-05-exportJars/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.7.0-SNAPSHOT")

addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % sys.props("project.version"))

0 comments on commit 8082ec9

Please sign in to comment.