Stendhal on Eclipse: Difference between revisions

Content deleted Content added
imported>AntumDeluge
Undo revision 20650 by AntumDeluge (talk)
imported>AntumDeluge
Undo revision 20651 by AntumDeluge (talk)
Line 53:
 
</pre>
 
<i><span style="color:red;">NOTE:</span> For newer versions of eclipse an asterix (*) may need to be added manually to "Included". If the project is already checked out just right-click "src" & "tests" in the Package Explorer panel & select <span style="color:blue;">Build Path > Configure Inclusion / Exclusion Filters...</span> Under "Inclusion patterns" select "Add" then input "*" and select "OK" then "Finish". Updated screenshots to be added.</i>
 
<li> On the "Libraries" tab: click on the "Add JARs" button and select all the *.jar-files in stendhal/libs</li>
<i><span style="color:red;">NOTE:</span> If project checkout did not complete before the Create New Project Wizard starts you may have to add the .jar files later.</i><li> CheckTo get to the textproject encodingproperties atpage either select "Project" ->from the menu bar then select "Properties" or right->click Resourcethe ->root Textfolder Encoding.in Setthe itPackage toExplorer UTFpanel then select "Properties" from the drop-8down unlessmenu. itUpdated isscreenshots thatto be alreadyadded.</lii>
<li> Check the text encoding at Project -> Properties -> Resource -> Text Encoding. Set it to UTF-8 unless it is that already.</li>
</ol>
Eclipse should be able to compile the source code now. There could be a little yellow sign (signalling warning messages) before your project folder but there must not be red X (error messages). The package explorer should now display the "src" folder below the root folder with a different icon, the icon is like a small grid.