User Tools

Site Tools


classes:csci345_slator:eclipse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
classes:csci345_slator:eclipse [2018/04/23 18:07] – added .zip of working blackwood localadminclasses:csci345_slator:eclipse [2020/04/10 04:54] (current) – [Creating an executable Blackwood jar file] localadmin
Line 59: Line 59:
 Now that the Blackwood source code is downloaded, the project is created and the libraries are properly linked, you can now run Blackwood.  Right click on the project, select Run As... → Java Application.  You will then be prompted to select the correct Main method to run, this can be found in "Main - edu.nodak.ndsu.cs.lions.blackwood" Should all the steps be followed properly, Blackwood will launch. Now that the Blackwood source code is downloaded, the project is created and the libraries are properly linked, you can now run Blackwood.  Right click on the project, select Run As... → Java Application.  You will then be prompted to select the correct Main method to run, this can be found in "Main - edu.nodak.ndsu.cs.lions.blackwood" Should all the steps be followed properly, Blackwood will launch.
  
-==== Working Blackwood .zip ==== 
  
-[[https://drive.google.com/open?id=1o1vBkcSF_5M-QudZEPuvOTaZ2ZNogKpC|Attached]] is a working Eclipse Oxygen2 directory with the CS429_Spring2018 branch in its workspace. If the project does not automatically import, right click in the Package Explorer pane and select "Import...", next select "General" -> "Existing Projects into Workspace", and under "Select root directory" click "Browse..." and navigate to the "workspace" folder included in this zip archive. Select the project and hit finish.+ 
 +==== 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://drive.google.com/open?id=1o1vBkcSF_5M-QudZEPuvOTaZ2ZNogKpC|Attached]] is a working Eclipse Oxygen2 directory with the CS429_Spring2018 branch in its workspace. If the project does not automatically import, right click in the Package Explorer pane and select "Import...", next select "General" -> "Existing Projects into Workspace", and under "Select root directory" click "Browse..." and navigate to the "workspace" folder included in this zip archive. Select the project and hit finish.
classes/csci345_slator/eclipse.1524524866.txt.gz · Last modified: 2018/04/23 18:07 by localadmin