By poting on May 08, 2008
There are lots of requests that asking when and how the Facelets support be available on NetBeans 6.1. Yes, there is plan to officially release the support NBMs by the update center for NetBeans 6.1. We are currently working on that to resolve several compatible issues and migrate the internal APIs usage to NetBeans 6.1. When it is ready for the final release, we will announce it and make it available and show them under the Available Plugins list of NetBeans 6.1.
Build from Sources
According to the Open Sources concept, any users or developers can always pre-build their latest binaries and try/test before the official releases. This is also true for the Facelets plugin and believe me, it's very simple and can be done in just minutes! We have already done many tasks for the NetBeans 6.1 migration to ease the build requirement.
- Install your NetBeans 6.1 if you have not yet done so. You can get the
installer from the NetBeans 6.1
- Get the sources: you can use the NetBeans GUI or simply your system
command line to get the Facelets Support sources.
- By NetBeans GUI: Invoke the CVS Checkout dialog by menu Versioning -> CVS
-> Checkout..., fill the CVS Root
:pserver:firstname.lastname@example.org:/cvs) and Password, and click on Next.
In the next dialog, use '
nbfaceletssupport' as the Module name and enter your planned working directory as the Local Folder, and click on Finish.
After the IDE finished the checkout, it asks whether to open the projects or not, click on Open Project... (see next step)
- By Command Prompt: Alternately you can checkout the CVS sources by
just few command lines if you prefer.
cvs -d :pserver:email@example.com:/cvs login
cvs -d :pserver:firstname.lastname@example.org:/cvs checkout nbfaceletssupport
- By NetBeans GUI: Invoke the CVS Checkout dialog by menu Versioning -> CVS -> Checkout..., fill the CVS Root (
- Open the Facelets projects: Under NetBeans IDE, use menu File -> Open Projects... to
invoke the Open Project dialog, select the Facelets projects and then
click on Open Project.
- Build the NBMs: Under the Projects panel, right click on the Facelets
Suite node and select the Create NBMs context menu to build all needed
Now you have done the build and all 4 NBMs can be found under the following directory that you may want to copy to somewhere for your later use:
If you do want to skip the 'build from sources' steps, you may just download these NBMs (nbfaceletssupport-6.1.zip) that I have done.
Install the Facelets Support NBMs
The next step is to install the Facelets NBMs that we have just created into
the IDE. You can invoke the Plugins dialog by menu Tools -> Plugins, select the
Downloaded tab and click on Add Plugins... to open these 4 NBMs.
Then click on Install, follow few Next/Continue/Finish clicking and accept the license agreements, finally your IDE is ready for the Facelets Support, on the latest released NetBeans 6.1!
Uninstall the Facelets Support
In case you need to uninstall the Facelets Support for any reason, use the
menu Tools -> Plugins to get the dialog, select the Installed tab and choose
'Facelets Support', 'Simple JSF/Facelets Snippets', and 'Facelets Library
1.1.14', then click on Uninstall to uninstall the support.