StendhalNetBeans: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
 
(42 intermediate revisions by the same user not shown)
Line 25: Line 25:
<span style="color:blue; font-weight:bold; font-style:italic;">Updated for NetBeans 8.0</span>
<span style="color:blue; font-weight:bold; font-style:italic;">Updated for NetBeans 8.0</span>


<span style="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>
<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>
<ol>
<li>Go to the menu bar and select "Tools -> Plugins".</li>
<li>Go to the menu bar and select "Tools -> Plugins".</li>
<li>Under the tab "Available Plugins" check "CVS" and click "Install".</li>
<li>Under the tab "Available Plugins" check "CVS" and click "Install".</li>
<li>Restart NetBeans</li>
<li>Restart NetBeans</li>
</ol>

=== CVS Checkout ===
<ol>
<li>In the group window under the "Projects" tab select the project.</li>
<li>In the group window under the "Projects" tab select the project.</li>
<li>From the menu bar select "Team -> CVS -> Import into Repository" or right-click the project and select "Versioning -> Import into CVS Repository".</li>
<li>From the menu bar select "Team -> CVS -> Import into Repository" or right-click the project and select "Versioning -> Import into CVS Repository".</li>
Line 36: Line 41:
<pre>
<pre>
For anonymous checkout:
For anonymous checkout:
CVS Root: :pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne
CVS Root: :pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne/stendhal
Password: (leave blank)
Password: (leave blank)


For privileged checkout:
For privileged checkout:
CVS Root: :ext:username@arianne.cvs.sourceforge.net:/cvsroot/arianne
CVS Root: :ext:username@arianne.cvs.sourceforge.net:/cvsroot/arianne/stendhal
Select "Use internal SSH".
Select "Use internal SSH".
Password: (your Sourceforge password)
Password: (your Sourceforge password)
</pre>
</pre>


<li>Click "Next".</li>
<li>Fill in the following information under "Folder to Import":</li>
<li>Fill in the following information under "Folder to Import":</li>


<pre>
<pre>
Folder to Import: (path to the projects root directory)
Folder to Import: (the project's root directory)
Import Message: (whatever you want, I.E. "Initial Import", cannot be left blank)
Import Message: (anything, cannot be left empty)
Repository Folder: stendhal
Repository Folder: stendhal
Check "Checkout After Import".
Check "Checkout After Import".
Line 55: Line 61:


<li>Click "Finish" to begin import and checkout.</li>
<li>Click "Finish" to begin import and checkout.</li>
<li>If project does not automatically checkout after import go to the menu bar and select "Team -> Update".</li>
<li>After importing is finished go to the menu bar and select "Team -> Update -> Update" or right-click the project and select "CVS -> Update -> Update".</li>
</ol>
</ol>


Line 82: Line 88:


<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 = (the project's root folder)
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>