Wednesday June 03, 2009
Griffon Pre-Alpha NetBeans Plugin Demoed at the NetBeans Booth
Go here to get the pre-Alpha version of the NetBeans Griffon plugin:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=18664
Guinea pigs are welcome to report any problems to me, but be sure to read the texts on the page above first, to see its limitations.
I demoed it to Andres Almiray and James Williams today. It's been succesfully installed on Ubuntu, Mac, and Windows. I demoed it multiple times today at the NetBeans booth. I think one thing that is pretty interesting is the tight integration between Griffon and Kenai in NetBeans IDE. :-) But that's only because of the fact that that is true for ALL projects in NetBeans IDE 6.7, of course. Still, James Williams seemed impressed when I showed him. I.e., you can upload your Griffon application to Kenai, check it out again from there, thus directly opening it in the IDE. Then you can look at the Griffon application's issues (BugTracker or JIRA) in NetBeans IDE. (I wonder if JWebPane was used for that because it certainly isn't the Swing browser that's used.)
Those I spoke to seemed very receptive to Griffon. And why not, of course.
I also managed to get started with using the Griffon Wizard plugin. On that page you'll see that it "Enables a wizard facility based on https://wizard.dev.java.net/." Now, that's a project by Tim Boudreau. And that explains why the image in the left side of the Griffon wizard is by default the NetBeans IDE splash screen from NetBeans 5.0:
Jun 03 2009, 12:02:53 AM PDT Permalink
I am running NetBeans 6.7 RC2 downloaded June 5th, I have Griffon 0.1.1 unziped to /OSDEV/griffon-0.1.1 on a OS X macbook. I installed griffon as per their instructions, adding a $GRIFFON_HOME to my .bash_profile...
When I create a new Griffon application project, I get a persistent warning 'Please setup your Griffon Home in IDE Options.' I click the 'Configure Griffon...' button and set the Griffon Home to /OSDEV/griffon-0.1.1 click okay and the warning is still there!!!
Is there something else I need to do that I might have missed?
Thanks in advanced, I'm looking forward to using the plugin and NetBeans 6.7...
Posted by 76.204.194.37 on June 06, 2009 at 09:40 AM PDT #
Try running 'griffon create-app' from the command line. It probably won't work because you haven't set Griffon up correctly. If you don't set Griffon up correctly, then you can't use the NetBeans plugin for Griffon either.
Posted by Geertjan on June 06, 2009 at 06:44 PM PDT #
I was able to create a griffon app via the command line and was able to open the griffon project in NetBeans. I am still not sure what could be wrong with my environment that still causes that problem... I'll be sure to update the plugin whenever their is an update...
Posted by Juixe TechKnow on June 06, 2009 at 09:34 PM PDT #
TO Juixe:
I tried with NB6.7RC1. I had the same problem. First go to the preferences, and set both griffon home AND grails home then click OK (rego in the preferences to check it is ok) then the create-app with netbeans should work fine.
TO Geertjan:
Could it be possble to add the src/main directory in the 'project' window. I define some services (groovy classes) in that directory.
Thanks for that plugin.
Posted by Raphaël on June 07, 2009 at 06:38 AM PDT #
Well, the instructions clearly state that you should be using 6.7 Beta. If you're using something else, then chances are that it won't work exactly as described. Yes, I'll add src/main to the Projects window.
Posted by Geertjan on June 07, 2009 at 08:09 AM PDT #
I downloaded and installed the RC2.
It works fine after configuring the pathes.
Posted by Raphaël on June 07, 2009 at 12:26 PM PDT #


