[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: [jcvs] Server definitions file?


> Is it just me, or does it ignore the 'method' property?
> 
> I've tried using 
> 
> param.<myserver>.method=server
> param.<myserver>.method=rsh
> param.<myserver>.method=rcmd
> 
> and they all result in jCVS thinking it's a pserver (it's rsh).

Known bug, <http://www.gjt.org/servlets/BugRatViewer/ShowReport/48>

> Any ideas on how to get fix this?  I think this is causing me to be unable to add 
> files to an existing module - when I go to add it, it tries to connect on the 
> pserver port (2400-something) and just hangs.  I can import & check out fine, but 
> once I get a project in the workspace, it's convinced that it's a pserver and 
> won't do what I want.  Grr!

The fix is to modify com.ice.jcvsii.Config.java, line 517 (roughly).

From:
	String method =
		this.userServers.getProperty
			( "param.method." + token, "pserver" );

To:
	String method =
		this.userServers.getProperty
			( "param." + token + ".method", "pserver" );

This is fixed in the next release.

tim.
Tim Endres  -  time@ice.com
ICE Engineering, Inc.  -  http://www.ice.com/
"USENET - a slow moving self parody." - Peter Honeyman