removed codefellow plugin

This commit is contained in:
Jonas Bonér 2010-08-18 15:15:22 +02:00
parent dfe4d77083
commit 275ce9277f
5 changed files with 38 additions and 38 deletions

1
.gitignore vendored
View file

@ -21,6 +21,7 @@ logs
.codefellow .codefellow
storage storage
.codefellow .codefellow
.ensime
_dump _dump
.manager .manager
manifest.mf manifest.mf

View file

@ -1,11 +1,11 @@
( (
;; Where you unpacked the ENSIME distribution. ;; Where you unpacked the ENSIME distribution.
:server-root "/home/jboner/emacs-config/lib/ensime" :server-root "/Users/jboner/config/emacs-config/lib/ensime"
;; The command with which to invoke the ENSIME server. Change this to ;; The command with which to invoke the ENSIME server. Change this to
;; "bin/server.bat" if your're on Windows. ;; "bin/server.bat" if your're on Windows.
:server-cmd "bin/server.bat" :server-cmd "bin/server.sh"
;; The host to connect to. Connecting to remote ENSIME servers is not ;; The host to connect to. Connecting to remote ENSIME servers is not

View file

@ -561,16 +561,7 @@ private[akka] sealed class TypedActorAspect {
@Around("execution(* *.*(..))") @Around("execution(* *.*(..))")
def invoke(joinPoint: JoinPoint): AnyRef = { def invoke(joinPoint: JoinPoint): AnyRef = {
if (!isInitialized) { if (!isInitialized) initialize(joinPoint)
val init = AspectInitRegistry.initFor(joinPoint.getThis)
interfaceClass = init.interfaceClass
typedActor = init.targetInstance
actorRef = init.actorRef
uuid = actorRef.uuid
remoteAddress = init.remoteAddress
timeout = init.timeout
isInitialized = true
}
dispatch(joinPoint) dispatch(joinPoint)
} }
@ -661,6 +652,17 @@ private[akka] sealed class TypedActorAspect {
} }
(escapedArgs, isEscaped) (escapedArgs, isEscaped)
} }
private def initialize(joinPoint: JoinPoint): Unit = {
val init = AspectInitRegistry.initFor(joinPoint.getThis)
interfaceClass = init.interfaceClass
typedActor = init.targetInstance
actorRef = init.actorRef
uuid = actorRef.uuid
remoteAddress = init.remoteAddress
timeout = init.timeout
isInitialized = true
}
} }
/** /**

View file

@ -3,7 +3,6 @@
\---------------------------------------------------------------------------*/ \---------------------------------------------------------------------------*/
import com.weiglewilczek.bnd4sbt.BNDPlugin import com.weiglewilczek.bnd4sbt.BNDPlugin
import de.tuxed.codefellow.plugin.CodeFellowPlugin
import java.io.File import java.io.File
import java.util.jar.Attributes import java.util.jar.Attributes
import java.util.jar.Attributes.Name._ import java.util.jar.Attributes.Name._
@ -330,7 +329,7 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
// akka-core subproject // akka-core subproject
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
class AkkaCoreProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) with CodeFellowPlugin { class AkkaCoreProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {
val aopalliance = Dependencies.aopalliance val aopalliance = Dependencies.aopalliance
val commons_codec = Dependencies.commons_codec val commons_codec = Dependencies.commons_codec
val commons_io = Dependencies.commons_io val commons_io = Dependencies.commons_io
@ -367,7 +366,7 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
// akka-amqp subproject // akka-amqp subproject
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
class AkkaAMQPProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) with CodeFellowPlugin { class AkkaAMQPProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {
val commons_io = Dependencies.commons_io val commons_io = Dependencies.commons_io
val rabbit = Dependencies.rabbit val rabbit = Dependencies.rabbit
val protobuf = Dependencies.protobuf val protobuf = Dependencies.protobuf
@ -382,7 +381,7 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
// akka-http subproject // akka-http subproject
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
class AkkaHttpProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) with CodeFellowPlugin { class AkkaHttpProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {
val annotation = Dependencies.annotation val annotation = Dependencies.annotation
val atmo = Dependencies.atmo val atmo = Dependencies.atmo
val atmo_jbossweb = Dependencies.atmo_jbossweb val atmo_jbossweb = Dependencies.atmo_jbossweb
@ -410,7 +409,7 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
// akka-camel subproject // akka-camel subproject
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
class AkkaCamelProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) with CodeFellowPlugin { class AkkaCamelProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {
val camel_core = Dependencies.camel_core val camel_core = Dependencies.camel_core
} }
@ -485,7 +484,7 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
// akka-spring subproject // akka-spring subproject
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
class AkkaSpringProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) with CodeFellowPlugin { class AkkaSpringProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {
val spring_beans = Dependencies.spring_beans val spring_beans = Dependencies.spring_beans
val spring_context = Dependencies.spring_context val spring_context = Dependencies.spring_context
@ -499,7 +498,7 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
// akka-jta subproject // akka-jta subproject
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
class AkkaJTAProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) with CodeFellowPlugin { class AkkaJTAProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {
val atomikos_transactions = Dependencies.atomikos_transactions val atomikos_transactions = Dependencies.atomikos_transactions
val atomikos_transactions_api = Dependencies.atomikos_transactions_api val atomikos_transactions_api = Dependencies.atomikos_transactions_api
val atomikos_transactions_jta = Dependencies.atomikos_transactions_jta val atomikos_transactions_jta = Dependencies.atomikos_transactions_jta
@ -613,15 +612,15 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
// Examples // Examples
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
class AkkaSampleAntsProject(info: ProjectInfo) extends DefaultSpdeProject(info) with CodeFellowPlugin { class AkkaSampleAntsProject(info: ProjectInfo) extends DefaultSpdeProject(info) {
// val scalaToolsSnapshots = ScalaToolsSnapshots // val scalaToolsSnapshots = ScalaToolsSnapshots
override def spdeSourcePath = mainSourcePath / "spde" override def spdeSourcePath = mainSourcePath / "spde"
} }
class AkkaSampleChatProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) with CodeFellowPlugin class AkkaSampleChatProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath)
class AkkaSamplePubSubProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) with CodeFellowPlugin class AkkaSamplePubSubProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath)
class AkkaSampleLiftProject(info: ProjectInfo) extends DefaultWebProject(info) with DeployProject with CodeFellowPlugin { class AkkaSampleLiftProject(info: ProjectInfo) extends DefaultWebProject(info) with DeployProject {
//val commons_logging = Dependencies.commons_logging //val commons_logging = Dependencies.commons_logging
val lift_util = Dependencies.lift_util val lift_util = Dependencies.lift_util
val lift_webkit = Dependencies.lift_webkit val lift_webkit = Dependencies.lift_webkit
@ -635,15 +634,15 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
override def jarPath = warPath override def jarPath = warPath
} }
class AkkaSampleRestJavaProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) with CodeFellowPlugin class AkkaSampleRestJavaProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath)
class AkkaSampleRemoteProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) with CodeFellowPlugin class AkkaSampleRemoteProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath)
class AkkaSampleRestScalaProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) with CodeFellowPlugin { class AkkaSampleRestScalaProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) {
val jsr311 = Dependencies.jsr311 val jsr311 = Dependencies.jsr311
} }
class AkkaSampleCamelProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) with CodeFellowPlugin { class AkkaSampleCamelProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) {
//Must be like this to be able to exclude the geronimo-servlet_2.4_spec which is a too old Servlet spec //Must be like this to be able to exclude the geronimo-servlet_2.4_spec which is a too old Servlet spec
override def ivyXML = override def ivyXML =
<dependencies> <dependencies>
@ -661,7 +660,7 @@ class AkkaParentProject(info: ProjectInfo) extends DefaultProject(info) {
</dependencies> </dependencies>
} }
class AkkaSampleSecurityProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) with CodeFellowPlugin { class AkkaSampleSecurityProject(info: ProjectInfo) extends AkkaDefaultProject(info, deployPath) {
val commons_codec = Dependencies.commons_codec val commons_codec = Dependencies.commons_codec
val jsr250 = Dependencies.jsr250 val jsr250 = Dependencies.jsr250
val jsr311 = Dependencies.jsr311 val jsr311 = Dependencies.jsr311

View file

@ -3,13 +3,13 @@ import sbt._
class Plugins(info: ProjectInfo) extends PluginDefinition(info) { class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
// All repositories *must* go here! See ModuleConigurations below. // All repositories *must* go here! See ModuleConigurations below.
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
object Repositories { object Repositories {
lazy val AquteRepo = "aQute Maven Repository" at "http://www.aqute.biz/repo" lazy val AquteRepo = "aQute Maven Repository" at "http://www.aqute.biz/repo"
lazy val DatabinderRepo = "Databinder Repository" at "http://databinder.net/repo" lazy val DatabinderRepo = "Databinder Repository" at "http://databinder.net/repo"
lazy val EmbeddedRepo = "Embedded Repo" at (info.projectPath / "embedded-repo").asURL.toString lazy val EmbeddedRepo = "Embedded Repo" at (info.projectPath / "embedded-repo").asURL.toString
} }
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
// ModuleConfigurations // ModuleConfigurations
@ -17,15 +17,13 @@ class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
// must be resolved from a ModuleConfiguration. This will result in a significant acceleration of the update action. // must be resolved from a ModuleConfiguration. This will result in a significant acceleration of the update action.
// Therefore, if repositories are defined, this must happen as def, not as val. // Therefore, if repositories are defined, this must happen as def, not as val.
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
import Repositories._ import Repositories._
lazy val aquteModuleConfig = ModuleConfiguration("biz.aQute", AquteRepo) lazy val aquteModuleConfig = ModuleConfiguration("biz.aQute", AquteRepo)
lazy val codeFellowModuleConfig = ModuleConfiguration("de.tuxed", EmbeddedRepo)
lazy val spdeModuleConfig = ModuleConfiguration("us.technically.spde", DatabinderRepo) lazy val spdeModuleConfig = ModuleConfiguration("us.technically.spde", DatabinderRepo)
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
// Dependencies // Dependencies
// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
lazy val bnd4sbt = "com.weiglewilczek.bnd4sbt" % "bnd4sbt" % "1.0.0.RC4" lazy val bnd4sbt = "com.weiglewilczek.bnd4sbt" % "bnd4sbt" % "1.0.0.RC4"
lazy val codeFellow = "de.tuxed" % "codefellow-plugin" % "0.3" // for code completion and more in VIM
lazy val spdeSbt = "us.technically.spde" % "spde-sbt-plugin" % "0.4.1" lazy val spdeSbt = "us.technically.spde" % "spde-sbt-plugin" % "0.4.1"
} }