cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Resolved: (CASSANDRA-1713) Windows batch files use incorrect paths
Date Tue, 09 Nov 2010 16:07:11 GMT


Jonathan Ellis resolved CASSANDRA-1713.

       Resolution: Fixed
    Fix Version/s: 0.7.0
         Reviewer: bcoverston
         Assignee: Vladimir Loncar


bq. what is the trick to apply

for the record: dos2unix bin/*.bat; patch; unix2dos bin/*.bat.  If there is a way to get patch
to deal with targets with CLRF line endings, I couldn't find it.  (It deals w/ CLRF in the
_patch_ just fine.)

bq. I also noticed that cassandra.bat in 0.7 sets CASSANDRA_CONF, and i dont see it being

removed in the merge to 0.7

bq. what is needed to bring cassandra up to par on windows? I know there are some JNA enhancements,
and now direct IO which are Linux-only

I think that's about it really (besides CASSANDRA-292).  The JNA stuff is all in CLibrary
-- extracting the higher-level code to another class, and using CLibrary/WindowsLibrary (what
is the equivalent of libc?) from that depending on platform is probably the way to go.

bq. Maybe opening a ticket to track these

I'd say open a ticket if you're going to work on it. :)

> Windows batch files use incorrect paths
> ---------------------------------------
>                 Key: CASSANDRA-1713
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: Windows
>            Reporter: Vladimir Loncar
>            Assignee: Vladimir Loncar
>            Priority: Minor
>             Fix For: 0.6.8, 0.7.0
>         Attachments: windows-batch-fix.patch
> Windows .bat files (with the exception of cassandra.bat) use %CD% to set CASSANDRA_HOME,
and since that is incorrect, they fail to start with ClassNotFoundException.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message