myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Netbeans IDE" by WernerPunz
Date Mon, 26 Mar 2007 20:48:26 GMT
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!

Mime
View raw message