classes:csci345_slator:eclipse
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| classes:csci345_slator:eclipse [2017/01/14 06:15] – localadmin | classes:csci345_slator:eclipse [2020/04/10 09:54] (current) – [Creating an executable Blackwood jar file] localadmin | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| Run Eclipse.exe, | Run Eclipse.exe, | ||
| + | ==== Eclipse and SVN ==== | ||
| + | |||
| + | Blackwood stores its source code in an Subversion (SVN) repository. | ||
| + | |||
| + | Eclipse will restart a few times during this install process. | ||
| + | |||
| + | ==== Creating a new Project ==== | ||
| + | |||
| + | Once SVN is installed and configured, you will want to create a new project. | ||
| + | |||
| + | From the New Project Wizard, you will want to select SVN → Project from SVN. | ||
| + | |||
| + | You will be prompted to enter the URL of the repository: | ||
| + | |||
| + | < | ||
| + | (for older branches) | ||
| + | https:// | ||
| + | |||
| + | (for the current and most recent branches) | ||
| + | https:// | ||
| + | </ | ||
| + | |||
| + | where X is the year of the semester. | ||
| + | |||
| + | Students can check out code from this repository without authentication. | ||
| + | |||
| + | Eclipse will then allow you to check out a specific revision. | ||
| + | |||
| + | ==== Check Out As ==== | ||
| + | |||
| + | Simply checking out the repository is not enough, you will need to create a new project for Eclipse. | ||
| + | |||
| + | Select Java → Java Project. | ||
| + | |||
| + | Give the project a name, and select finish. | ||
| + | |||
| + | ==== The Workbench ==== | ||
| + | |||
| + | You should now see a Package Explorer on the left side of the Eclipse Window. | ||
| + | |||
| + | Right click on your project and select ' | ||
| + | |||
| + | Here, press the 'Add JARs...' | ||
| + | |||
| + | ==== Running Blackwood ==== | ||
| + | |||
| + | Now that the Blackwood source code is downloaded, the project is created and the libraries are properly linked, you can now run Blackwood. | ||
| + | |||
| + | |||
| + | |||
| + | ==== Creating an executable Blackwood jar file ==== | ||
| + | |||
| + | Find the Blackwood project in the Package Explorer on the left side of the Eclipse Window. | ||
| + | |||
| + | Right click on the project and select **Export** from the menu. A select window will open. Find the **Java** option and choose **Runable Jar File** from. Then click **Next**. | ||
| + | |||
| + | In the next window, Select the Blackwood launch configuration and enter a path and file name in the export destination field. Be sure the **Package required libraries into generated jar** option is selected. Click **Finish** | ||
| + | |||
| + | If your project runs in Eclipse without errors, you should get an executable jar file when the process finishes. | ||
| + | ==== (If all else fails) Working Blackwood .zip ==== | ||
| + | |||
| + | If you've gone through all the above steps, and you still don't have a working copy of Blackwood in Eclipse: [[https:// | ||
classes/csci345_slator/eclipse.1484374528.txt.gz · Last modified: by localadmin
