Friday, December 26, 2008

SCSNI, Netbeans Dream Team and other news

There has been a couple of news items with me lately.

First I was just checking the sun certification database, and it was there. The status of the Netbeans certification test took in October is passed. So Now I am a Sun Certified Specialist on the Netbeans IDE.

Secondly, I am now a part of the Netbeans Dream Team. Which means that i will be more heavily involved with the Netbeans community.

More to Come
Happy Coding don't let the snakes bite.

Tuesday, November 18, 2008

Python comes to Netbeans today.

The time has come. Python support is available for Netbeans.
Download it, Have fun with it.

Now I need to look forward to version 7 and getting it final.
I will create a video developing a django project with Netbeans shortly

Thanks for all your support,

Wednesday, November 12, 2008

Python in Netbeans is a go!!!!

After a 6 months of development. nbPython has been given the green light to be release as the official python build for Netbeans. The EA release will be released with Netbeans6.5. This feels like a real achievement for us. I would like to thank all the people who made this possable:
  • Ted Leung
  • Tor Norbye
  • Frank Wierzbicki
  • Jean-Yves Mengant
  • Amit Saha
  • The rest of the nbPython Development team
  • Netbeans QA Team
Most of all the user community, With out you this would have been all for nothing.

Wednesday, October 22, 2008

Netbeans turns 10

Man I can't believe Netbeans is turning 10 now. It feels like just yesterday I downloaded version 3.3(which i still have on CD by the way). Back then you could only do web and standard java development. Those days were some very interesting projects back then. It has come a very long way.

Now I am working to provide support for python support in Netbeans. I feel like i am finally giving back to the community that has given so much to me. This has been the chance for me to grow and work with some of the best engineers in the community.
Now All I can say is Happy Birthday Netbeans!!!!

Wednesday, August 13, 2008

nbPython m6 is released

I am pleased to announce nbPython Milestone 6 is out.
Some of the new features include:
  • The python console has been rewritten to work with windows.
  • New Python package support
  • Python run commands are now intergrated with the standard netbeans run commands
  • New Project main file
  • Platform selection per project
  • Color change of the default platform in the platform manager
  • And much more...
Milestone 6 works with Netbeans 6.5 beta.
It can be downloaded here

So go get the bits and have fun
Keep watching I will produce a new video very soon

Netbeans 6.5 Beta is out

This is cool. Netbeans 6.5 beta is out. Now we can really have fun testing it.
If you want to play with the code check out


This Just Sucks

My Blog has been detected as a Spam Blog. This is funny. Here I am the lead developer on a open source project and just trying to get the word out about the work my team does. Apparently this constitutes spam. Thanks Google!!!


Monday, July 28, 2008

nbPython Milestone 5 is out

