November 29, 2008

Doing more with the New Project Samples tutorial

You can create and distribute project samples of existing project types , by following this tutorial at http://platform.netbeans.org/tutorials/nbm-projectsamples.html

Actually, with no work at all, you can use the above procedure to do (at least) 2 things more:
  1. If you have the need to create a new project category, that uses a project structure similar to any of the existing project types then, just choose the category appropriately. For eg. instead of Samples, just put it under a project category such as Java and your new project type will be displayed there (Assuming your code will use the Java project structure with Ant)
  2. Say, the project category doesn't exist under Samples, then all you need to do is add an extra folder tag to your layer.xml. For eg. if the IDE does not yet have any Python samples category (it actually doesn't, see Issue #15365), you just need to add the appropriate line in your layer.xml

November 28, 2008

'Clouding' my mind

Apache Hadoop, Functional Programming, MapReduce, Erlang, CouchDB are the things buzzing around in my mind.


November 27, 2008

What does India do wrong?

Till this post, What does India do wrong? did not turn up a single result with the entire phrase. Perhaps now, it will.

I ask this question in the background of the Mumbai attacks. Time and again- Bombay, Delhi, Bangalore, Jaipur...

Do I have the answer? No. Anybody has? Even if you are not an Indian resident, do you see a reason?

NetBeans IDE for Python: my blog posts

Hi Folks,

These are the posts I have done so far on the NetBeans IDE for Python support:

Now, you can track all my posts on the Python support at: http://amitksaha.blogspot.com/search/label/nbpython

Working with the NetBeans IDE for Python EA release

Update: The Python support modules can now be installed from the NetBeans 6.5 Update Center

The NetBeans IDE for Python is a EA release. Hence you will not be able to install the Python bits from the NetBeans IDE update center. So, you are left with a couple of options:

  1. Use the NetBeans IDE for Python EA standalone installer, which works great. You can then use the update center to add other bits- Java, C/C++, Ruby..
  2. If you already have a NetBeans IDE 6.5 installation, then install the Python bits into the same location wich also contains the other NetBeans 6.5 installation. I have found this working fine on Linux. For Mac OSX, this post at http://blogs.steeplesoft.com/netbeans-65-python-support-and-mac-os-x/ will help you (No Idea about Windows; If you have found it working, please leave a comment)

PS: The project page is at http://wiki.netbeans.org/Python

Building and using 'nbandroid': Android support for NetBeans


NetBeans plugins for Google Android are being developed at http://kenai.com/projects/nbandroid/

The best way to try it out is to build the module suite. Here is how, (using NetBeans 6.5):

Clone the Hg repository:



Parent directory and name of the clone



After the clone is over, NetBeans will ask you to open one of the projects just cloned. As you can see there are 4 NetBeans modules and 1 module suite- suite. Select suite and click OK.


The suite project opens for you:


Right-click on suite and click Run. This will start the build.

After the build finishes, a new NetBeans IDE instance starts up and you can get started with Android development with the following document here at http://wiki.netbeans.org/IntroAndroidDevNetBeans which has been updated for NetBeans IDE 6.5 and Android SDK 1.0.

November 23, 2008

Trying out the Lex/Yacc based C/C++ project sample

NetBeans ships with a Lex/Yacc based simple application under the Samples > C/C++ category:

To try it out, you will need to have lex and yacc installed. On Debian, they are available in flex and bison package respectively.

Once the tools are installed, run the project and you can try the simple token recognizer:

Type something followed by Return. Type 'q' or 'Q' to end.

ab1
LOWERCASELETTER
LOWERCASELETTER
DIGIT

Ab67&
UPPERCASELETTER
LOWERCASELETTER
DIGIT
DIGIT
OTHER

November 22, 2008

OpenSolaris 2008.11 RC 2 is out

OpenSolaris 2008.11 RC 2 is out. Its one step nearer to the final release. All details are in this post

ISO images are available from http://www.genunix.org You can ofcourse go ahead and try it using your favorite Virtuallization software. I had put some instructions for trying out Open Solaris 2008.11 RC 1 with VirtualBox on Ubuntu:

Resuming here...

I am back to where it all started. I will resume blogging here.

In the past 6 months, I have blogged a lot about NetBeans, MySQL, Solaris, BOJUG. Check out http://blogs.sun.com/amitsaha.

See you.