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
Comments
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
Adam A. Gregory
_____________________________
Drupal Developer and Consultant
https://goo.gl/QSJjb2
Acquia Certified Developer-Back end Specialist
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.
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
The solution is ...
When you create a project, you should set your Drupal directory as source folder and then after you may create your module.
Took me a while to figure it out
Hope it help!
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!
Meetai - Drupal solutions
Works great in NetBeans 6.8!
Works great in NetBeans 6.8!
________________________
Dave Hansen-Lange
Director of Technical Strategy, FourKitchens.com
Confirmed!! it works with
Confirmed!! it works with netbeans 6.8
did you do anything special in NetBeans 6.8
I've added the plugin and restarted NetBeans but am not getting the ability to add a new Drupal module in the "other > other" section. Anything you can think of for me to try differently?
Check my last post
Check my last post on January 18, 2010 - 11:25
I think it will solve your problem
Fantastic! Great
Fantastic! Great documentation job on the plugin.
Hopefully the author still
Hopefully the author still maintains this plugin as it breaks in 6.9m1. They have updated the plugin editor library and the plugin needs updated for it.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
File an issue
You might file an issue via the project homepage https://nbdrupalsupport.dev.java.net/
I tried a couple of times,
I tried a couple of times, but it wouldn't let me login. Pretty funny since I was able to login to CVS without any problems and download the source. I then recompiled the NBM in 6.9 and got it working. If anyone else wants it:
http://hollyit.net/files/org-netbeans-modules-php-drupal-module.nbm
Likewise, if anyone else wants to rebuild it on their own, just download the source from CVS, open the project and update the lib-editor module dependency (under the library tree item) to major release version 2 and specific version to 2.8.1.10.2. After that clean+build and then right click the project and select Create NBM.
I don't know if this is the best route or not. I'm a PHP, Javascript, Actionscript and C person LOL. It did work for me though.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Bug filed
Thanks for the recompiled version! I filed a bug at nbdrupalsupport together with a link to this issue and your version.
Awesome! Once I get the time
Awesome! Once I get the time I might start playing with the plugin source code. Soon it's going to need support for D7. Might be a good chance for me to start learning a little Java.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Works with NetBeans 6.9
Tried it with the brand new NetBeans 6.9. Installs without problems and works like a charm.
Product Version: NetBeans IDE 6.9 (Build 201006101454)
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)
What it really needs is to
What it really needs is to support multiple versions of Drupal. In the real world we're all developing many sites: some on D5, some on D6, some on D7. Ideally you would set a project's Drupal version, and the plug-in would create the appropriate syntax for the given version.
In order to prevent duplication of code I wonder if it could somehow reuse the hook examples from api.drupal.org?
________________________
Dave Hansen-Lange
Director of Technical Strategy, FourKitchens.com
How to install
Due to the lack of experience, I don't get how to install the plugin. This link gives me a folder with some files. What should I do with them to make the plugin for 6.9?
Installing the plugin
1) Download the plugin file from http://hollyit.net/files/org-netbeans-modules-php-drupal-module.nbm (right click, "Save target as...")
2) Open NetBeans and go to Tools > Plugins > Downloaded and click "Add Plugins..." where you can install the downloaded file.
hth
Frank
The problem is that the file
The problem is that the file is a zipped folder, not a .nbm file, so NetBeans does not recognize it as a plugin. Do I miss something?
Just right
Just right click:
http://hollyit.net/files/org-netbeans-modules-php-drupal-module.nbm
And select "save file as". Once it's downloaded open up Netbeans 6.9. Go to:
tools->plugins
And then click on the "downloaded" tab. From there browse to where you downloaded the file and select it. It should appear in the list box. Check the box for the plugin and click install. You'll get a couple of screens to accept the license, continue and then a warning about the plugin being unsigned. After you click through all those it will be installed. I just reinstalled it to make sure it's working, and it installed with no problem at all.
(FYI - nbm files are zip files with the nbm extension.)
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Works now
Thanks for helping. I don't get what was wrong. Now it does download the file correctly (the only thing -- it has ".nbm.nbm" extension).
Update: I see, I should have renamed the file extension from ".nbm.zip" to ".nbm". Thanks again
It works for netbeans6.9,
It works for netbeans6.9, thank you very much.
Works when tweaked/helped in NB6.9 Vista
I guess I had a problem with som rights otherwise project folders didn't create by itself (plugin miss?)
I had to manualy create /sites/all/modules folders.. before the plugin could create module folder and files...
can't install the plugin in
can't install the plugin in netbeans 6.9 ... Need help from developer...
download it and install
http://hollyit.net/files/org-netbeans-modules-php-drupal-module.nbm
Right click this link and then choose Save link as option and download it.
Works like a dream
Installed it on linux with netbeans version 6.7.1 with out any hassle. Absolutely brilliant work. I've just come off using magento, and I am warming more to Drupal and its extensive support with each day that passes. I love the way netbeans now recognises .module files in the same way as .php. Thank you very much Sujit, excellent mate.
Editor Library version 1 required
Hi there
just tried installing 1230700865973_org-netbeans-modules-php-drupal-module.nbm onto NB 6.9.1 and it tells me
Is there a patch for NB 6.9.1?
Is this project still active?
It looks like the last commits were in 2008.
It would be fantastic to get modern tooling available for Drupal development; coding modules currently makes me think I've fallen into an early-nineties timewarp.
I'm up for a bit of org.netbeans.modules.csl.spi.DefaultLanguageConfig hacking, but trying to figure out the workflow from the sourcecode and the limited docs available is proving quite a challenge !
following
same problem here.
same here...
same here...
Lesley Fernandes Moreira
Web Consultant | Drupal Developer | Entrepreneur
www.lesleyfernandes.com
Is this plugin maintained any
Is this plugin maintained any more? Considering that the last release was 2 years ago.
subscribing
subscribing
Post in the project's issue queue
As this is a Java plug-in for the NetBeans IDE you will be more successful when you post your wishes in the project's issue queue at https://nbdrupalsupport.dev.java.net/
Solved by intoxination
In this link (http://drupal.org/node/327486#comment-2894186), intoxination recompiled the Netbeans plugin.
In this link (http://drupal.org/node/327486#comment-2939952), Frank Ralf offers directions for installing the plug-ins for newbies like me.
As of this comment posting, the plug-in installs correctly with Netbeans 6.9.1 on OS X.
Problem in windows
Although the last version of the plug-in (downloaded from http://hollyit.net/files/org-netbeans-modules-php-drupal-module.nbm) runs well in my netbeans 6.9.1 on linux, it won't work on my windows machine. Specifically the auto-completation of drupal functions.
Any idea how to make it work?
Thx.
Please vote for continuation of this Java plug-in
As mentioned before, this plug-in is a Java based plug-in so any request will have a better chance of success if filed in the appropriate issue queue at https://nbdrupalsupport.dev.java.net
However,
Therefore I filed a request for moving the project (and thus keeping it alive) at http://www.java.net/pmr-71
Please support the further development of this useful plug-in by commenting over there (free registration required).
tia
Frank
Works with NetBeans 6.9.1 on Windows
The plug-in installs and works ok on my machine:
I never knew there was an auto-completion of Drupal functions. Are you sure this is provided by the plug-in?
The plugin doesn't handle
The plugin doesn't handle autocomplete of Drupal functions. That's actually a core feature of NetBeans (it autocompletes all PHP functions). Start typing a function and try hitting ctrl+space and see if that pops-up the autocomplete dialog.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Sure, that works perfectly
Sure, that works perfectly for all the php functions but not for the drupal functions. And thats something related with windows because in linux the autocomplete works perfectly.
Probably I war wrong to assume that the plug-in was in charge of the autocompletation. So, if it is not the plug-in, how netbeans recognize the drupal functions to autocomplete?
Try going to
Try going to options->misc->files and associate .inc and .module files with the PHP editor and see if that helps. I have inc in mine and not module, though it still picks up module on my Windows desktop and laptop.
You might also have to clear the cache and let Netbeans rescan the project. To do that (Vista/Win7), go to:
C:\users\{username}\.netbeans\var\cache
And delete everything in there. Netbeans is notorious for the cache becoming corrupt.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Update for NetBeans 6.9 or even 7.0
Hey guys this is a very usefull plugin, but I don't see any updates for it to work with Netbeans 6.9.1 or 7.0 M2 do any of you know if this is going to be done? I tried to install this version but it says the Plugin Editor 7.0 M2 has is too new for it, the plugin asks for plugin editor version 1.x.x and 7.0 has version 3.x.x
I'd appreciate any help you can give me on this one, or at least any information about it.
No go here too on Win7... on 6.9.x dev version
In order to get the much-appreciated word-wrap in 6.9.1, I run the nightly development version. Sadly, this gets the following mismatch error similar to what is reported here and there above:
Not really set up (mentally or physically) to recompile as wisely suggested above. If I do accomplish this feat, will post here. Otherwise, will keep tuned in the event that an updated version is made available.
--Sohodojo Jim--
Netbeans 7
I've rebuilt the plugin against Netbeans 7-m2 to fix the broken dependencies issue. You can get it here:
http://hollyit.net/sites/default/files/org-netbeans-7-modules-php-drupal...
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
I downloaded this one but it
I downloaded this one but it still says it needs editor version 2 and NetBeans 7 comes with version 3
I just installed it without
I just installed it without any problem on Win 7 with the latest beta version of Netbeans 7.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
OK, let me try this one, I
OK, let me try this one, I have been using M2 for this and I keep getting the message.
I'll let you know if it installs for me in this Beta.
Thanks for the info.
Well, it looks like it does
Well, it looks like it does work for the Beta.
That's odd. When I rebuilt
That's odd. When I rebuilt the plugin, I actually did it against M2 and it installed fine on that also, as well as the beta release. True I always go in and clear out all the cache when upgrading NetBeans. It seems like there are a lot of problems with the way it caches stuff. I wouldn't be surprised if the plugins fall under that category.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
I guess I spoke too soon, It
I guess I spoke too soon,
It does install, but when I try to create a new Theme it gives me an exception and it doesn't let me create anything, I have not tested it with a Module though.
Also, keep up the good work, this is an excellent plug-in, it just needs some tweak to get it up and running.
This might help you
http://netbeans.org/bugzilla/show_bug.cgi?id=192721
I'm not actually the
I'm not actually the maintainer of that plugin. I just been rebuilding it so it works in newer versions of NetBeans. I think the author of the plugin has actually abandoned it. Sadly I'm not a Java developer, so what I can do with it is really limited.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Java project to be migrated
JFTR
The original Java project will soon be migrated to the new infrastructure, see http://java.net/projects/help/pages/RequestedProjects for details. And no, I'm also not the maintainer of that plugin ;-)
Thanks for the info.
Thanks for the info.
Project migrated
JFTR
The project has been migrated and now lives at http://java.net/projects/nbdrupalsupport
cannot install it
hi
i have just installed netbeans 6.9.1
and when i try to install the plugin i get this message:
The plugin Editor Library is requested in version >= 1.29.1.8.2 (release version 1) but only 2.10.2.10.2 (of release version different from 1) was found.
what should i do?
it say >= but if i understand correctly the 2 version does pass this test no?
best regards
same here.
same here.
Which release?
Have you tried the recently rebuilt releases from this thread?
Recent rebuilt unavailable.
Recent rebuilt unavailable. Anyone to upload it again?
Founder, Software Engineer | www.drevops.com
This one should work with
This one should work with 6.9.1:
http://www.hollyit.net/sites/default/files/org-netbeans-modules-php-drup...
And for the beta of 7:
www.hollyit.net/sites/default/files/org-netbeans-7-modules-php-drupal-mo...
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Recompiled versions
at http://azovsky.net/en/blog/plugin-drupal-6-netbeans-6-9-1-7-beta
Plugin Updated Again
Netbeans pushed a new update out that again breaks the version 7 plugin. I've rebuilt it again to work. This update came out on 2/10/11. so the plugin below will work with any installations/updates from 2/10/11 on.
http://www.hollyit.net/blog/drupal-netbeans-plugin-rebuilt-against-versi...
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
No downloads
Well, I can't download this plugin at all. Official download page says, that "There are no downloads for this project".
And I need plugin for NetBeans 6.8, not 6.9 or 7.
Rebuilding the module against
Rebuilding the module against your version of Netbeans is really easy. You got to have the full version of Netbeans. Then download the source code through SVN:
http://java.net/projects/nbdrupalsupport/sources
Open the project in Netbeans, then right click on it and select properties. Go to Libraries and select the "module dependencies" tab. After that select "Editor Library" and edit it. Change the version to whatever version it says you need. Click OK, then right click on the project again and select "Create NBM". After that you have the module with the proper dependencies that you can install.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Thanks for the instructions
Will try that myself sometime ;-)
Get it!
Thank you very much!
I've finally built it for NetBeans 6.8 on Mac OS X PPC Tiger (Java 1.5.0_19). If someone need it, I could upload it.
Which Java category?
I've attempted to follow these instructions but am stumped because I don't know which java category I should use.
Simply choosing the category java and the Java Project with Existing Sources results in errors such as:
Project folder already used in project.
/Applications/MAMP/htdocs/nbdrupalsupport~svn/trunk/plugin/src
/Applications/MAMP/htdocs/nbdrupalsupport~svn/tags/default_release/plugin/src
It's not clear at what point I should be adding the folder with existing code.
It would nice to be able to create and save the project so that I could move along with following the above instructions.
Any suggestions?
Thanks.
No 'module dependencies' tab
Please ignore my previous post. I've managed to set up the project.
However, when I select properties and go to Libraries there is no 'module dependencies' tab and no "Editor Library' either. I'm working with the full version of Netbeans 7.
suggestions?
Thanks.
Install a module called
Install a module called 'Netbeans Plugin Development' .. that should clear up the dependency issues.
EDIT: scratch that, this didn't work for me after all.
Try this one.
There is a link on this page:
http://www.hollyit.net/blog/drupal-plugin-netbeans-70-final
that seems to work ok
compile plugin yourself with the right editor library version
I have tried many of the modified nbm files linked here to no avail, after many tries I got it working. My Netbeans version is 6.9 and the editor library version I required was 2.10.1.10.2. Here are the steps I followed, hope this helps someone:
1. Go to http://java.net/projects/nbdrupalsupport/sources
2. Checkout nbdrupalsupport source code:
svn co https://svn.java.net/svn/nbdrupalsupport~svn /destination/path
3. On NetBeans File > Open Project > search for the /destination/path/trunk and double click on plugin
4. Open Important Files > Project Metadata
5. Change Editor Library version to the one you require:
That is you need to change the "release-version" and the "specification-version"
6. Then save the document and right click on Projects > Drupal Module and select Create NBM
7. The file location is shown at the end of the compiling log:
Building jar: /destination/path/trunk/plugin/build/org-netbeans-modules-php-drupal-module.nbm
8. Click Tools > Plugins > Downloaded Tab > Add Plugins... button and search for the nbm file you just compiled
9. Then install the plugin as usual
New Netbeans Module
I finally bit the bullet and started relearning Java. I have made a new module for Netbeans (7.0) that is a total rewrite of the old module. This one actually uses templates to insert hooks and create modules and themes. You can grab it from GitHub:
https://github.com/HollyIT/NBDrupalDevel
I do have future plans for the module once I get the time:
https://github.com/HollyIT/NBDrupalDevel
http://www.hollyit.net/projects/drupal-development-tool-netbeans
If anyone is interested in contributing to the development, just let me know. I've got the source code included on Github, so have at it. Just be warned my Java skills are horrible, so the code isn't that great, but it does work!
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Thanks
Many thanks! I added a notice to the issue queue at http://java.net/jira/browse/NBDRUPALSUPPORT-4
The Drupal icon in the
The Drupal icon in the toolbar is not shown on NetBeans 7.1 when opening drupal files, any solutions?
UPDATE: Reading CHANGELOG helps: "moved to window"
And actually it's moving back
And actually it's moving back to the top bar in 2.0, which I just pushed out RC1 of yesterday. I did a bunch of redesign on the API window with a lot more awesomeness in it. Oh and 2.0 does have Drush support in it. Hoping for the final release next week. I've been using it like crazy on some sites for clients and it looks like all the bugs are about squashed.
---------------------
HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.
Own website
http://nddt.hollyit.net/
Thanks, Jamie.
subscribe
:)