Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to open CVS Compare view
Unable to open CVS Compare view [message #187404] Mon, 08 January 2007 21:54 Go to next message
Eclipse UserFriend
Originally posted by: closchen.axeda.com

Hi all,

I'm new to CVS (but familiar with ClearCase) and so I'm working through the
exercises in my reference book on how to make it work. It has mostly gone
ok, though my book is for version 3.1 and I'm on version 3.2.1. However,
I've been working around that ok.

Now I'm at the point of resolving conflicts. I've created conflicting
versions of a file by editing it in two different workspaces, and I've
committed one of those back to CVS. I then went to the second workspace and
synchronized with the repository, and Eclipse correctly tells me that the
file has conflicts. Next, my book tells me to double-click on the file to
open it in the "Java Source Compare" view, but when I do, I get a dialog box
saying that it's authenticating via pserver, and then an empty dialog box
appears with the title bar saying "Compare...", the body just a red dot with
a white X, and the usual OK button.

I get exactly the same result when I right-click on the file and choose
"Open in Compare Editor."

I can get correct results via WinCVS, so I think I'm connected to the CVS
repository correctly outside of Eclipse (though I certainly might have
screwed up something in my Eclipse settings). Any ideas what I might be
doing wrong? Thanks for your help!

Chris
Re: Unable to open CVS Compare view [message #187443 is a reply to message #187404] Tue, 09 January 2007 09:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Loschen schreef:
> Hi all,
>
> I'm new to CVS (but familiar with ClearCase) and so I'm working through the
> exercises in my reference book on how to make it work. It has mostly gone
> ok, though my book is for version 3.1 and I'm on version 3.2.1. However,
> I've been working around that ok.
>
> Now I'm at the point of resolving conflicts. I've created conflicting
> versions of a file by editing it in two different workspaces, and I've
> committed one of those back to CVS. I then went to the second workspace and
> synchronized with the repository, and Eclipse correctly tells me that the
> file has conflicts. Next, my book tells me to double-click on the file to
> open it in the "Java Source Compare" view, but when I do, I get a dialog box
> saying that it's authenticating via pserver, and then an empty dialog box
> appears with the title bar saying "Compare...", the body just a red dot with
> a white X, and the usual OK button.
>
> I get exactly the same result when I right-click on the file and choose
> "Open in Compare Editor."
>
> I can get correct results via WinCVS, so I think I'm connected to the CVS
> repository correctly outside of Eclipse (though I certainly might have
> screwed up something in my Eclipse settings). Any ideas what I might be
> doing wrong? Thanks for your help!

Are your connection settings in Eclipse correct? Can you checkout and
commit?

Please post the relevant part of your Error Log (Window-> Open View ->
Error Log).

H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFFo2dve+7xMGD3itQRAthLAJ0e9JnQEnw54Z4ifGbjFR2KDenQJACZ AU6Y
mCqX0yU6q+p87nixdVz4DK4=
=0xJD
-----END PGP SIGNATURE-----
Re: Unable to open CVS Compare view [message #187490 is a reply to message #187443] Tue, 09 January 2007 14:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: closchen.axeda.com

I think my connection settings are correct. I haven't found a specific
"checkout" command (like I'm used to in ClearCase): it appears that the
files are just writable by default using optimistic locking.

I was able to make a change to a file in the same project, update the
workspace with changes from the repository, and commit the changes I made to
the file. It showed up correctly with the new version number, so all that
appears to be working correctly. (That means that if I have to, I can use
WinCVS for the more complex version control stuff and just do my updates and
commits in Eclipse, but I'd rather get Eclipse working correctly.)

There is no entry in the error log when I try to open the Compare view. I've
been looking around to see if I could find another error log somewhere which
might have more information, but I haven't found anything.

Thanks for your help -- any more things I could try?

Chris

"Hendrik Maryns" <hendrik_maryns@despammed.com> wrote in message
news:envp1q$60t$1@utils.eclipse.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chris Loschen schreef:
>> Hi all,
>>
>> I'm new to CVS (but familiar with ClearCase) and so I'm working through
>> the
>> exercises in my reference book on how to make it work. It has mostly gone
>> ok, though my book is for version 3.1 and I'm on version 3.2.1. However,
>> I've been working around that ok.
>>
>> Now I'm at the point of resolving conflicts. I've created conflicting
>> versions of a file by editing it in two different workspaces, and I've
>> committed one of those back to CVS. I then went to the second workspace
>> and
>> synchronized with the repository, and Eclipse correctly tells me that the
>> file has conflicts. Next, my book tells me to double-click on the file to
>> open it in the "Java Source Compare" view, but when I do, I get a dialog
>> box
>> saying that it's authenticating via pserver, and then an empty dialog box
>> appears with the title bar saying "Compare...", the body just a red dot
>> with
>> a white X, and the usual OK button.
>>
>> I get exactly the same result when I right-click on the file and choose
>> "Open in Compare Editor."
>>
>> I can get correct results via WinCVS, so I think I'm connected to the CVS
>> repository correctly outside of Eclipse (though I certainly might have
>> screwed up something in my Eclipse settings). Any ideas what I might be
>> doing wrong? Thanks for your help!
>
> Are your connection settings in Eclipse correct? Can you checkout and
> commit?
>
> Please post the relevant part of your Error Log (Window-> Open View ->
> Error Log).
>
> H.
> - --
> Hendrik Maryns
> http://tcl.sfs.uni-tuebingen.de/~hendrik/
> ==================
> http://aouw.org
> Ask smart questions, get good answers:
> http://www.catb.org/~esr/faqs/smart-questions.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFFo2dve+7xMGD3itQRAthLAJ0e9JnQEnw54Z4ifGbjFR2KDenQJACZ AU6Y
> mCqX0yU6q+p87nixdVz4DK4=
> =0xJD
> -----END PGP SIGNATURE-----
Re: Unable to open CVS Compare view [message #187576 is a reply to message #187490] Wed, 10 January 2007 10:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Loschen schreef:
> I think my connection settings are correct. I haven't found a specific
> "checkout" command (like I'm used to in ClearCase): it appears that the
> files are just writable by default using optimistic locking.
>
> I was able to make a change to a file in the same project, update the
> workspace with changes from the repository, and commit the changes I made to
> the file. It showed up correctly with the new version number, so all that
> appears to be working correctly. (That means that if I have to, I can use
> WinCVS for the more complex version control stuff and just do my updates and
> commits in Eclipse, but I'd rather get Eclipse working correctly.)
>
> There is no entry in the error log when I try to open the Compare view. I've
> been looking around to see if I could find another error log somewhere which
> might have more information, but I haven't found anything.
>
> Thanks for your help -- any more things I could try?
>
> Chris
>
> "Hendrik Maryns" <hendrik_maryns@despammed.com> wrote in message
> news:envp1q$60t$1@utils.eclipse.org...
> Chris Loschen schreef:
>>>> Hi all,
>>>>
>>>> I'm new to CVS (but familiar with ClearCase) and so I'm working through
>>>> the
>>>> exercises in my reference book on how to make it work. It has mostly gone
>>>> ok, though my book is for version 3.1 and I'm on version 3.2.1. However,
>>>> I've been working around that ok.
>>>>
>>>> Now I'm at the point of resolving conflicts. I've created conflicting
>>>> versions of a file by editing it in two different workspaces, and I've
>>>> committed one of those back to CVS. I then went to the second workspace
>>>> and
>>>> synchronized with the repository, and Eclipse correctly tells me that the
>>>> file has conflicts. Next, my book tells me to double-click on the file to
>>>> open it in the "Java Source Compare" view, but when I do, I get a dialog
>>>> box
>>>> saying that it's authenticating via pserver, and then an empty dialog box
>>>> appears with the title bar saying "Compare...", the body just a red dot
>>>> with
>>>> a white X, and the usual OK button.
>>>>
>>>> I get exactly the same result when I right-click on the file and choose
>>>> "Open in Compare Editor."
>>>>
>>>> I can get correct results via WinCVS, so I think I'm connected to the CVS
>>>> repository correctly outside of Eclipse (though I certainly might have
>>>> screwed up something in my Eclipse settings). Any ideas what I might be
>>>> doing wrong? Thanks for your help!
> Are your connection settings in Eclipse correct? Can you checkout and
> commit?
>
> Please post the relevant part of your Error Log (Window-> Open View ->
> Error Log).

Please do not top-post.

Have a look in workspace/.metadata/.log (Don’t know the exact location
on Windows). Does it mention anything related to CVS (probably near the
botton)?

H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFFpMaoe+7xMGD3itQRAoIrAJ9VGTsA7E58/TILkVLkwWV3sgyN7ACc DccS
Kv99F01JVhdRteov/i+piq4=
=ztaG
-----END PGP SIGNATURE-----
Re: Unable to open CVS Compare view [message #187608 is a reply to message #187576] Wed, 10 January 2007 15:52 Go to previous message
Eclipse UserFriend
Originally posted by: closchen.axeda.com

"Hendrik Maryns" <hendrik_maryns@despammed.com> wrote in message
news:eo2gr7$ld$1@utils.eclipse.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chris Loschen schreef:
>> I think my connection settings are correct. I haven't found a specific
>> "checkout" command (like I'm used to in ClearCase): it appears that the
>> files are just writable by default using optimistic locking.
>>
>> I was able to make a change to a file in the same project, update the
>> workspace with changes from the repository, and commit the changes I made
>> to
>> the file. It showed up correctly with the new version number, so all that
>> appears to be working correctly. (That means that if I have to, I can use
>> WinCVS for the more complex version control stuff and just do my updates
>> and
>> commits in Eclipse, but I'd rather get Eclipse working correctly.)
>>
>> There is no entry in the error log when I try to open the Compare view.
>> I've
>> been looking around to see if I could find another error log somewhere
>> which
>> might have more information, but I haven't found anything.
>>
>> Thanks for your help -- any more things I could try?
>>
>> Chris
>>
>> "Hendrik Maryns" <hendrik_maryns@despammed.com> wrote in message
>> news:envp1q$60t$1@utils.eclipse.org...
>> Chris Loschen schreef:
>>>>> Hi all,
>>>>>
>>>>> I'm new to CVS (but familiar with ClearCase) and so I'm working
>>>>> through
>>>>> the
>>>>> exercises in my reference book on how to make it work. It has mostly
>>>>> gone
>>>>> ok, though my book is for version 3.1 and I'm on version 3.2.1.
>>>>> However,
>>>>> I've been working around that ok.
>>>>>
>>>>> Now I'm at the point of resolving conflicts. I've created conflicting
>>>>> versions of a file by editing it in two different workspaces, and I've
>>>>> committed one of those back to CVS. I then went to the second
>>>>> workspace
>>>>> and
>>>>> synchronized with the repository, and Eclipse correctly tells me that
>>>>> the
>>>>> file has conflicts. Next, my book tells me to double-click on the file
>>>>> to
>>>>> open it in the "Java Source Compare" view, but when I do, I get a
>>>>> dialog
>>>>> box
>>>>> saying that it's authenticating via pserver, and then an empty dialog
>>>>> box
>>>>> appears with the title bar saying "Compare...", the body just a red
>>>>> dot
>>>>> with
>>>>> a white X, and the usual OK button.
>>>>>
>>>>> I get exactly the same result when I right-click on the file and
>>>>> choose
>>>>> "Open in Compare Editor."
>>>>>
>>>>> I can get correct results via WinCVS, so I think I'm connected to the
>>>>> CVS
>>>>> repository correctly outside of Eclipse (though I certainly might have
>>>>> screwed up something in my Eclipse settings). Any ideas what I might
>>>>> be
>>>>> doing wrong? Thanks for your help!
>> Are your connection settings in Eclipse correct? Can you checkout and
>> commit?
>>
>> Please post the relevant part of your Error Log (Window-> Open View ->
>> Error Log).
>
> Please do not top-post.
>
> Have a look in workspace/.metadata/.log (Don't know the exact location
> on Windows). Does it mention anything related to CVS (probably near the
> botton)?
>
> H.
> - --
> Hendrik Maryns
> http://tcl.sfs.uni-tuebingen.de/~hendrik/
> ==================
> http://aouw.org
> Ask smart questions, get good answers:
> http://www.catb.org/~esr/faqs/smart-questions.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFFpMaoe+7xMGD3itQRAoIrAJ9VGTsA7E58/TILkVLkwWV3sgyN7ACc DccS
> Kv99F01JVhdRteov/i+piq4=
> =ztaG
> -----END PGP SIGNATURE-----

Hi Hendrik,

I checked that yesterday -- it doesn't produce anything at all in the log
when it does this. I do have some other errors in the log file, but they
aren't produced when this particular event fires. However, in case they
might help, here they are:

!ENTRY org.eclipse.core.jobs 4 2 2007-01-09 12:41:00.213
!MESSAGE An internal error occurred during: "Performing CVS Edit".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.team.internal.ccvs.core.util.SyncFileWriter.setR eadOnly(SyncFileWriter.java:636)
at
org.eclipse.team.internal.ccvs.core.util.SyncFileWriter.writ eFileToBaseDirectory(SyncFileWriter.java:594)
at
org.eclipse.team.internal.ccvs.core.resources.EclipseSynchro nizer.copyFileToBaseDirectory(EclipseSynchronizer.java:1329)
at
org.eclipse.team.internal.ccvs.core.resources.EclipseFile$1. run(EclipseFile.java:371)
at
org.eclipse.team.internal.ccvs.core.resources.EclipseSynchro nizer.run(EclipseSynchronizer.java:1458)
at
org.eclipse.team.internal.ccvs.core.resources.EclipseResourc e$2.run(EclipseResource.java:260)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
at
org.eclipse.team.internal.ccvs.core.resources.EclipseResourc e.run(EclipseResource.java:257)
at
org.eclipse.team.internal.ccvs.core.resources.EclipseFile.ed it(EclipseFile.java:340)
at
org.eclipse.team.internal.ccvs.core.CVSTeamProvider$4.visitF ile(CVSTeamProvider.java:538)
at
org.eclipse.team.internal.ccvs.core.resources.EclipseFile.ac cept(EclipseFile.java:140)
at
org.eclipse.team.internal.ccvs.core.CVSTeamProvider$6.run(CV STeamProvider.java:592)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
at
org.eclipse.team.internal.ccvs.core.CVSTeamProvider.notifyEd itUnedit(CVSTeamProvider.java:628)
at
org.eclipse.team.internal.ccvs.core.CVSTeamProvider.edit(CVS TeamProvider.java:535)
at
org.eclipse.team.internal.ccvs.core.CVSCoreFileModificationV alidator.performEdit(CVSCoreFileModificationValidator.java:1 29)
at
org.eclipse.team.internal.ccvs.core.CVSCoreFileModificationV alidator$1.run(CVSCoreFileModificationValidator.java:109)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

!ENTRY org.eclipse.team.cvs.core 4 -10 2007-01-09 12:41:28.487
!MESSAGE The server reported an error while performing the "cvs log"
command.
!STACK 1
org.eclipse.team.internal.ccvs.core.connection.CVSServerExce ption: The
server reported an error while performing the "cvs log" command.
at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.get LogEntries(RemoteFile.java:280)
at
org.eclipse.team.internal.ccvs.core.filehistory.CVSFileHisto ry.refresh(CVSFileHistory.java:99)
at
org.eclipse.team.internal.ccvs.ui.CVSHistoryPage$RefreshCVSF ileHistory.run(CVSHistoryPage.java:1112)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!SUBENTRY 1 org.eclipse.team.cvs.core 4 -10 2007-01-09 12:41:28.487
!MESSAGE The server reported an error while performing the "cvs log"
command.
!SUBENTRY 2 org.eclipse.team.cvs.core 4 -10 2007-01-09 12:41:28.487
!MESSAGE The server did not provide any additional information.
!SESSION 2007-01-10
10:18:01.167 -----------------------------------------------
eclipse.buildId=M20060921-0945
java.version=1.5.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.jobs 4 2 2007-01-10 10:18:21.299
!MESSAGE An internal error occurred during: "Initializing Java Tooling".
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/pde/internal/core/PDEExtensionRegistry
at org.eclipse.pde.internal.core.PDEState.<init>(PDEState.java:67)
at
org.eclipse.pde.internal.core.PluginModelManager.initializeT able(PluginModelManager.java:435)
at
org.eclipse.pde.internal.core.PluginModelManager.findEntry(P luginModelManager.java:169)
at
org.eclipse.pde.internal.core.RequiredPluginsInitializer.ini tialize(RequiredPluginsInitializer.java:38)
at
org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:1900)
at
org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:1470)
at
org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspa th(JavaProject.java:2169)
at
org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspa th(JavaProject.java:2073)
at
org.eclipse.jdt.internal.core.search.JavaSearchScope.add(Jav aSearchScope.java:107)
at
org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.init ialize(JavaWorkspaceScope.java:84)
at
org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:61)
at
org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:57)
at
org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init >(JavaWorkspaceScope.java:29)
at
org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceS cope(JavaModelManager.java:1705)
at
org.eclipse.jdt.internal.core.search.BasicSearchEngine.creat eWorkspaceScope(BasicSearchEngine.java:155)
at
org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScop e(SearchEngine.java:397)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.j ava:2856)
at
org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.r un(InitializeAfterLoadJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!SESSION 2007-01-10
10:23:42.168 -----------------------------------------------
eclipse.buildId=M20060921-0945
java.version=1.5.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.team.cvs.core 2 0 2007-01-10 10:49:01.884
!MESSAGE CVS file drm_master/etc/ddl/drop_remote_tables.sql either contains
invalid line endings on the server (CR/LF instead of just LF) or is a binary
file that is not marked as -kb.

Chris
Previous Topic:JSP using OC4J and WTP
Next Topic:Eclipse and Linux
Goto Forum:
  


Current Time: Thu Mar 28 16:50:51 GMT 2024

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

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

Back to the top