Go for it, although I think (1) might be cygwin being "helpful" and
(2) means your classpath needs adjusting rather than moving .yaml
files around.

On Mon, Mar 4, 2013 at 1:00 AM, vck <veesee...@gmail.com> wrote:
> just playing around with cassandra code after setting it up.
> but on running cassandra-cli on cygwin, it gives me a couple of issues.
>
> 1) dos2unix has to be run on cassandra-cli and cassandra.in.sh
>
> 2) cassandra-cli gave following exception
>     * Exception in thread "main" org.yaml.snakeyaml.error.YAMLException:
> java.io.IOException: Stream closed
>     * Fixed it by pasting CliHelp.yaml from
> src/resources/org/apache/cassandra/cli to src/java/org/...
>
> 3) cygpath needs to be used to convert the dos CLASSPATH, added the
> following to cassandra-cli.
>
> #case "`uname`" in
> #    CYGWIN*)
> #        CLASSPATH=`cygpath -p -w "$CLASSPATH"`
> #    ;;
> #esac
>
>
> Probably this needs some  documenting or correction in the script. could i
> raise a jira request?
>
> thanks
> ~vk



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder, http://www.datastax.com
@spyced

Reply via email to