[ 
https://issues.apache.org/jira/browse/CASSANDRA-15073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815834#comment-16815834
 ] 

Dinesh Joshi commented on CASSANDRA-15073:
------------------------------------------

[~michaelsembwever] looks a lot better now. No errors in the actual files but 
the top level project still has an error icon but everything else works as 
expected. I think the error icon is a bug. I couldn't find an explanation for 
it. Anyway, I was able to execute the {{CassandraDaemon}} class.

 !netbeans-ss.png! 

I was also able to get {{CassandraDaemon}} to start up but had to add a few 
jvmargs in the {{ide-file-target.xml}}. Not an expert in this but here are the 
arguments –
 
{code:xml}
           <jvmarg value="-Dcassandra-foreground=yes" />
            <jvmarg 
value="-Dcassandra.config=file:///Users/dj/dev/oss/cassandra/conf/cassandra.yaml"
 />
            <jvmarg 
value="-Dcassandra.storagedir=/Users/dj/dev/oss/cassandra/data" />
            <jvmarg 
value="-Dlogback.configurationFile=file:///Users/dj/dev/oss/cassandra/conf/logback.xml"
 />
            <jvmarg 
value="-Dcassandra.logdir=/Users/dj/dev/oss/cassandra/data/logs" />
            <jvmarg 
value="-Djava.library.path=/Users/dj/dev/oss/cassandra/lib/sigar-bin" />
            <jvmarg value="-Dcom.sun.management.jmxremote" />
            <jvmarg value="-Dcom.sun.management.jmxremote.port=7199" />
            <jvmarg value="-Dcom.sun.management.jmxremote.local.only=false" />
            <jvmarg value="-Dcom.sun.management.jmxremote.authenticate=false" />
            <jvmarg value="-Dcom.sun.management.jmxremote.ssl=false" />
            <jvmarg value="-ea" />
            <jvmarg value="-Xmx1G" />
{code}

Could we make it so that it makes it easier for the user to run Cassandra 
daemon? I am sorry I am expanding the scope of this ticket, but I think it 
would be a very useful addition from a developer's perspective. If it is too 
complicated, we can document it and move on.

> Apache NetBeans project files
> -----------------------------
>
>                 Key: CASSANDRA-15073
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15073
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: mck
>            Assignee: mck
>            Priority: Low
>         Attachments: netbeans-errors-2.png, netbeans-errors.png, 
> netbeans-ss.png
>
>
> Provide necessary project files so to be able to open the Cassandra project 
> in Apache NetBeans.
> No additional project functionality is required beyond being able to edit the 
> project's source files. Building the project is still expected to be done via 
> `ant` on the command-line.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to