I have posted milestone 5. You can get it here(

Just a note, Milestone 5 has a completely new project system. so any project created before Milestone 5 will not open. My recomendation is that you create the project with a new name and then copy the files from the old source directory to the new source directory. Then everything will be ok.


Friday, July 18, 2008

Building netbeans with python

I was playing around with trying to automate the process of checking out and building my development netbeans. First I thought i would write a shell script. Thats when it hit me, Can I preform the whole process using python.
  • Open the script
  • change the antpath variable to where you have ant installed
  • run the script
download script
#! /usr/bin/python

import os
# set ant path here
antpath = "/home/alley/app/ant1.7.0"

hgpull = "hg pull -u"
hgclone = "hg clone"

os.putenv("ANT_OPTS", "-Xmx196m")
f = open("nbbuild/", "w")
os.system(antpath + "/bin/ant -f nbbuild/build.xml")

os.system("cp -R nbbuild/netbeans " + os.getcdw())

os.system(antpath + "/bin/ant -f nbbuild/build.xml clean")

Tuesday, July 15, 2008

nbPython demos have been posted to

The nbpython m4.2 demo videos have been posted on
These videos cover configuration, console, code generation and code templets


Sunday, July 13, 2008

nbpython M4.2 video part 2

I had to split the demo into two parts. Here is the second part of the demo below.
This covers the code generators and templates

nbpython M4.2 video part 1

I have published the first part of the nbpython m4 demo
It can be view below

Saturday, July 12, 2008

nbPython m4.2 released

We have released Milestone 4.2 of nbPython. With this release the console has been fixed. If you want to open the console select window-> Python console from the menu bar.

You can download the new release from

I will publish a video shortly


Netbeans RCP shell scripts permissions

Sometimes when you are building an RCP application, You need to include some shell scripts. What i have found that if you are using Linux, the build zip command drops the executable permission off the scripts. Here is a simple way to fix that. In the Suites build.xml file override the build-zip command with this.

<target name="build-zip" depends="build,build-launchers" description="Builds a ZIP distribution of the suite, launchers, and selected modules from the platform.">
<mkdir dir="${dist.dir}"/>
<zip destfile="${dist.dir}/${}.zip">
<zipfileset dir="${build.launcher.dir}/bin/" filemode="755" prefix="${}/bin"/>
<zipfileset dir="${build.launcher.dir}/etc/" prefix="${}/etc"/>
<zipfileset dir="${netbeans.dest.dir}" filemode="755" prefix="${}">
<include name="**/lib/nbexec*"/>
<zipfileset dir="${netbeans.dest.dir}" prefix="${}">
<filename name="**/lib/nbexec*"/>
<selector refid="zip.platform.included.files"/>
<!-- Yes, the doubled is a bit ugly, but better than the alternative; cf. #66441: -->
<!-- added filemode to add executable permissions in the zip file -->
<zipfileset dir="${cluster}" prefix="${}/${}" filemode="755">
<exclude name="config/Modules/*.xml_hidden"/>

nbPython has a console

I have finally got the python console working. As you can see in the picture, I can even run ipython as my interactive console.

More on this later

Tuesday, July 8, 2008

Netbeans to support Python, It's offical

Today at EuroPython 2008, Ted Leung (Dynamic Languages & Tools Architect, Sun Microsystems) and Frank Wierzbicki (Jython Project Lead, Sun Microsystems) announced that the NetBeans IDE will be supporting Python and Jython in future releases. At the core of bringing Python/Jython support to the NetBeans IDE, is the formation of the NBPython Project, led by community member Allan Davis.

For more information, visit the NBPython Project page and request membership to the project. For developers wishing to contribute, sign up for the development mailing list.

In addition, the Sun Developer Network (SDN) is also launching the Python Developer Center and is planning to feature Python/Jython technologies in future Sun Tech Days events, a 15-city world tour designed to educate developers in local markets on various technologies. Python runtime support is already available in OpenSolaris 2008.05, via the repository, as well as with Cool Stack on Solaris 10-based systems.

For More Information:

NBPython Project Page
Sun's Python Developer Center

Interview: Allan Davis, nbPython Developer

Ted Leung's Blog
Frank Wierzbicki's Blog

nbPython Milestone 4.1 Released

Sorry guys,
I had to release a patch to nbPython. I could not leave it hanging like that. I descovered a major bug after i uploaded last night. The Parser was going haywire. I have fixed that and have now released Milestone 4.1
It can be found at

Lead Developer, nbPython

nbPython M4 is released

I have posted milestone 4 of nbPython. It can be downloaded at
Please note that the nbm's can only be installed in 07/07/2008 daily build or later.
Some of the new features include are:
  • class and method generation (alt + insert)
  • Interactive console (window->other->python console)
  • Improved syntax highlighting
Lead Developer, nbPython

Monday, July 7, 2008

6.5 M1 is out

Netbeans 6.5 Milestone 1 is out. it can be downloaded at
New things include PHP support, as well as other great enhancements

to see Romen demo the php editor check out this link

Stay tuned I will have an nbPython update very soon

Alley, Lead Developer

Friday, June 20, 2008

Interview Published

Geertjan published an interview about me and nbPython today. Go and check it out at


Tuesday, June 17, 2008

USB Repair part 2

I Did it!

I re-soldered the connections to my broken USB flash drive. Would you believe it, it worked. I used a very thin solder


Thursday, June 12, 2008

USB Repair part 1

Great!! What a klutz I am. I bumped into my USB jump drive today. When i did that, the connector bent to a 45 degree angle (Wonderful). With the connector bent the pins that connect the USB connector to the flash board have bent and separated from the flash board. I am going to try and re-soldering the connections long enough to see if i can get the data off the drive. I will try this tonight.

I will post more on this later (with pics) about how I fix this.


Tuesday, June 10, 2008

nbPython Demo on

Hello again.
I have posted the m3 video on Some people were having a problem with youtube and some networks block that as well. So here it is again. Click here to open a new page(

Saturday, June 7, 2008

What's New in nbPython Milestone 3

What i am trying to do with our development is release a milestone about every two or three weeks. With that in mind i am proud to release milestone 3 of nbPython. The release can be downloaded from the nbpython site( There are a couple of great new features in this release.

The first of the new features is execution of a python script. In the project window, If you right click on a python script one of the options is run. Select this option and it will be run in the output window at the bottom. Also if you have the script already open in the editor, On the menu bar select run then run python script.

The second new feature is being able to set Python interpreter in the options panel. To access the options panel, select Tools then Options from the menu bar. Once the menu bar is displayed go to nbPython button on the top. Now the nbPython options are displayed. You can set the python interpreter to your favorite python runtime. If you are using CPython then check off the native option below the interpreter command. Click ok to accept the changes
That's it for this release.
Code you later,

Thursday, June 5, 2008

NbPython Video

I created a video of the upcoming milestone release of nbPython. Let me know what you think

Monday, May 12, 2008

nbPython Milestone 2 has been released

nbPython Milestone 2 has been released. This release includes a new syntax highlighting module. Please check it out and let me know what you think

Alley Davis
Lead Developer - nbPython

Wednesday, April 23, 2008


My favorite part of coding is hunting down the Ghost error. This error will show up with a error message that does not mean anything. After hunting it down, you find where you think the error is. You comment out the offending code and rerun. Low and behold the error still shows up. different line number but exact same error.

My favorite example of this is the AutomationException error. This error is thrown by the java - com bridge(There are two words that should never go together). There was no error message just a stack trace of where to start the hunt. After a couple of weeks hunting this, I found out that it was a credential issue(Other developers with the keys to the kingdom had changed the password)

nbPython Milestone 1

nbPython has released the first milestone. go checkout to find out more