Skip to content

Commit

Permalink
1. akka 기반으로 서버 변경
Browse files Browse the repository at this point in the history
2. 불필요 파일 제거 : package.scala
3. 서버 이름 변경 : daewonHttp -> la-scalaHttp
  • Loading branch information
daewon committed Dec 31, 2012
1 parent 40a8c84 commit 91e17c1
Show file tree
Hide file tree
Showing 5 changed files with 192 additions and 433 deletions.
14 changes: 8 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name := "daewonHttp"

version := "1.0"

scalaVersion := "2.9.1"

name := "la-scala http"

version := "0.1"

scalaVersion := "2.10.0"

resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"

libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.1.0"

This comment has been minimized.

Copy link
@eungjun-yi

eungjun-yi Jan 5, 2013

Member

%% 는 안 쓰는게 나을 듯 하네요. %%를 쓰면 artifactId에 자동으로 스칼라 버전을 붙여주는데 이 동작이 일관성이 없어서 문제를 일으킵니다. 제 노트북에서는 akka-actor뒤에 _2.10.0이 붙게 되는데, travis ci에서 돌려보니 _2.10이 붙네요.

"The complexity in practice is that often a dependency will work with a slightly different Scala version; but %% is not smart about that. So if the dependency is available for 2.9.0 but you're using scalaVersion := "2.9.1", you won't be able to use %% even though the 2.9.0 dependency likely works. If %% stops working just go see which versions the dependency is really built for, and hardcode the one you think will work (assuming there is one)." -- http://www.scala-sbt.org/release/docs/Getting-Started/Library-Dependencies.html

이게 #7 의 원인이 되고 있습니다.

224 changes: 0 additions & 224 deletions main/scala/common/main.scala

This file was deleted.

37 changes: 0 additions & 37 deletions main/scala/common/package.scala

This file was deleted.

Loading

0 comments on commit 91e17c1

Please sign in to comment.