Re: [akka-user] How to use locally compiled akka jar as dependency?

20 views
Skip to first unread message

Patrik Nordwall

unread,
Dec 19, 2012, 2:22:06 AM12/19/12
to akka...@googlegroups.com


On Tue, Dec 18, 2012 at 9:50 PM, Sachin <shirv...@gmail.com> wrote:
Hi all,

I am trying to compile the akka from source code and then using those jars in my application projects. I am not able to figure out a way to include these jars as local dependencies. Will I need to make any change in project_name.sbt file? What modification should I do for following lines.

resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases",
      libraryDependencies += "com.typesafe.akka" % "akka-actor" % "2.0.4"

FYI I am using akka 2.0.4 version for now (I will move for new stable release later).


For 2.0.x you should use the release-2.0 branch

sbt publish-local will install akka version 2.0.4-SNAPSHOT in your local ivy repo.

In your app project you use

 libraryDependencies += "com.typesafe.akka" % "akka-actor" % "2.0.4-SNAPSHOT"


It can be good to know that the version number is defined here:

Cheers,
Patrik
 

Thank you for your help.

Sachin

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user?hl=en.
 
 



--
Patrik Nordwall
Typesafe - The software stack for applications that scale
Twitter: patriknw
Reply all
Reply to author
Forward
0 new messages