StendhalNetBeans: Difference between revisions
Content deleted Content added
imported>AntumDeluge |
imported>AntumDeluge |
||
| (99 intermediate revisions by the same user not shown) | |||
Line 4:
== Notice ==
Most of our developers use Eclipse, so using that is recommended, unless you are an experienced Netbeans user.
<br><span style="color:red; font-weight:bold; font-style:italic;">Incomplete instructions...</span>
==
<ol>
<li>Create a new Java project. Go to the menu bar and select "File -> New Project".</li>
<li>In the New Project window Select "Java -> Java Application" and click "Next".</li>
<li>Fill in the following information under "Name and Location":</li>
<pre>
Line 25:
<span style="color:blue; font-weight:bold; font-style:italic;">Updated for NetBeans 8.0</span>
<span style="font-weight:bold; font-style:italic;"><span style="color:red;">NOTE:</span> NetBeans does not come with built-in CVS support. You will need to install the plugin.</span>
=== Install CVS Plugin ===
<ol>
<li>Go to the menu bar and select "Tools -> Plugins".</li>
<li>Under the tab "Available Plugins" check "CVS" and click "Install".</li>
<li>Restart NetBeans</li>
</ol>▼
=== CVS Checkout ===
<ol>▼
<li>In the group window under the "Projects" tab select the project.</li>
<li>From the menu bar select "Team -> CVS ->
<li>Fill in the following information under "CVS Root":</li>
<pre>
For anonymous checkout:
CVS Root: :pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne/stendhal
Password: (leave blank)
For privileged checkout:
CVS Root: :
Select "Use internal SSH".
Password: (your Sourceforge password)
</pre>
<li>Click "Next"
<li>Fill in the following information under "Folder to Import":</li>
<pre>
Import Message: (anything, cannot be left empty)
Repository Folder: stendhal
▲Local Folder: (path to the project's root directory)
Check "Checkout After Import".
</pre>
<li>Click "Finish"
<li>
</ol>
<
== Download Source from Git ==
Line 79 ⟶ 85:
</ol>
==
<ol>
<li>
<li>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>
<pre>
Source Package Folders:
Package Folder = (the project's root folder)
Label = (your choice)
</pre>
<li>
▲</ol>
▲<ol>
▲<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>Select the category "Libraries" in the left-hand pane.
<li>Under the "Compile" tab click "Add JAR/Folder".</li>
<li>Navigate into the "libs" directory of the
<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>Select the
<li>Under "Configuration" click "New" and add a "Configuration Name" for the server and click "OK".</li>
<li>Fill in the following information:</li>
| |||