diff --git a/launch/Update.scala b/launch/Update.scala index ea48812ec..8ae377760 100644 --- a/launch/Update.scala +++ b/launch/Update.scala @@ -207,7 +207,7 @@ final class Update(config: UpdateConfiguration) private def retrieve(eventManager: EventManager, module: ModuleDescriptor, target: UpdateTarget) { val retrieveOptions = new RetrieveOptions - retrieveOptions.setArtifactFilter(new ArtifactFilter(a => "jar" == a.getType && a.getExtraAttribute("classifier") == null)) + retrieveOptions.setArtifactFilter(new ArtifactFilter(a => retrieveType(a.getType) && a.getExtraAttribute("classifier") == null)) val retrieveEngine = new RetrieveEngine(settings, eventManager) val pattern = target match @@ -217,6 +217,7 @@ final class Update(config: UpdateConfiguration) } retrieveEngine.retrieve(module.getModuleRevisionId, baseDirectoryName(scalaVersion) + "/" + pattern, retrieveOptions) } + private def retrieveType(tpe: String): Boolean = tpe == "jar" || tpe == "bundle" /** Add the scala tools repositories and a URL resolver to download sbt from the Google code project.*/ private def addResolvers(settings: IvySettings) {