I've been playing around with the IRB (Interactive Ruby Shell) Console in NetBeans. Generally, IRB is started from the command prompt in the directory containing your scripts. However, in NetBeans, it's launched from the NetBeans installation directory. So here are some tips on using IRB in NetBeans.
Create a Ruby Application named IRBTest.
In main.rb, define the following Blog class which we'll...
on Mar 23, 2007
Two weeks ago I introduced myself to Ruby on Rails, which was, technically, JRuby on Rails. Based on some constructive comments by David Rupp, I've spent some time over the past week doing some additional research on rails. In the process I began to look at pure Ruby (not JRuby).
Now, I'm sorry, this blog entry is somewhat Windows biased, which feels odd for a guy that normally talks about Java...
on Mar 19, 2007
If you are a NetBeans user or developer,
then I recommend to subscribe to NetBeans weekly newsletters. You can subscribe
to the list by going here
or sending an empty email to email@example.com.
The complete archives of the newsletter is available here.
This newsletter provides weekly updates on what's happening at netbeans.org,
contributions from the community, upcoming calendar of...
on Mar 6, 2007
A while back I watched the Creating a weblog in 15 minutes video that everyone was raving about and I remember thinking, yuck, too much command line. Then my buddy Roman produced a webcast (to be published later this week) showing how to do the same in NetBeans 6.0 Milestone 7. So here for you, I produce the blow-by-blow, with a slight twist in that I use the Derby database that comes with JDK 6...
on Mar 5, 2007
Chris Adamson was complaining that no one was announcing that their JavaOne talks were accepted, so here goes: my talk, "TS-9861: Advanced Java Programming Language Refactoring: Pushing the Envelope", was just accepted. It will both be about some of the radical transformers I'm currently working on, but more importantly about how the current state of tools technology can be used by other...
on Mar 2, 2007
I'm finally underway for my round-the-world trip, and as I said in my last entry, I'm available for speaking on NetBeans RCP, IVR Speech Recognition, and other topics en route.
If you're interested in tracking my progress, regular updates will be in my personal blog.
I'm just posting now because I recently procured the tickets for the first half of my journey. My dates are not set yet, but the...
on Feb 26, 2007
Some months ago I adopted Netbeans as the default IDE for my Open Source
projects. The main reason for changing from Eclipse to Netbeans was the adoption
of the recent technologies like SOA and JEE5 - technologies not officially supported
by Eclipse before the middle of 2007
2]. During this IDE migration,
I couldn't convince my office colleagues about the benefits of my choice and I also...
on Feb 22, 2007
NetBeans 6 milestone 7 has released and you can download it from NetBeans web site by at least two methods
Traditional setup file for separate packs
using new NetBeans installer which allows you to customize your package before you download it.
Traditional method for downloading NetBeans 6 which is a development build is using http://www.netbeans.info/downloads/dev.php and the new...
on Feb 22, 2007
A while back I wrote a tool called BeanNetter that would take any library JAR file and generate a NetBeans module that added the library to the list of libraries you can use from your projects (a handy way to bundle source and Javadoc all together so people can debug). It also would add any JavaBeans in the JAR to the Matisse (Swing GUI Designer) component palette. Well, it is now also an Ant...
on Feb 7, 2007
Whether you're an agilist or not, you should be aware that automated testing is one of the key factors for the success of your projects. While test runners such as JUnit are widely known, there are other powerful tools that can help: those that produce reports about your test coverage.
The count of tests for class, in fact, is not enough to understand whether your code is well covered; this...
on Feb 4, 2007
Keeping an old habit since the old times of C/C++ development and Makefile, mostly under Unix, I usually set environment variables to specify some properties that should be available during compiling or testing. But environment variables can create troubles sometimes.
For instance, Mistral automated tests need to deal with a number of images that are used as a test case. Unfortunately, most of...
on Jan 31, 2007
I've not been posting lately, but it's not for lack of excitement around here.
For one thing, I've been collaborating on the forthcoming NetBeans RCP book. If you're at all interested in RCP development, I promise you this book will make your job easier. I started on the NB platform about 3 or 4 years ago, and I struggled with it a lot. I can't believe how much easier it is now. The support...
on Jan 29, 2007
The NetBeans source code editor is not known the be the ultimate one these days. From what I heard and saw, IDEA seems to be #1 in this respect today. But sometimes even small things have big effects and make work more enjoyable.
Sandip Chitale created a set of linetools as a NetBeans module that nobody should miss. It gives a liteweight way to work with lines. It's very easy to move lines around...
on Jan 28, 2007
After months of slogging through Sun's Open Source Review process, last night I committed Jackpot's source to the NetBeans public CVS repository. If you want to browse it, follow the directions in the NetBeans CVS Access page, specifying "jackpot" as the module to check out.
You may be in for some disappointment if you do this, however, as all these source files provide is IDE integration for...
on Jan 25, 2007
Well, my last blog post was about the Rio plugin of Mistral, and ended with an open (and expected) problem related to performance - something that I thought I'd have addressed in the next post. But as often happens, other commitments prevented me from completing the next step in the planned time - I think we'll have to wait two or three weeks still.
In the meantime, I'm busy - among other things...
on Jan 24, 2007
NetBeans has a selection model where whatever logical window has focus owns the selection (determines what actions are enabled/disabled, what the property sheet shows, etc.). Some applications need something different - for example, an image editor probably wants the current image to own the selection no matter what logical window has focus. You can completely replace the selection management...
on Jan 23, 2007
Roumen is a really fast blogger, this already is in his blog =). As I am one of these guys, I wanna say thanks to NetBeans's Team, and I hope we can do a good job on NetBeans Dream Team.
First of all, we are defining how the project will work, however I can say that you will have very interesting good news, and please prepare yourself to join with us in that interesting Project.
Is not so...
on Jan 19, 2007
I have just
made available a zip bundle on the Jabble site in response to
some users that got stuck in the installation process: new to Jabble,
new to NetBeans, new to Java... it's tough!.
The ideal solution would have been WebStart installation - one
click installation. Unfortunately a few NB modules are not ready for
that... hopefully they will be in the next NetBeans release...
on Jan 18, 2007
On the my new JSF Palette Components I've been doing, It allows users get any BackingBean (bean) from the Project, to make it possible, I was looking for on NetBeans Dev Wiki. And I get this entry: http://wiki.netbeans.org/wiki/view/DevFaqEditorJEPForMimeType . However, I think this might works on NetBeans 6.0, cause doing like this entry says ...
EditorKit kit = CloneableEditorSupport....
on Jan 17, 2007
Hi everybody, after some free time this week, I am almost finishing the new JSF Palette for NetBeans. In the following image you can see its actual state:
As we are always doing comercial applications for serveral niches of business, itÂ´s really cool to imagine you could work as an IDE Developer, while you aren't hired to do that, you can do it to help you save time in projects or simply for...
on Jan 17, 2007