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 00:21] – [Check Out As] localadmin | classes:csci345_slator:eclipse [2020/04/10 04:54] (current) – [Creating an executable Blackwood jar file] localadmin | ||
---|---|---|---|
Line 26: | Line 26: | ||
< | < | ||
+ | (for older branches) | ||
https:// | https:// | ||
+ | |||
+ | (for the current and most recent branches) | ||
+ | https:// | ||
</ | </ | ||
Line 43: | Line 47: | ||
Give the project a name, and select finish. | Give the project a name, and select finish. | ||
- | ==== Check Out As ==== | + | ==== The Workbench |
- | Simply checking out the repository is not enough, | + | You should now see a Package Explorer on the left side of the Eclipse Window. |
- | + | ||
- | Select Java → Java Project. | + | |
- | Give the project | + | 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 | ||
+ | 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.1484374878.txt.gz · Last modified: 2017/01/14 00:21 by localadmin