You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2007/03/26 22:48:26 UTC

[Myfaces Wiki] Update of "Netbeans IDE" by WernerPunz

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by WernerPunz:
http://wiki.apache.org/myfaces/Netbeans_IDE

The comment on the change is:
Added building instructions for Netbeans and MyFaces

New page:
= Building MyFaces in Netbeans 5.5 and above =


Building MyFaces in Netbeans is very simple,however you have to follow some prerequirements

* Maven2 has to be installed
* Download and install the Maven2 plugin for Netbeans

First check out MyFaces manually via svn, and do a normal build.

If everything works well issue following command to have the Netbeans project structure
generated:

 * mvn netbeans-freeform:generate-netbeans-project 

After that you can import the generated projects via the Netbeans project import facilities.


A build should be possible now simply by calling build on the affected project or by issuing a master
build via F11 (or under Build-> build main project)

If you get the error: cannot find ${mvn.path}, you have to add a mvn call to the 
ant options under Options->Miscellangeneous->Ant->Manage properties

 * mvn.path=mvn


If you get the error message, JAVA_HOME not properly defined, from the maven call
start netbeans from the console not from the UI!
(or start Netbeans from a non Gnome console, and make sure JAVA_HOME is properly defined)

If all goes well myfaces should build now!