Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide is intended as an internal reference for RAMCloud Students working with Netbeans over the rcXX cluster. 

...

To work on RAMCloud in Netbeans, you'll have to decide whether to store your sources on your local machine and copy it to rcmaster at build time (SFTP) OR store the sources on rcmaster and use a remote mount to operate on the files (SSHFS). You'll have to choose one and the instructions below diverge depending on which you choose. Instructions meant for one or the other will be tagged with SFTP or SSHFS. If you are unsure which one you'd like, pick SFTP. Note that with SFTP, you are restricted making local modifications to using git on your local machine only; changes on the server will not be reflected on the client.

Installation

  1. Netbeans
    1. Download the C/C++ version of Netbeans here: https://netbeans.org/downloads/
  2. (Optional) SSHFS Only: Only set this up if you plan to use SSHFS on OSX.
    1. Go to https://osxfuse.github.io
    2. Download and install OSXFuse and SSHFS (in that order)
    3. After install, open Terminal.app (i.e. press Command + Space then type "Terminal")
    4. Create a mount folder on your Desktop (i.e. mkdir ~/Desktop/home )
    5. To mount, type "sshfs <username>@rcmaster.scs.stanford.edu: ~/Desktop/home" where <username? is your username.
    6. (To unmount later, use "umount <folder>")

...

  • Right click on the ram cloud project and select properties.
  • Under "Code Assistance -> C++ Compiler -> Include Directories" add the following line.
    • src;obj.master;gtest/include

 

Parsing C++11 Foo<Bar<Baz>> is broken in 7.2. Apparently this is fixed in the dailies: http://netbeans.org/bugzilla/show_bug.cgi?id=179939#c15 . Diego tried this with mixed results. The daily (8/30) seems stable, but it doesn't always parse the >> properly.

...