spring-scala

支持 Scala 中的 Spring 框架开发。(Support for Spring framework development in Scala.)

  • Owner: spring-attic/spring-scala
  • Platform: BSD, Cross-platform, Linux, Mac, Solaris, Unix-like, Windows
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Spring Scala

Spring Scala 的目标是简化 Scala 中 Spring 框架的使用。

Pivotal 内部的 Spring Scala 开发已经停止,但幸运的是,社区的一名成员 Paul Snively 已经加快了步伐,并继续在 http://hub.darcs.net/psnively/spring-scala 上进行开发。请参考那个库而不是这个库,这个库将来可能会被删除。

目前,两个主要的重点领域是:

  • 将 Scala 类连接为 Spring Beans,包括传统 XML 和 Scala
  • 为 Spring 模板提供 Scala 友好的包装器

有关更多信息,请参阅 spring-scala JIRA 网站,或发送电子邮件至 Paul Snively

安装

spring-scala 快照和发行版将发布到 Sonatype 快照和发行版存储库。在撰写本文时(2015年8月),支持以下 Spring 版本:

  • Spring 3.2.10
  • Spring 3.2.14
  • Spring 4.0.9
  • Spring 4.1.7
  • Spring 4.2.0

所有工件都针对 Scala 2.10.x 和 2.11.x 交叉发布,并由 Paul Snively 进行数字签名,指纹 3002 0815 C339 E64E 9698 698A 2FB0 1967 4C7B 02B4。

sbt 依赖示例:

libraryDependencies += "org.psnively" %% "spring_scala_3-2-10" % "1.0.0"

无论项目的 scala Version 是什么,都会添加对使用 Spring 3.2.10 构建的spring-scala 1.0.0 版本的依赖。

从源代码建造

Spring Scala 使用基于 sbt 的构建系统。在下面的说明中,假定 sbt 位于 $PATH 上。唯一的先决条件是 darcs 和 JDK 1.7+。

检出源代码

darcs clone http://hub.darcs.net/psnively/spring-scala

编译和测试,构建所有 jar,分发 zip 和文档

sbt ';so test ;much package' #感谢 sbt-doge 跨子项目进行交叉构建!

将所有 spring-*jar 都安装到本地 Ivy 缓存中

sbt 'very publish-local'

...并通过 sbt tasks 发现更多命令。另请参阅 sbt 常见问题解答

文档

Pivotal spring-scala wiki 还没有迁移,也不太可能迁移,所以请将您的问题添加到问题跟踪器中。

问题跟踪

Spring Scala 使用 JIRA 进行问题跟踪。

许可

Spring Scala 是 Apache 2.0 许可的。

Main metrics

Overview
Name With Ownerspring-attic/spring-scala
Primary LanguageScala
Program languageJava (Language Count: 2)
PlatformBSD, Cross-platform, Linux, Mac, Solaris, Unix-like, Windows
License:Apache License 2.0
所有者活动
Created At2011-08-31 09:17:24
Pushed At2022-04-13 17:49:11
Last Commit At2022-04-13 10:49:11
Release Count3
Last Release Namev1.0.0.RC1 (Posted on 2013-08-29 04:41:40)
First Release Namev1.0.0.M1.c (Posted on 2012-12-10 03:52:26)
用户参与
Stargazers Count461
Watchers Count114
Fork Count124
Commits Count222
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count10
Pull Requests Open Count8
Pull Requests Close Count30
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Spring Scala

The goal of Spring Scala is to make it easier to use the Spring framework in Scala.

Spring Scala development within Pivotal has ceased, but fortunately a member
of the community - Paul Snively - has stepped up and is continuing development
over at
http://hub.darcs.net/psnively/spring-scala.
Please refer to that repository instead of this one, which might be removed in the future.