NetBeans 6.5, Python Support, and Mac OS X

November 26th, 2008

The NetBeans team recently released version 6.5 of the NetBeans IDE, which I really, really like. They also released an Early Access peek at the Python support coming for NetBeans. Unfortunately, it’s not straightforward to get Python and Java EE support in the same installation. The Python EA release is a complete NetBeans installation, i.e., you can’t just add the modules to an existing NetBeans installation.

Fortunately, there is a pretty easy solution to this: if you already have an existing 6.5 installation, you can simply run the Python EA installer, which will detect the existing 6.5 install and update it to add Python support. Unfortunately, the installer has a bug on OS X, which breaks this functionality. The end result is that your existing installation is replaced, which is likely not what you want. The good news is that there is a workaround, albeit ugly and manual, to get us Mac users running while they fix the installer issue. Here are the steps I followed to add Python support to NetBeans 6.5 on the Mac (big thanks to the NetBeans Users list for the tips that led to this solution):

  • Make sure NetBeans is not running
  • Download python cluster separately from http://download.netbeans.org/netbeans/6.5/python/ea/zip.html (search for netbeans-6.5-200811131701-python.zip — or whatever the latest is — in the second list “Module Clusters”)
  • Put contents of the python1 directory in the zip in ~/.netbeans/6.5
  • Delete directory ~/.netbeans/6.5/var/cache
  • Add “python1″ to /Applications/NetBeans/NetBeans 6.5.app/Contents/Resources/NetBeans/etc/netbeans.clusters
  • Start NetBeans
  • Profit? :)

You should now be able to create a new Python project. The installer bug should be fixed in the next release (my guess is that it’s already fixed in the NB hg repo), but these “easy” steps should get you going in the interim.

Technorati Tags: ,

Popularity: 24% [?]

Seam, WebBeans and GlassFish

November 18th, 2008

For some time now, Sun has made use of Ustream.TV to broadcast webinars covering various topics of interest to GlassFish users.  That effort continues on November 20th at 11am PST as Eduardo Pelegri-Llopart hosts Dan Allen, author of Seam in Action to discuss Seam, WebBeans, and GlassFish.  Some of WebBeans’ companion specs (EJB 3.1 and JSF 2) will also be covered by spec leads Ken Saks and Roger Kitain, respectively.  For more information, see this page on Sun’s wiki.  To catch previous broadcasts on The Aquarium’s Ustream.TV channel, you can go directly there.

Technorati Tags: , , , ,

Popularity: 24% [?]

I’ve made the plunge

November 6th, 2008

I may have made a mistake, but I’ve joined 2007 and hopped on twitter.  You can follow me here, or view my latest updates in the sidebar.

Popularity: 19% [?]

GlassFish Day Online

November 6th, 2008

One more note (for now : ) on GlassFish v3 Prelude.  Sun is holding an online event called GlassFish Day, which is a day of short presentations (about 10 minutes each).  There will be several presentations throughout the day.  To see the schedule and decide which ones are of interest to you, please see this entry from The Aquarium.

Popularity: 20% [?]

Making Your GlassFish v3 Prelude Administration Console Plugin Pluggable

November 6th, 2008

In my last article, I talked about writing plugins for the GlassFish v3 Prelude Administration Console, which showed the various integration types supported out-of-the box by the console, but what if a plugin developer would like to allow other plugins to extend it just like the console itself does. In this short article, we’ll show how to do exactly that. (more…)

Popularity: 25% [?]

Extending the GlassFish v3 Prelude Administration Console

November 6th, 2008

Today, the GlassFish community is launching GlassFish v3 Prelude (Release Notes and Quick Start Guide). If you are not familiar with what Prelude is, here is a short write up giving the high level details. In this article, I’d like to focus on the third bullet there, “CLI and administration console extensibility.” Specifically, we’ll look at what it takes to create a plugin that will extend GlassFish v3’s Administration Console. (more…)

Popularity: 29% [?]

Not So Late Breaking News

November 3rd, 2008

I’ve been meaning to say something about this for while, now, but I have been a bit busy, and was finally beaten to the punch by Alexis Moussine-Pouchkine over at The Aquarium. Before I go any further, go read Alexis’ article, paying particular attention to the “real #1 winner” link. Go ahead. I’ll wait… (more…)

Popularity: 19% [?]

With many thanks to Kaushal Sheth
`