cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5872) Bundle JNA
Date Tue, 28 Jan 2014 09:56:40 GMT


Sylvain Lebresne commented on CASSANDRA-5872:

bq. Removing <dependency groupId="" artifactId="jna"> from <artifact:pom
id="build-deps-pom" artifactId="cassandra-build-deps"> seems to get rid of the download.
Build succeeds without build.xml containing the aforementioned dependency, so maybe we want
to get rid of it?

I believe the "dependency" in the build.xml are there largely for the sake of generating a
valid pom for maven, which we use when doing releases so things get pushed to the
first and to maven central later. So I do think we need to have that dependency even though
as long as you're just building with ant it's definitively not necessary. Why does it still
get downloaded when you do 'ant build' and not only when you do 'ant release', I don't know
and maybe that can be improved, but I believe that's the case already for every other dependency
we bundle, so I'd suggest to just include the dependency and leave cleaning the build process
up to another ticket if we want to give that a try.

bq.   adding jna works on linux (haven't tested windows yet) but cassandra still needs the
-Dcassandra.boot_without_jna=true override to start on OSX

Right, so that means CASSANDRA-6575 is broken for OSX. I've re-open that ticket for fixing
that, but there is no reason to hold this ticket for that, it's clearly not a problem of the
bundling itself.

> Bundle JNA
> ----------
>                 Key: CASSANDRA-5872
>                 URL:
>             Project: Cassandra
>          Issue Type: Task
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Lyuben Todorov
>            Priority: Minor
>             Fix For: 2.1
>         Attachments: 5872-trunk.patch, 5872_debian.patch
> JNA 4.0 is reported to be dual-licensed LGPL/APL.

This message was sent by Atlassian JIRA

View raw message