Květen 4th, 2008NetBeans 6.1 a Facelets plugin
O tom, že vyšly Netbeans 6.1 se nemá smysl zmiňovat. Ovšem výhodou této verze je zejména její rychlost, na kterou se údajně vývojáři nejvíce zaměřili.
Jedna věc mi ovšem zde chyběla. A to opět plugin pro facelets :)
Naštěstí existuje řešení, jak daný plugin dostat do této verze.
Následující text je spíše dočasný, tzn., že až vyjde oficiální podpora, jistě bude lepší použít přímo ji.
Na stránce https://nbfaceletssupport.dev.java.net/ je k dispozici cvs repozitář. Z daného repozitáře stačí provést checkout projektu a daný projekt „nbfaceletssuite“ otevřít v NetBeans 6.1. Dané pluginy poté zbuildovat a provést create nbm. Tyto pluginy jsou poté schopny pracovat ve verzi 6.1.
Pak již stačí pluginy nainstalovat a máte k dispozici starou dobrou (i když ne zrovna plnou) code completion v xhtml souborech :)
Květen 5th, 2008 at 1.38
Any chance you can upload the .nbm somewhere? I cannot seem to build them for myself, keep getting the error:
nbfacelets\nbfaceletssupport\nbfacelets-lib\nbproject\build-impl.xml:22: You must define ‚nbplatform.default.harness.dir‘
Květen 5th, 2008 at 9.07
to Casper: You must open project as „nbfaceletssuite“ and check all libraries in this suite. Alone plugin must have suite project.
You can try clean & build. When this allright, you can create *.nbm.
After create you can load plugin into NetBeans 6.1
I cannot distribute this plugins because, I am not author.
Květen 5th, 2008 at 12.32
Thanks for the tip Květen. :)
Květen 5th, 2008 at 13.47
Ou,
Květen is name of month :)
Květen 6th, 2008 at 14.04
Hello for all, I compile and install the plugin like Květen say. But my NB don't recognize the xhtml file. The xhtml files open with a normal editor, don't the Facelets JSP Editor. Anybody know about this problem??
Květen 6th, 2008 at 14.44
to Giuliano: You must create file as „Facelets File“; New → Other… → Web → Facelets Simple File.
Or you can copy & paste other facelets file from old project.
*.xhtml file have content as text/xml, but facelets file content is facelets+xml.
P.S.: Květen isn't my name, it's name of the month. In english its „May“ :)