evactor icon indicating copy to clipboard operation
evactor copied to clipboard

Compiling Evactor

Open samira-t opened this issue 13 years ago • 9 comments

Hello,

I am trying to compile evactor; but I am getting the compilation error for resolving the dependencies. Would you please help me to compile that?

Thanks, Samira

samira-t avatar Sep 07 '12 20:09 samira-t

What version of sbt are you using? And which dependencies are missing?

aorwall avatar Sep 08 '12 09:09 aorwall

Hello, It seems that the problem is not with the sbt version; but with the version of Akka that you specified in build.scala. Here is the error that I got.

I changed the Akka version to use the latest release, but it didn't work and I got another exception from compiling the source codes. It seems that using the snapshots of Akka would have this problem.

samira-t avatar Sep 08 '12 17:09 samira-t

Hmm. It seems like all snapshots besides the latest one have disappeared from Typesafe's snapshot repo (http://repo.typesafe.com/typesafe/snapshots/com/typesafe/akka/akka-actor/). I have to refactor some code to get it to work with the latest snapshot. I guess it's time to do some refactoring then... I'll get back to you.

aorwall avatar Sep 08 '12 17:09 aorwall

Yes, I noticed that too. Thank you very much.

samira-t avatar Sep 08 '12 18:09 samira-t

I've migrated to Akka 2.1-M2 and Scala 2.10-M7 and it should compile now. I still need to fix some tests though...

aorwall avatar Sep 11 '12 18:09 aorwall

thank you very much. Now I can compile it. However, I ran "sbt package" to create a single jar from the source files.The generated jar file is empty. Do you know how I can create a single jar from the source code?

Thanks, Samira

On Tue, Sep 11, 2012 at 1:08 PM, Albert Örwall [email protected]:

I've migrated to Akka 2.1-M2 and Scala 2.10-M7 and it should compile now. I still need to fix some tests though...

— Reply to this email directly or view it on GitHubhttps://github.com/aorwall/evactor/issues/1#issuecomment-8466987.

samira-t avatar Sep 12 '12 03:09 samira-t

A jar for each module should be created. evactor/core/target/core-0.3-SNAPSHOT.jar, evactor/api/target/api-0.3-SNAPSHOT.jar and evactor/storage-cassandra/target/storage-cassandra-0.3-SNAPSHOT.jar

aorwall avatar Sep 12 '12 06:09 aorwall

If you want to try a working example of an Evactor implementation. Try the twitter example: https://github.com/aorwall/evactor-twitter

aorwall avatar Sep 14 '12 06:09 aorwall

Thank you very much for your help and your answer. I needed to create a jar file from all sources to give it as an input to our static analyser. I also needed to have a running example. I will try what you suggested and let you know if I have any question.

Thanks again, Samira

On Fri, Sep 14, 2012 at 1:29 AM, Albert Örwall [email protected]:

If you want to try a working example of an Evactor implementation. Try the twitter example: https://github.com/aorwall/evactor-twitter

— Reply to this email directly or view it on GitHubhttps://github.com/aorwall/evactor/issues/1#issuecomment-8552807.

samira-t avatar Sep 15 '12 00:09 samira-t