Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Using ClearCase
Using ClearCase [message #49254] Fri, 08 November 2002 08:13 Go to next message
Eclipse UserFriend
Originally posted by: gas.keba.co.at

Hi,

i'm using the ClearCase plugin and i want to create a project from a
clearcase snapshot view. until now i wasn't able create the project so
that i get the version controll options. could anyone tell me, step bei
step, how to generate a project out of a snapshot view.
Re: Using ClearCase [message #49280 is a reply to message #49254] Fri, 08 November 2002 15:50 Go to previous messageGo to next message
Judy N. Green is currently offline Judy N. GreenFriend
Messages: 149
Registered: July 2009
Senior Member
"Rainer" <gas@keba.co.at> wrote in message
news:aqfrmf$pv6$1@rogue.oti.com...
| Hi,
|
| i'm using the ClearCase plugin and i want to create a project from a
| clearcase snapshot view. until now i wasn't able create the project so
| that i get the version controll options. could anyone tell me, step bei
| step, how to generate a project out of a snapshot view.
|

Hi Rainer,

I am not familiar with the Clear Case plugin but generally speaking ...

Each plugin has its own set of views and controls. The Clearcase and CDT
plugins know about the base Eclipse objects, but they do now know about each
other.

As a result, you must be in a CDT view in order to create CDT projects and
you must be in a Clearcase View in order to do ClearCase operations.

If ClearCase wants to support CDT projects then they must add that support
to their plugin.

I hope that is not too confusing.

-Judy

--
Re: Using ClearCase [message #49296 is a reply to message #49280] Fri, 08 November 2002 18:20 Go to previous messageGo to next message
Christopher Songer is currently offline Christopher SongerFriend
Messages: 9
Registered: July 2009
Junior Member
Hi!

Clearcase snap shot views (not live views) are a lot like perforce views.
I'm working in eclipse with perforce and can offer my comments on that
experience. Clearly, it's not direct clearcase/eclipse experience, but
I've used clearcase quite a bit so have some idea what's gonig on and
think alot will translate for you.

First, don't rely on the Team features of eclipse unless they are the CVS
feature. That one seems to work really well. The perforce one is there,
but a little rough around the edges. If the clearcase one is in the same
state, you are probably better off switching to the clearcase tools when
you want to sync with the vob.

Starting with the perforce tools outside eclipse, I created a view (config
spec) that rooted the controlled source modules in depot (vob) to the root
of the eclipse workspace. I then switched to eclipse, created the project,
and added the source files. Switching to the perforce tool, I checked it
all in.

When working, I tend to do a lockless checkout (clearcase's default
right?) of most of the project with the perforce tool, work in eclipse and
when I am ready to check back in, I switch back to the perforce tool,
revert all unchanged files, sync to the head, resolve any conflicts and
then check in.

Unless I misunderstand, there is not anything really CDT specific in this.
Revision control with eclipse seems to be revision control with eclipse
independent of project type.

Thanks!
-Chris

Judy N. Green wrote:


> "Rainer" <gas@keba.co.at> wrote in message
> news:aqfrmf$pv6$1@rogue.oti.com...
> | Hi,
> |
> | i'm using the ClearCase plugin and i want to create a project from a
> | clearcase snapshot view. until now i wasn't able create the project so
> | that i get the version controll options. could anyone tell me, step bei
> | step, how to generate a project out of a snapshot view.
> |

> Hi Rainer,

> I am not familiar with the Clear Case plugin but generally speaking ...

> Each plugin has its own set of views and controls. The Clearcase and CDT
> plugins know about the base Eclipse objects, but they do now know about each
> other.

> As a result, you must be in a CDT view in order to create CDT projects and
> you must be in a Clearcase View in order to do ClearCase operations.

> If ClearCase wants to support CDT projects then they must add that support
> to their plugin.

> I hope that is not too confusing.

> -Judy

> --
> ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
> Judy N. Green Software Engineer
> QNX Software Systems Ltd. www.qnx.com
> ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
Re: Using ClearCase [message #49321 is a reply to message #49296] Fri, 08 November 2002 18:23 Go to previous messageGo to next message
Christopher Songer is currently offline Christopher SongerFriend
Messages: 9
Registered: July 2009
Junior Member
Two other comments:

- When you check out from the clearcase tool, select refresh in the
project context menu. It finds new files that way.

- I checked in the .project files and it seems to be working for others.
Your mileage may of course vary.

chris songer wrote:


> Hi!

> Clearcase snap shot views (not live views) are a lot like perforce views.
> I\'m working in eclipse with perforce and can offer my comments on that
> experience. Clearly, it\'s not direct clearcase/eclipse experience, but
> I\'ve used clearcase quite a bit so have some idea what\'s gonig on and
> think alot will translate for you.

> First, don\'t rely on the Team features of eclipse unless they are the CVS
> feature. That one seems to work really well. The perforce one is there,
> but a little rough around the edges. If the clearcase one is in the same
> state, you are probably better off switching to the clearcase tools when
> you want to sync with the vob.

> Starting with the perforce tools outside eclipse, I created a view (config
> spec) that rooted the controlled source modules in depot (vob) to the root
> of the eclipse workspace. I then switched to eclipse, created the project,
> and added the source files. Switching to the perforce tool, I checked it
> all in.

> When working, I tend to do a lockless checkout (clearcase\'s default
> right?) of most of the project with the perforce tool, work in eclipse and
> when I am ready to check back in, I switch back to the perforce tool,
> revert all unchanged files, sync to the head, resolve any conflicts and
> then check in.

> Unless I misunderstand, there is not anything really CDT specific in this.
> Revision control with eclipse seems to be revision control with eclipse
> independent of project type.

> Thanks!
> -Chris

> Judy N. Green wrote:


> > \"Rainer\" <gas@keba.co.at> wrote in message
> > news:aqfrmf$pv6$1@rogue.oti.com...
> > | Hi,
> > |
> > | i\'m using the ClearCase plugin and i want to create a project from a
> > | clearcase snapshot view. until now i wasn\'t able create the project so
> > | that i get the version controll options. could anyone tell me, step bei
> > | step, how to generate a project out of a snapshot view.
> > |

> > Hi Rainer,

> > I am not familiar with the Clear Case plugin but generally speaking ...

> > Each plugin has its own set of views and controls. The Clearcase and CDT
> > plugins know about the base Eclipse objects, but they do now know about
each
> > other.

> > As a result, you must be in a CDT view in order to create CDT projects and
> > you must be in a Clearcase View in order to do ClearCase operations.

> > If ClearCase wants to support CDT projects then they must add that support
> > to their plugin.

> > I hope that is not too confusing.

> > -Judy

> > --
> > ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
> > Judy N. Green Software Engineer
> > QNX Software Systems Ltd. www.qnx.com
> > ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
Re: Using ClearCase [message #49594 is a reply to message #49296] Tue, 12 November 2002 17:37 Go to previous messageGo to next message
Judy N. Green is currently offline Judy N. GreenFriend
Messages: 149
Registered: July 2009
Senior Member
"chris songer" <songer@tensilica.com> wrote in message
news:aqgv9q$hhh$1@rogue.oti.com...
|
| Hi!
|
| Clearcase snap shot views (not live views) are a lot like perforce views.
| I'm working in eclipse with perforce and can offer my comments on that
| experience. Clearly, it's not direct clearcase/eclipse experience, but
| I've used clearcase quite a bit so have some idea what's gonig on and
| think alot will translate for you.
|
| First, don't rely on the Team features of eclipse unless they are the CVS
| feature. That one seems to work really well. The perforce one is there,
| but a little rough around the edges. If the clearcase one is in the same
| state, you are probably better off switching to the clearcase tools when
| you want to sync with the vob.
|
| Starting with the perforce tools outside eclipse, I created a view (config
| spec) that rooted the controlled source modules in depot (vob) to the root
| of the eclipse workspace. I then switched to eclipse, created the project,
| and added the source files. Switching to the perforce tool, I checked it
| all in.
|
| When working, I tend to do a lockless checkout (clearcase's default
| right?) of most of the project with the perforce tool, work in eclipse and
| when I am ready to check back in, I switch back to the perforce tool,
| revert all unchanged files, sync to the head, resolve any conflicts and
| then check in.
|

Thanks for the information Chris. This would be great on the Eclipse Wikki.
Would you have a few moments to add it?


| Unless I misunderstand, there is not anything really CDT specific in this.
| Revision control with eclipse seems to be revision control with eclipse
| independent of project type.

You are completely correct. The SCM plugins work on the Eclipse Framework
and are independent of CDT or JDT or other plugin types.

-Judy


hanks!
| -Chris
|
| Judy N. Green wrote:
|
|
| > "Rainer" <gas@keba.co.at> wrote in message
| > news:aqfrmf$pv6$1@rogue.oti.com...
| > | Hi,
| > |
| > | i'm using the ClearCase plugin and i want to create a project from a
| > | clearcase snapshot view. until now i wasn't able create the project so
| > | that i get the version controll options. could anyone tell me, step
bei
| > | step, how to generate a project out of a snapshot view.
| > |
|
| > Hi Rainer,
|
| > I am not familiar with the Clear Case plugin but generally speaking ...
|
| > Each plugin has its own set of views and controls. The Clearcase and CDT
| > plugins know about the base Eclipse objects, but they do now know about
each
| > other.
|
| > As a result, you must be in a CDT view in order to create CDT projects
and
| > you must be in a Clearcase View in order to do ClearCase operations.
|
| > If ClearCase wants to support CDT projects then they must add that
support
| > to their plugin.
|
| > I hope that is not too confusing.
|
| > -Judy
|
| > --
| >
Re: Using ClearCase [message #49950 is a reply to message #49254] Wed, 13 November 2002 19:00 Go to previous message
Eclipse UserFriend
Originally posted by: crivet.ratio.nospam.nal.com

On Fri, 8 Nov 2002 08:13:03 +0000 (UTC), gas@keba.co.at (Rainer)
wrote:

>Hi,
>
>i'm using the ClearCase plugin and i want to create a project from a
>clearcase snapshot view. until now i wasn't able create the project so
>that i get the version controll options. could anyone tell me, step bei
>step, how to generate a project out of a snapshot view.
>

Rainer,

First, I would have to ask which ClearCase plugin are you using?
There is one from Rational, but there is another Open Source one
available from SourceForge.

If you are using the one from Rational, then you can keep on
reading...

First, I would make sure that you get the ClearCase menus in the C/C++
Development perspective. To do this, open the perspective (Window ->
Open Perspective) and then customize it (Window -> Customize
Perspective) by adding the ClearCase command group (under "Other").
You should now have a "ClearCase" top-level menu and an associated
toolbar.

You then have to make sure to connect to ClearCase before starting.
You can do this either by selecting the "ClearCase -> Connect to
Rational ClearCase" menu option or its corresponding toolbar button.
If you want to automatically connect to ClearCase each time you start
up Eclipse, you can set this preference under "Window -> Preferences
-> Team -> Rational ClearCase".

Once this is done, you should be prompted to add to source control any
project and files you create in a view. You can then use the "Team"
context menu to execute ClearCase operations on these elements.

I do hope this helps...

/Charles
And I was told to add: "The opinions expressed in this message do not reflect the views of my employer."
Previous Topic:Starting a new process
Next Topic:Newbie question -character placement in editor
Goto Forum:
  


Current Time: Sat Nov 09 05:24:35 GMT 2024

Powered by FUDForum. Page generated in 0.03414 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top