Jun Qian (钱骏) 's Weblog |
|
Monday Mar 12, 2007
Mass NetBeans Projects Opener
NetBeans project system is based on Apache Ant. When the project system advances in a newer version of NetBeans, the build scripts in your newly created projects will contain the latest and greatest changes. But what about your existing projects? NetBeans uses checksum comparison to determine if your existing projects' build scripts are up to date or not. If not, and if you haven't manually touched those files, NetBeans can automatically re-generate the build scripts for you. This auto-update usually happens when you open your projects in NetBeans. This sounds wonderful. Every time you download a newer version of NetBeans, simply reopen your existing projects inside NetBeans will upgrade them to use the latest and greatest build engine. If the number of your projects is small, this is no big deal. What if you have 100 projects, say, as part of some automatic testing system? Manually opening all the projects one by one is not a very pleasant task. We need automation! This "Mass Projects Opener" NetBeans module (available for NetBeans 5.5 and 6.0) provides ability to open and upgrade multiple co-located projects in one shot. Once installed, this module adds a new "Open All Projects..." action under the "File" menu. When invoked, it asks for a root directory that contains all the projects that you are interested in. It then (recursively) searches for all NetBeans projects under that root directory and opens them all.
This module also provides an "Open All Composite Application Projects..." action which can be used to open one particular type of NetBeans project (in NetBeans Enterprise Pack) under the given directory. This was my original intention to write this module.
Now I only wish NetBeans had a command line interface to make the project upgrading even more painless... Posted at 07:14PM Mar 12, 2007 by Jun Qian in NetBeans | Comments[6] |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posted by Deepak H P on March 13, 2007 at 04:14 AM PDT #
Posted by rselvaraj on April 09, 2007 at 11:32 AM PDT #
I can't say the re-designed plugin manager in NetBeans 6.0 is very intuitive.
Anyway, to install this module in NetBeans 6.0, download the NBM file and install it through Tools/Plugins/Downloaded/Add Plugins...
Posted by Jun Qian on August 10, 2007 at 12:16 PM PDT #
An update of this module is now available at http://blogs.sun.com/jqian/entry/mass_netbeans_projects_opener_with
Posted by Jun Qian on August 17, 2007 at 02:04 AM PDT #
Where to download the .nbm file? please give the link
Posted by NR031 on March 10, 2009 at 02:12 AM PDT #
Please check the comment section in http://blogs.sun.com/jqian/entry/mass_netbeans_projects_opener_with for the latest command-line utility.
Posted by Jun Qian on March 11, 2009 at 12:17 PM PDT #