The code is split up into three separate parts:
- WPILibJ: The original WPILibJ, with pieces taken out as they are replaced with updated files in the library.
- Library: Replacements for files in WPILibJ.
- Client: The GUI client and example code.
All three parts must be put into one NetBeans project.
- In NetBeans, go to File > New Project.
- Select Java > Java Project with Existing Sources, and click Next
- Give the project a name and location, then click Finish.
- In a terminal, cd to the project folder you have created, then enter the following commands: (Note: this will check the project out from the read-only SVN.)
svn checkout svn://svn.code.sf.net/p/frcsimulator/client/trunk client
svn checkout svn://svn.code.sf.net/p/frcsimulator/library/trunk library
svn checkout svn://svn.code.sf.net/p/frcsimulator/wpilibj/trunk wpilibj
- Right-click the project in NetBeans, and choose Properties.
- Select Sources from the list on the left, then click Add Folder... next to Source Package Folders.
- Control-click and select the client, library, and wpilibj folders, then click OK.
- Click OK again.
When you first run the project, you will be asked to choose a main class. Select net.sourceforge.frcsimulator.Client (it should be the only one) and click OK.