Skip to content
Browse files

org.scala-tools.sbt -> org.scala-sbt and dropping scala-tools.org fro…

…m defaults
  • Loading branch information...
1 parent 9e12854 commit 8085fbbb5a8aceed80187db40e4887f691e010ca @harrah committed Jan 22, 2012
View
2 ivy/ComponentManager.scala
@@ -61,7 +61,7 @@ class ComponentManager(globalLock: xsbti.GlobalLock, provider: xsbti.ComponentPr
/** Retrieve the file for component 'id' from the local repository. */
private def update(id: String): Unit = ivyCache.withCachedJar(sbtModuleID(id), Some(globalLock), log)(jar => define(id, Seq(jar)) )
- private def sbtModuleID(id: String) = ModuleID("org.scala-tools.sbt", id, ComponentManager.stampedVersion)
+ private def sbtModuleID(id: String) = ModuleID("org.scala-sbt", id, ComponentManager.stampedVersion)
/** Install the files for component 'id' to the local repository. This is usually used after writing files to the directory returned by 'location'. */
def cache(id: String): Unit = ivyCache.cacheJar(sbtModuleID(id), file(id)(IfMissing.Fail), Some(globalLock), log)
def clearCache(id: String): Unit = lockGlobalCache { ivyCache.clearCachedJar(sbtModuleID(id), Some(globalLock), log) }
View
2 ivy/ConflictWarning.scala
@@ -5,7 +5,7 @@ package sbt
final case class ConflictWarning(label: String, filter: ModuleFilter, group: ModuleID => String, level: Level.Value, failOnConflict: Boolean)
object ConflictWarning
{
- def default(label: String): ConflictWarning = ConflictWarning(label, moduleFilter(organization = GlobFilter("org.scala-tools.sbt") | GlobFilter("org.scala-lang")), (_: ModuleID).organization, Level.Warn, false)
+ def default(label: String): ConflictWarning = ConflictWarning(label, moduleFilter(organization = GlobFilter("org.scala-sbt") | GlobFilter("org.scala-lang")), (_: ModuleID).organization, Level.Warn, false)
def apply(config: ConflictWarning, report: UpdateReport, log: Logger)
{
View
5 ivy/IvyInterface.scala
@@ -199,8 +199,7 @@ object Resolver
def withDefaultResolvers(userResolvers: Seq[Resolver], mavenCentral: Boolean, scalaTools: Boolean): Seq[Resolver] =
Seq(Resolver.defaultLocal) ++
userResolvers ++
- single(DefaultMavenRepository, mavenCentral)++
- single(ScalaToolsReleases, scalaTools)
+ single(DefaultMavenRepository, mavenCentral)
private def single[T](value: T, nonEmpty: Boolean): Seq[T] = if(nonEmpty) Seq(value) else Nil
/** A base class for defining factories for interfaces to Ivy repositories that require a hostname , port, and patterns. */
@@ -440,4 +439,4 @@ object ModuleConfiguration
{
def apply(org: String, resolver: Resolver): ModuleConfiguration = apply(org, "*", "*", resolver)
def apply(org: String, name: String, resolver: Resolver): ModuleConfiguration = ModuleConfiguration(org, name, "*", resolver)
-}
+}
View
2 launch/BootConfiguration.scala
@@ -18,7 +18,7 @@ private object BootConfiguration
val JUnitName = "junit"
- val SbtOrg = "org.scala-tools.sbt"
+ val SbtOrg = "org.scala-sbt"
/** The Ivy conflict manager to use for updating.*/
val ConflictManagerName = "latest-revision"
View
2 launch/ConfigurationParser.scala
@@ -152,7 +152,7 @@ class ConfigurationParser
def getApplication(m: LabelMap): (Application, Value[List[String]]) =
{
- val (org, m1) = id(m, "org", "org.scala-tools.sbt")
+ val (org, m1) = id(m, "org", BootConfiguration.SbtOrg)
val (name, m2) = id(m1, "name", "sbt")
val (rev, m3) = getVersion(m2, name + " version", name + ".version")
val (main, m4) = id(m3, "class", "xsbt.Main")
View
2 launch/src/main/input_resources/sbt/sbt.boot.properties
@@ -13,8 +13,6 @@
local
${{repositories}}
maven-central
- scala-tools-releases
- scala-tools-snapshots
[boot]
directory: ${sbt.boot.directory-${sbt.global.base-${user.home}/.sbt}/boot/}
View
2 launch/src/test/scala/ScalaProviderTest.scala
@@ -62,7 +62,7 @@ object ScalaProviderTest extends Specification
object LaunchTest
{
def testApp(main: String): Application = testApp(main, Array[File]())
- def testApp(main: String, extra: Array[File]): Application = Application("org.scala-tools.sbt", "launch-test", new Explicit(AppVersion), main, Nil, false, extra)
+ def testApp(main: String, extra: Array[File]): Application = Application("org.scala-sbt", "launch-test", new Explicit(AppVersion), main, Nil, false, extra)
import Predefined._
def testRepositories = List(Local, ScalaToolsReleases, ScalaToolsSnapshots).map(Repository.Predefined.apply)
def withLauncher[T](f: xsbti.Launcher => T): T =
View
2 main/GlobalPlugin.scala
@@ -59,7 +59,7 @@ object GlobalPlugin
}
}
val globalPluginSettings = inScope(Scope.GlobalScope in LocalRootProject)(Seq(
- organization := "org.scala-tools.sbt",
+ organization := "org.scala-sbt",
onLoadMessage <<= Keys.baseDirectory("Loading global plugins from " + _),
name := "global-plugin",
sbtPlugin := true,
View
4 project/Sbt.scala
@@ -14,8 +14,8 @@ object Sbt extends Build
{
override lazy val settings = super.settings ++ buildSettings ++ Status.settings
def buildSettings = Seq(
- organization := "org.scala-tools.sbt",
- version := "0.11.2",
+ organization := "org.scala-sbt",
+ version := "0.11.3-SNAPSHOT",
publishArtifact in packageDoc := false,
scalaVersion := "2.9.1",
publishMavenStyle := false,
View
2 sbt/src/sbt-test/dependency-management/extra/DefineColor.sbt
@@ -8,7 +8,7 @@ publishTo <<= baseDirectory { base =>
projectID <<= projectID { _.extra("e:color" -> "red") }
-organization := "org.scala-tools.sbt"
+organization := "org.scala-sbt"
version := "1.0"
View
2 sbt/src/sbt-test/dependency-management/extra/changes/UseColor.sbt
@@ -8,7 +8,7 @@ resolvers <<= baseDirectory( base =>
libraryDependencies <<= baseDirectory { base =>
val color = IO.read(base / "color")
- val dep = "org.scala-tools.sbt" %% "define-color" % "1.0" extra("e:color" -> color)
+ val dep = "org.scala-sbt" %% "define-color" % "1.0" extra("e:color" -> color)
dep :: Nil
}
View
2 sbt/src/sbt-test/project/src-plugins/plugin/build.sbt
@@ -1,3 +1,3 @@
libraryDependencies <<= (libraryDependencies, appConfiguration) { (deps, conf) =>
- deps :+ ("org.scala-tools.sbt" %% "sbt" % conf.provider.id.version)
+ deps :+ ("org.scala-sbt" %% "sbt" % conf.provider.id.version)
}
View
2 scripted/plugin/ScriptedPlugin.scala
@@ -48,7 +48,7 @@ object ScriptedPlugin extends Plugin {
ivyConfigurations += scriptedConf,
scriptedSbt <<= (appConfiguration)(_.provider.id.version),
scriptedScalas <<= (scalaVersion) { (scala) => ScriptedScalas(scala, scala) },
- libraryDependencies <<= (libraryDependencies, scriptedScalas, scriptedSbt) {(deps, scalas, version) => deps :+ "org.scala-tools.sbt" % ("scripted-sbt_" + scalas.build) % version % scriptedConf.toString },
+ libraryDependencies <<= (libraryDependencies, scriptedScalas, scriptedSbt) {(deps, scalas, version) => deps :+ "org.scala-sbt" % ("scripted-sbt_" + scalas.build) % version % scriptedConf.toString },
sbtLauncher <<= (appConfiguration)(app => IO.classLocationFile(app.provider.scalaProvider.launcher.getClass)),
sbtTestDirectory <<= sourceDirectory / "sbt-test",
scriptedBufferLog := true,
View
4 src/main/conscript/sbt/launchconfig
@@ -2,7 +2,7 @@
version: 2.9.1
[app]
- org: org.scala-tools.sbt
+ org: org.scala-sbt
name: sbt
version: read(sbt.version)[0.11.2]
class: ${sbt.main.class-sbt.xMain}
@@ -13,8 +13,6 @@
local
typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]
maven-central
- scala-tools-releases
- scala-tools-snapshots
[ivy]
ivy-home: ${sbt.ivy.home-${user.home}/.ivy2/}
View
4 src/main/conscript/scalas/launchconfig
@@ -2,7 +2,7 @@
version: 2.9.1
[app]
- org: org.scala-tools.sbt
+ org: org.scala-sbt
name: sbt
version: 0.11.2
class: sbt.ScriptMain
@@ -13,5 +13,3 @@
local
typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]
maven-central
- scala-tools-releases
- scala-tools-snapshots
View
4 src/main/conscript/screpl/launchconfig
@@ -2,7 +2,7 @@
version: 2.9.1
[app]
- org: org.scala-tools.sbt
+ org: org.scala-sbt
name: sbt
version: 0.11.2
class: sbt.ConsoleMain
@@ -13,5 +13,3 @@
local
typesafe-ivy-releases: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]
maven-central
- scala-tools-releases
- scala-tools-snapshots

0 comments on commit 8085fbb

Please sign in to comment.
Something went wrong with that request. Please try again.