Thanks very much. Your pom works for me too, so that gives me a good
reference point.


On Thu, Oct 3, 2013 at 11:30 AM, Giancarlo Silvestrin
<giancar...@gmail.com>wrote:

> I created a sample pom.xml that successfully compiles cassandra.scala
> using maven 3, it might be useful to compare with you own:
> https://gist.github.com/gsilvestrin/6814624
>
>
> On Thu, Oct 3, 2013 at 2:16 PM, Richard Rodseth <rrods...@gmail.com>wrote:
>
>> Thanks for the offer. I wouldn't be able to share the whole pom, and this
>> task has been de-prioritized, but if I can find the time I will try to
>> create a simpler test case.
>>
>> I just tried adding the exclusion to the pom dependency, but it didn't
>> make a difference.
>>
>> sbt:
>>
>>   "com.datastax.cassandra"  % "cassandra-driver-core" % "1.0.1"
>>  exclude("org.xerial.snappy", "snappy-java"),
>>    "org.xerial.snappy"       % "snappy-java"           % "1.0.5", //
>> https://github.com/ptaoussanis/carmine/issues/5
>>
>> maven:
>>
>> <!--             Based on typesafe activator template for cassandra/akka-->
>>
>>            <dependency>
>>
>>             <groupId>com.datastax.cassandra</groupId>
>>
>>             <artifactId>cassandra-driver-core</artifactId>
>>
>>             <version>1.0.1</version>
>>
>>             <exclusions>
>>
>>               <exclusion>  <!-- declare the exclusion here -->
>>
>>                 <groupId>org.xerial.snappy</groupId>
>>
>>                 <artifactId>snappy-java</artifactId>
>>
>>               </exclusion>
>>
>>             </exclusions>
>>
>>           </dependency>
>>
>>           <dependency>
>>
>>               <groupId>org.xerial.snappy</groupId>
>>
>>               <artifactId>snappy-java</artifactId>
>>
>>               <version>1.0.5</version>
>>           </dependency>
>>
>>
>> On Thu, Oct 3, 2013 at 10:36 AM, Giancarlo Silvestrin <
>> giancar...@gmail.com> wrote:
>>
>>> Richard,
>>>
>>> I'm using akka + cassandra as well. I copied cassandra.scala to my
>>> local project and it compiled fine using SBT.
>>>
>>> If you can share your pom.xml I can try to help you.
>>>
>>> -- Giancarlo
>>>
>>> On Thu, Oct 3, 2013 at 12:14 PM, Richard Rodseth <rrods...@gmail.com>wrote:
>>>
>>>> I wanted to try the async Cassandra driver from DataStax, in a
>>>> Scala/Akka app, so I took a look at the Akka Cassandra Activator template.
>>>>
>>>> https://github.com/eigengo/activator-akka-cassandra
>>>>
>>>>  I copied cassandra.scala from the template (it contains a conversion
>>>> from ResultSetFuture to a Scala future).
>>>>
>>>> Unfortunately that file doesn't compile in my project - the error is:
>>>>
>>>> value addListener is not a member of
>>>> com.datastax.driver.core.ResultSetFuture
>>>>
>>>>
>>>> I have the following in my Maven pom.xml
>>>>
>>>>            <dependency>
>>>>
>>>>             <groupId>com.datastax.cassandra</groupId>
>>>>
>>>>             <artifactId>cassandra-driver-core</artifactId>
>>>>
>>>>             <version>1.0.3</version>
>>>>
>>>>           </dependency>
>>>>
>>>> Probably something silly. Any pointers appreciated. Any other
>>>> non-blocking Akka/Cassandra samples out there for me to look at?
>>>>
>>>> Thanks in advance
>>>>
>>>> RIchard
>>>>
>>>
>>>
>>
>

Reply via email to