Updated NetBeans plugins support for Drupal
Hello Drupalers!
NetBeans 6.5 Release Candidate is out (with right PHP editing features : http://www.netbeans.org/kb/trails/php.html) and along with that I have released an update to the existing Drupal support in NetBeans. Please feel free to try out the enhanced wizard for assisting Drupal module development.
The modifications in the plugin are :
* Generates the new module in appropriate location
* Sticking to Drupal coding standards, generates template code for some of the common hooks (hook_block and hook_help) in the .module file
* Sticking to Drupal coding standards, generates the .install file, which when not required can be removed. Some template code for some common hooks (hook_install and hook_uninstall) are provided.
You can download the plugin from NetBeans plugin portal (http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?plug...) or from project page (https://nbdrupalsupport.dev.java.net/servlets/ProjectDocumentList?folder...). The source and documentation concerning usage of the plugin is hosted at the latter site.
Comments welcome!
Regards,
Sujit Nair

Downloading it now. I can't
Downloading it now. I can't believe the effort you've put into this.
Guys, just Sujit's help document is 34 pages!
Great effort. Thanks.
Yosemite Explorer - hiking and climbing in Yosemite (drupal)
baffled
I want to try this out. I downloaded the Netbeans EA for PHP version for Mac. Then I downloaded the plugin. When I try to install the plugin, I am told that I am missing these plugins:
Editor Indentation
Editor Library
Editor
Common Palette
but there's no obvious way to download and install these plugins. I can only cancel. These missing plugins do not appear in the list of available plugins.
I also cannot download the Drupal plugin from within NetBeans from the plugin repository, which I suspect would make this all a lot easier.
Argh! i found the problem. I
Argh! i found the problem. I was clicking the "download" link from the page you linked above, but all those downloads are NetBeans 6.1. Netbeans 6.5 RC2 is available if you click a link in the upper right corner of that download page.
Looks promising ... is there a video?
I just downloaded the 6.5 formal release of NetBeans for PHP. I was really pleasantly surprised to see there seems to be god support for Drupal work. In addition to the written docs, is there a video planned? Videos really can excite and get people going.
Thanks again,
David Luhman
Social Security Help
This is awesome!
I just downloaded Netbeans and the drupal plugin for it and I am absolutely in love with it already. This thing is simply awesome, it is going to be replacing Coda on my Mac, Dreamweaver on my PC and Geany on my Linux. I have been dying to find a good editor for all three systems for sooo long. Finding one that has a drupla plugin also is simply too good to be true, but it is.
AWESOME!
Adam A. Gregory
_____________________________
Web Manger - Marketing Ministries
http://marketingministries.com
Founder - The Open Source Church
http://theopensourcechurch.org
Blogger - AdamAGregory.com
http://adamagregory.com
I just tested the plugin and
I just tested the plugin and it is absolutely amazing! The one I got is updated. It even has an option to develop a Drupal Theme. :)
Kudos to sujitnair!
problem creating
I just downloaded NetBeans 6.5.1 and installed the Drupal plugin. So far so good. Now, Nothing happens when I click the finish button after entering module name. Anyone know anything about this?
Best regards .Jon
Same problem here...
with NetBeans 6.5.1 on Ubuntu 8.04.
Co-founder - Koumbit.org - A Drupal hosting and web development based<
Same Problem Here
Same thing happens here... Linux - Suse 11.1, Netbeans 6.5 & Netbeans 7m (dev). Wizzard runs through then does apperently nothing when clicking the Finish button. Having a closer look it is throwing Nullpointer Exceptions:
same in netbeans 6.7
same thing in netbeans 6.7
java.lang.NullPointerExceptionat org.netbeans.modules.php.drupal.module.wizard.NewModuleWizardIterator.instantiate(NewModuleWizardIterator.java:203)
at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1018)
at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588)
at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409)
at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248)
at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:161)
at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1527)
at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1481)
at org.openide.WizardDescriptor.access$1700(WizardDescriptor.java:127)
at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2052)
at org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:2101)
at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1456)
at org.openide.WizardDescriptor.access$1300(WizardDescriptor.java:127)
at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:2108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
at $Proxy20.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:985)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1019)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1007)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:115)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1355)
at org.openide.util.Mutex.readAccess(Mutex.java:268)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:992)
at java.awt.Component.show(Component.java:1563)
at java.awt.Component.setVisible(Component.java:1515)
at java.awt.Window.setVisible(Window.java:841)
at java.awt.Dialog.setVisible(Dialog.java:985)
at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:495)
at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:362)
at org.netbeans.modules.project.ui.actions.NewFile.doPerform(NewFile.java:154)
at org.netbeans.modules.project.ui.actions.NewFile.access$200(NewFile.java:80)
at org.netbeans.modules.project.ui.actions.NewFile$PopupListener.actionPerformed(NewFile.java:349)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
http://twitter.com/doug_holton
http://edtechdev.wordpress.com/
http://itls.usu.edu/
Spent quite a long time
Spent quite a long time chugging through this to no avail. I just dont think that Netbeans 6.7.1 can be easily pushed to accomodate the drupal add-on
Seems it's all about paths.
I've downloaded Netbeans, wanted to try drupal plugin, got the same error (logs are exactly the same like posted above, 146 and 203 strings respectively for themes and modules).
Just because of curiousity, looks at source files - it's about forming a path for files. I feel too lazy atm to debug the problem deeper , so just did a dirty trick - i've created manually "sites/all" folder in project folder and got it to work.
Themes/modules created w/o problem.
If you will create another project - you will again have to create "sites/all" subfolders manually to get plugin to work.
Works with NetBeans 6.7
Got not problems installing and using the plugin. Works like a charm.
Product Version: NetBeans IDE 6.7 (Build 200906241340)
Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01
System: Windows 2000 version 5.0 running on x86; Cp1252; de_DE (nb)
6.7.1 also confirmed
Works as needed. Great Work!
Luv - arielon.com
Meetai - Drupal solutions
Works great in NetBeans 6.8!
Works great in NetBeans 6.8!
________________________
dave hansen-lange
Developer
Advomatic.com
East Asia office
Hong Kong