Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Error using CVS.
Error using CVS. [message #111607] Wed, 29 October 2003 02:01 Go to next message
Vinod Manalar is currently offline Vinod ManalarFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,

I am unable to view the "diff" between my local file and the one in the
CVS repository. Eclipse always shows that the whole file has been
modified locally. I found an exception in the .log file. (see below).
From the stack trace it seems Eclipse is running the update command
with the -C option. But the CVS Repository version in use here is
1.10.5, which I believe does not allow this option.

What should I do to be able to view the "diff"? What can I do to have
Eclipse not use this option?

I am running Eclipse Version: 2.1.0 Build id: 200303272130 on Windows
2000. The CVS Repository is an Unix box.

thanks and regards
vinod.



org.eclipse.core.runtime.CoreException: The server reported an error
while performing the "cvs update" command.
at
org.eclipse.team.internal.ui.sync.MergeResource.getLatestRev ision(MergeResource.java:87)
at
org.eclipse.team.internal.ui.sync.TeamFile$2.createStream(Te amFile.java:89)
at org.eclipse.compare.BufferedContent.getContents(BufferedCont ent.java:49)
at
org.eclipse.jdt.internal.ui.compare.PropertiesStructureCreat or.getStructure(PropertiesStructureCreator.java:118)
at
org.eclipse.compare.structuremergeviewer.StructureDiffViewer .compareInputChanged(StructureDiffViewer.java:217)
at
org.eclipse.compare.structuremergeviewer.StructureDiffViewer .inputChanged(StructureDiffViewer.java:147)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:238)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:991)
at
org.eclipse.compare.CompareViewerSwitchingPane.setInput(Comp areViewerSwitchingPane.java:302)
at
org.eclipse.compare.CompareEditorInput$12.run(CompareEditorI nput.java:503)
.............
.............
.............
.............
!ENTRY org.eclipse.team.cvs.core 4 -10 Oct 28, 2003 17:48:06.203
!MESSAGE The server reported an error while performing the "cvs update"
command.
!SUBENTRY 1 org.eclipse.team.cvs.core 4 -14 Oct 28, 2003 17:48:06.203
!MESSAGE eReview_1.1: cvs server: invalid option -- C
!SUBENTRY 1 org.eclipse.team.cvs.core 4 -14 Oct 28, 2003 17:48:06.203
!MESSAGE eReview_1.1: Usage: cvs server [-APdflRp] [-k kopt] [-r rev|-D
date] [-j rev]
!SUBENTRY 1 org.eclipse.team.cvs.core 4 -14 Oct 28, 2003 17:48:06.203
!MESSAGE eReview_1.1: [-I ign] [-W spec] [files...]
Re: Error using CVS. [message #111771 is a reply to message #111607] Wed, 29 October 2003 20:06 Go to previous message
Eclipse UserFriend
Originally posted by: info.oti.com

Vinod Manalar wrote:
> I am unable to view the "diff" between my local file and the one in the
> CVS repository. Eclipse always shows that the whole file has been
> modified locally. I found an exception in the .log file. (see below).
> From the stack trace it seems Eclipse is running the update command
> with the -C option. But the CVS Repository version in use here is
> 1.10.5, which I believe does not allow this option.

I think you're out of luck with this. From the Eclipse FAQ:
< http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform -vcm-home/docs/online/cvs_features2.0/cvs-faq.html#server_1>

1.What server versions of CVS are supported by Eclipse?

In 3.0, Eclipse supports CVS version 1.11.1p1 or higher, running
on a Linux or UNIX server. Eclipse 2.1.2 and before does not work with
CVS versions
greater than 1.11.6 (see next point). Eclipse does not officially
support running CVSNT on a Windows server, but varied degrees of success
have been
achieved. In this case, CVSNT version 1.11.1.1 or higher must be
used. There have also been some problems reported with HPUX and Solaris
version
(see above).


Andrew Jr.

============================================================ ==========
IBM Phoenix Labs (OTI)
11811 North Tatum Boulevard, Suite 2400
Phoenix, Arizona, USA 85028-1614
Previous Topic:No Builders in 3.0M4
Next Topic:Debugging Tomcat Application
Goto Forum:
  


Current Time: Fri Apr 26 07:56:25 GMT 2024

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

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

Back to the top