Samstag, 26. Mai 2012

NetBeans 7 with Python support

- draft -

Short disclaimer, you are going to do it on your own risk, i am not responsible for any crashes etc.
Okay, for future references here are the steps on how to get Python support for NetBeans 7.1.2.
So after installing NetBeans you need to add the developer branch of the plugins by adding either

http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
or
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
I went with the latter one.
You do that by going in NetBeans to Tools -> Plugins
In Settings you say add choose a name, like Developer and insert one of the two links from above.
Before you now install the python plugin you should add the jar-file from here. Just copy the file to
Harddrive:\Path\to\NetBeans 7.1.2\platform\lib\
Now restart NetBeans, if you haven't already.
Go back to Tools -> Plugins in Available Plugins choose Python and let it install. After completion you'll need to restart your IDE again. If upon restarting it doesn't automatically start you IDE don't panic, just start NetBeans manually.

As a last step we need to tell NetBeans where python resides.
Either specify it, while creating a new Project or over the Python Platforms under the Tools-DropDown-List.


Et Voilà :-)
Happy Coding.