Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

ClearCase Plug-In

<< < (5/6) > >>

killerbot:
Dear all,

The first beta of my ClearCase plug-in is available (see attachment).
If you don't know what ClearCase is, you probably don't need it (well you might but then you need to buy ClearCase first which is expensive).


OS/Evironment :
Windows (peferrably XP), sorry linux guys
Code::Blocks RC2
ClearCase (only been tested with snapshot views)

Install :
---------
1) copy the ClearCase.zip from the ClearCaseProject.zip to <CodeBlocks-instal-dir>\share\CodeBlocks
2) copy the clearcase.dll from the ClearCaseProject.zip to <CodeBlocks-instal-dir>\share\CodeBlocks\plugins
3) make sure the bin directory of clearcase is in your path (this is normally the case when you installed ClearCase)

Usage:
---------
- ClearCase functionality is available from the ClearCase menu (top menu bar, next to the Help menu) and when right clicking in the editor (submenu ClearCase)

- you can checkout/checkin/undo checkout a file (the current editor file), watch the version tree of that file, compare it with it's previous version, update it

- view the config spec of your view, update the view

- browse labels and branches in the current vob (determined for the moment on the current open file) (NOTE : in the next beta if no file is open it will be determined based upon the path of the project)

- Find your checkouts

- Start the ClearCase exporer and the Apply Label wizard

During checkout/check-in a dialog box will pop up allowing you to specify comments for your operation, and for an undo checkout out you can specify to have a keep version.
Several commands will provide feedback on the operation (sometimes together with some debug info) in the newly created ClearCase tab in the Messages panel.


The attached zip file also contains the source code, though it needs a clean up, some debug info is still visible. But tomorrow I am leaving for Las Vegas for the c++ devconnections and I wanted to have the first beta out. Second beta will be cleaned up, a tutorial for plug-in writing will be derived from it and some more functionality will be added.



I hope you enjoy it.

kind regards,
Lieven

[attachment deleted by admin]

mandrav:
Although I have no use for it, thanks a lot for the contribution Lieven :)

killerbot:
Dear All,

I have finally updated the plug-in :

* CB 8.02 or later compatible
* extra commands (also on project tree level)
* branching (to killerbot's project structure ;-) )
* advanced labeling (to killerbot's project structure ;-) )
* things I am forgetting

NOTE : drop the .zip extension first (added to be able to attach to this post)

Enjoy

[attachment deleted by admin]

lexis:
Hi killerbot

Is it possible to get src? I would like try to build it with with latest CB ver...

Thanks a lot :-)

coder:
too late  :), i have added basic clearcase calls (check in, check out, version tree, compare .....) to the "Tools" menu.
In attach my default.conf (located in the "C:\Documents and Settings\username\Application Data\codeblocks\")
in the <tools> tag you will see all CC stuff.


[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version