IDE Integration: DSpace and NetBeans
From DSpace Wiki
Contents |
[edit] Installing NetBeans
NetBeans 6 is recommended for both performance and features. Download the latest milestone from http://www.netbeans.org/.
(At the time of writing, that is milestone 10: http://dlc.sun.com/netbeans/download/6.0/milestones/m10/).
Ideally, choose at least the 'standard' edition for editing JSPs - although the GlassFish / Tomcat runtimes will be downloaded, you don't have to install them.
NB: If you are running on Linux/Unix, you will need to make the downloaded script executable (ie. chmod +x netbeans-6.0m10-full-linux.sh).
Now simply run the downloaded installer.
[edit] Subversion Client
Subversion support will already be included in the IDE. However, it requires that the command line client is installed and available on your path. For most Linux distributions, you should be able to just install the Subversion client available in your distribution's repositories.
[edit] Install Maven Support
Run NetBeans. From the 'Tools' menu, select the 'Plugins' entry. This will open the Plugin Manager - from here, select the 'New Plugins' tab. This should list an entry for 'Maven' - check the box next to it, and click on 'install'.
[edit] Checkout DSpace from Subversion
Under the 'Versioning' menu, go to 'Subversion' and then 'Checkout'. Enter the URL for the DSpace Subversion repository: https://dspace.svn.sourceforge.net/svnroot/dspace, and click on the next button.
Next to 'Repository Folders', click on 'Browse', and open the trunk entry. Highlight the folders (projects) that you want (hold down ctrl to select multiple), then click the OK button.
Choose a local folder to checkout to (or leave the default entry), and leave the 'Scan for NetBeans projects after Checkout' button selected, and click on 'Finish'.
When this completes, choose 'Open Project' from the dialog. Select all the projects that you wish to open (hold down ctrl to select multiple), and click the OK button.
