StendhalNetBeans: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Line 87: Line 87:


<ol>
<ol>
<li>Click on the "Files" tab and delete the two new files if they exist: manifest.mf and nbbuild.xml.</li>
<li>Select the project in the "Project" tab of the groups window.</li>
<li>Go to the menu bar and select "File -> Project Properties" or right-click the project and select "Properties.</li>
<li>Open the file "nbproject -> project.properties" and change the line "buildfile=nbbuild.xml" to "buildfile=build.xml".
<li>Select the "Sources" category in the left-hand pane.</li>
<li>From the "Projects" tab select the Stendhal project and go to the menu bar and select "File -> Project Properties" (or right-click the project and select "Properties").</li>
<li>Fill in the following information:</li>
<li>Select the category "Libraries" in the left-hand pane.

<pre>
Source Package Folders:
Package Folder = src
Label = (your choice)

Test Package Folders:
Package = tests
Label = (your choice)
</pre>

<li>Select the "Libraries" category.</li>
<li>Under the "Compile" tab click "Add JAR/Folder".</li>
<li>Under the "Compile" tab click "Add JAR/Folder".</li>
<li>Navigate into the "libs" directory of the Stendhal root directory.</li>
<li>Navigate into the "libs" directory of the project's root directory.</li>
<li>Select all the .jar files and click "Open".</li>
<li>Select all the .jar files and click "Open".</li>
<li>Do the same for the "Processor", "Run", "Compile Tests", and "Run Tests" tabs.
<li>Do the same for the "Processor", "Run", "Compile Tests", and "Run Tests" tabs.
<li>Select the category "Run" in the left-hand pane.</li>
<li>Select the "Run" category.</li>
<li>Under "Configuration" click "New" and add a "Configuration Name" for the server and click "OK".</li>
<li>Under "Configuration" click "New" and add a "Configuration Name" for the server and click "OK".</li>
<li>Fill in the following information:</li>
<li>Fill in the following information:</li>