sandip chitale's blog    Sandip Chitale's blog (scblog)
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
20070123 Tuesday January 23, 2007

Fix CVSROOT module uploaded

Two weeks ago, I talked about a simple program to recursively fix the value CVSROOT in CVS/Root files (see the blog entry for the details on the motivation behind such functionality). I have wrapped that functionality in a simple module Fix CVSROOT.

I have uploaded the Fix CVSROOT module to my Netbeans update center described here.

This module installs the following action in Tools menu.

Action

Description

Fix CVSROOT Recursively fix the CVSROOT in CVS/Root files in the specified directory. The directory of the selected node in the IDE is used at the default top level directory.

Fix CVSROOT Project 

(In case anyone wants to hack this project, it needs to be unzipped in contrib/ directory of NetBeans CVS workspace.)

DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk. 


Posted by sandipchitale ( Jan 23 2007, 07:04:36 PM PST ) Permalink Comments [9]


Trackback URL: http://blogs.sun.com/scblog/entry/fix_cvsroot_module_uploaded
Comments:

Hi Sandip, I've already written a similar module. It is called CVSROOT Selector and it is available in the Alpha Update Center. It's also commited on NB's CVS.

Posted by Michael Nascimento Santos on January 24, 2007 at 05:41 AM PST #

Hi Michel,

Yes...Michel Graciano pointed that out in a comment to my last blog about the command line version of Fix CVSROOT. That is why I did not check this one into NetBeans CVS contrib/. Instead I put the module NBM on my UC and Project zip out there as I had already built the module and in case anyone wanted to hack it.

Thanks for your good work.

Posted by Sandip on January 24, 2007 at 07:48 AM PST #

I couldn't find Fix CVSROOT in the Update center's list. I did see something like "line tool" and "rectangle tool".

Posted by Earl Harris on January 31, 2007 at 11:38 AM PST #

Hi Earl, I see it under Versioning/CVS node. Which update center did you use? This http://blogs.sun.com/roller/resources/scblog/update-center.xml right?

Posted by 192.18.43.225 on January 31, 2007 at 01:27 PM PST #

Yes. I walked through the instructions again. I saw Versioning/CVS-> Fix CVSROOT. When I select it and press "Add", I get the following message. The following module dependencies could not be satisfied: MODULE: org.netbeans.modules.cvs.fixcvsroot module org.netbeans.modules.projectapi/1 > 1.9.22module org.openide.loaders >5.9.22module org.openide.filesystems > 6.4.22module org.openide.windows > 6.5.22module org.openide.nodes > 6.7.22module org.openide.util > 6.8.22module org.openide.io > 1.9.22 Module can be downloade, but cannot be enabled. Include module in install list anyway? How should I proceed?

Posted by Earl Harris on February 01, 2007 at 07:15 AM PST #

Hmm...what version of NetBeans are you using? Fix CVSROOT will work against NB5.5 FCS and NB6.0 only. I should have said that in the blog I guess. I will make it a practice to specify that.

Posted by Sandip on February 01, 2007 at 09:19 AM PST #

I have Netbeans IDE 5.0 (Build 200601251500). I guess I have to download the latest version.

Posted by Earl Harris on February 01, 2007 at 12:31 PM PST #

Aha..That explains it. Sorry for the confusion.

Posted by Sandip on February 01, 2007 at 01:32 PM PST #

Earl,

I received your comment about:

java.lang.NoClassDefFoundError: javax/swing/GroupLayout at org.netbeans.modules.cvs.fixcvsroot.FixCVSROOTPanel.initComponents(FixCVSROOTPanel.java:69) 
I am sorry you are having trouble with this module. It looks like somehow the GroupLayout which is used as the layout of the module's dialog is missing in your installation. I will look into what may be causing that.

Posted by Sandip on February 02, 2007 at 07:55 AM PST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed








« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 373


XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

scblog
scblog