Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » external cvs update + refresh = problems.
external cvs update + refresh = problems. [message #114961] Fri, 07 November 2003 15:48 Go to next message
Eclipse UserFriend
So I have a couple of projects I work on eclipse. Typically I manage cvs
outside of eclipse because I already have a bunch of command line tools
that do exactly what I want.

After I do a cvs update externally to eclipse, and then a project
refresh on my projects within eclipse, I find that I see two versions of
every file in my project in 'Open Type', that 'Open Call Hierarchy'
shows that no method is called by anything, and other sorts of
nastiness. Rebuilds don't help. Restarting eclipse ditto. Eventually I
have to exit eclipse, destroy the workspace, and then re-import my
projects to start over fresh...

I've seen this in M2 and M4 and in the latest stable M4 integration build.

Does anyone have any idea what I'm doing wrong? Thanks,

-Mike Roark
Re: external cvs update + refresh = problems. [message #115047 is a reply to message #114961] Fri, 07 November 2003 18:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeff.duskaREMOVE_THIS.noaa.gov

Mike:

Are you trying to use Eclipse CVS features and command line CVS at the
same time?

I'm not sure this is the problem you're having, but make sure that you
are not using Eclipse CVS. If you do have sharing on, Eclipse may update
your CVS Entries in the background as you work. The format that CVS
command line uses is different than the format the Eclipse uses. Much
hilarity ensued when this happened to me.

I doubt this is your problem, but just in case I thought I throw it out
here.

Regards,

Jeff Duska
http://www.duska.com

Mike Roark wrote:

> So I have a couple of projects I work on eclipse. Typically I manage cvs
> outside of eclipse because I already have a bunch of command line tools
> that do exactly what I want.
>
> After I do a cvs update externally to eclipse, and then a project
> refresh on my projects within eclipse, I find that I see two versions of
> every file in my project in 'Open Type', that 'Open Call Hierarchy'
> shows that no method is called by anything, and other sorts of
> nastiness. Rebuilds don't help. Restarting eclipse ditto. Eventually I
> have to exit eclipse, destroy the workspace, and then re-import my
> projects to start over fresh...
>
> I've seen this in M2 and M4 and in the latest stable M4 integration build.
>
> Does anyone have any idea what I'm doing wrong? Thanks,
>
> -Mike Roark
>
Re: external cvs update + refresh = problems. [message #115086 is a reply to message #115047] Fri, 07 November 2003 18:27 Go to previous messageGo to next message
Eclipse UserFriend
Jeff Duska wrote:
> Mike:
>
> Are you trying to use Eclipse CVS features and command line CVS at the
> same time?

> <snip>

Command line only. I have turned on the sharing feature before, but I'm
pretty sure I've only been using command line when I've run into this
problem. I could be wrong though. I'll watch out for it, thanks.

-Mike
Re: external cvs update + refresh = problems. [message #115433 is a reply to message #115086] Mon, 10 November 2003 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Mike Roark wrote:
> Jeff Duska wrote:
>
>> Mike:
>>
>> Are you trying to use Eclipse CVS features and command line CVS at the
>> same time?
>
>
>> <snip>
>
>
> Command line only. I have turned on the sharing feature before, but I'm
> pretty sure I've only been using command line when I've run into this
> problem. I could be wrong though. I'll watch out for it, thanks.
>
> -Mike
>

I just tried it and it is definitely happening without my having turned
on Eclipse CVS features.

I might enter a bug on this. It is really frustrating.

-Mike
Re: external cvs update + refresh = problems. [message #117970 is a reply to message #115433] Tue, 18 November 2003 04:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.news.gmx.net

"Mike Roark" <m_roark@yahoo.com> schrieb im Newsbeitrag
news:boooe7$em1$1@eclipse.org...
> Mike Roark wrote:
> > Jeff Duska wrote:
> >
> >> Mike:
> >>
> >> Are you trying to use Eclipse CVS features and command line CVS at
the
> >> same time?
> >
> >
> >> <snip>
> >
> >
> > Command line only. I have turned on the sharing feature before, but
I'm
> > pretty sure I've only been using command line when I've run into this
> > problem. I could be wrong though. I'll watch out for it, thanks.
> >
> > -Mike
> >
>
> I just tried it and it is definitely happening without my having turned
> on Eclipse CVS features.

This might or might not help since Eclipse might determine the CVS usage
state from the presence of folders named "CVS". It can be that you
essentially can't switch off Eclipse CVS for projects you manage via the
command line.

> I might enter a bug on this. It is really frustrating.

When working on the windows platform we encountered a lot of nasty things
when mixing tools (either WinCVS and command line cvs, Eclipse and command
line cvs etc.). It boils down to inconsistencies in the handling of line
terminations: CVS can't even read the password file if you switch the line
termination handling in between (you can do that with WinCVS).

My advice would be to not mix VC tools when it comes to CVS. In this case
that could mean, use Eclipse CVS. After all, it suits me well and I'd be
curious to know what your command line tools do that Eclipse CVS doesn't.

Kind regards

robert
Re: external cvs update + refresh = problems. [message #128607 is a reply to message #117970] Thu, 18 December 2003 16:17 Go to previous message
Eclipse UserFriend
Robert Klemme wrote:
>>
>>I just tried it and it is definitely happening without my having turned
>>on Eclipse CVS features.
>
>
> This might or might not help since Eclipse might determine the CVS usage
> state from the presence of folders named "CVS". It can be that you
> essentially can't switch off Eclipse CVS for projects you manage via the
> command line.
>

I have my doubts on this being the case, since it is not reflected in
the properties of the project, nor does eclipse make connections to the
cvs server when I'm using it as far as I can tell. (and cvs option are
all missing in the pulldowns, etc) But it's certainly not impossible
that it has some other invisible state that is confusing it.

>
> When working on the windows platform we encountered a lot of nasty things
> when mixing tools (either WinCVS and command line cvs, Eclipse and command
> line cvs etc.). It boils down to inconsistencies in the handling of line
> terminations: CVS can't even read the password file if you switch the line
> termination handling in between (you can do that with WinCVS).
>
> My advice would be to not mix VC tools when it comes to CVS. In this case
> that could mean, use Eclipse CVS. After all, it suits me well and I'd be
> curious to know what your command line tools do that Eclipse CVS doesn't.
>
> Kind regards
>
> robert
>

Thanks for the ideas. I'm not on windows, nor do I use any other tools
besides command line cvs and eclipse (without using cvs features), but
if your speculation about not being able to turn off cvs *is* true, that
could be the problem.

Another thing is that I'm pretty sure this was not happening at some
point in the past, and then it started happening. But I've made so many
configuration changes (with eclipse usage), it is hard to know which one
caused it. I have a little spare time coming up, so I might try a few
experiments.

RE: Command line tools, I'd be more likely to give up eclipse than
command line cvs. For instance, one thing I like to do is crontab
updates and rebuilds for certain times of the night on certain days. I
don't see any way to interact with Eclipse without being interactive.
Simply not acceptable in my way of thinking. I like my command line tools.

-Mike
Previous Topic:Undo support
Next Topic:Step Filtering
Goto Forum:
  


Current Time: Fri Jun 06 09:48:47 EDT 2025

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

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

Back to the top