Netbeans and Ping
From HiWiki
PING Discovery: Pilot implementasjon og utforskning av PING -> Installation guide --> Netbeans and Ping
This guide describes how to install Netbeans and get it working with maven 2 and Ping. It is assumed that you have already downloaded the ping source code and successfully installed it using maven 2. At least you should have downloaded all the necessary plugins to your <path>/.m2/repository location because the Netbeans maven 2 plugin doesn't handle downloading very well.
Eclipse also comes with a maven 2 plugin, but we did not manage to get this working with Ping.
Contents |
Download and install Netbeans
Download and install from http://www.netbeans.org/products/ide/
Install Maven 2 plugin
Download and install from http://maven.apache.org/netbeans-module.html (follow the installation instructions)
Set repository path
In Netbeans: Tools->Options->Misc.->maven2: Set local repository (e.g. <path>/.m2/repository). Do not use plugin registry (or maybe that is not so important, I'm not sure).
Open project
File->Open Project. Netbeans should recognise your ping folder as a maven 2 project automatically (should be illustrated with an icon on the folder). Select the ping folder and "Open Project Folder".
Coffee break
If everything went ok, you should have a nice view of the project. Reward yourself with a cup of coffee and admire your achievement.
Run a maven command
Right click on the PING(pom), Run lifecycle phase->install. If you have all the plugins correctly installed in your repository path and Netbeans recognises the path, everything should work.
