cassandra:start fails on Cywin
------------------------------

                 Key: MCASSANDRA-12
                 URL: http://jira.codehaus.org/browse/MCASSANDRA-12
             Project: Mojo's Cassandra Maven Plugin
          Issue Type: Bug
    Affects Versions: 0.8.0-1
         Environment: Windows XP + Cywin
            Reporter: Raffaele Sena
            Assignee: Stephen Connolly
         Attachments: cygwin-urls.patch

The 0.8.0-1 plugin fails when running cassandra:start / cassandra:run for an 
invalid path name.

The specific path is the one for log4j.configuration. The offending value is 
something like:

  -Dlog4j.configuration=file://C:/some/path/to/log4j.configuration

while it should be:

  -Dlog4j.configuration=file:/C:/some/path/to/log4j.configuration (or   
-Dlog4j.configuration=file:///C:/some/path/to/log4j.configuration)

The easiest fix is to use File.toURL() instead of "file://" + 
File.getAbsolutePath().
A patch is attached.




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to