This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 92896 - pserverssh2 support for CVS
Summary: pserverssh2 support for CVS
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 37824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-20 02:26 UTC by elishae
Modified: 2008-04-15 13:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elishae 2007-01-20 02:26:05 UTC
I've checked out a CVS project with pserverssh2 (pserver on ssh2) using Eclipse.
When I tried to use the project in Netbeans, it encounters an Exception saying
"pserverssh2:user@server/path" is not a valid repository url. 

It would be nice to have ssh support for both pserver and ext
Comment 1 elishae 2007-01-20 02:34:13 UTC
INFORMATIONAL *********** Exception occurred ************ at 9:32 PM on Jan 19, 2007
java.lang.IllegalArgumentException: Unrecognized CVS Root:
:pserverssh2:elisha@entropy.gte.com:/var/lib/cvsroot
	at
org.netbeans.modules.versioning.system.cvss.ClientRuntime.setupConnection(ClientRuntime.java:343)
	at
org.netbeans.modules.versioning.system.cvss.ClientRuntime.createClient(ClientRuntime.java:252)
	at
org.netbeans.modules.versioning.system.cvss.ClientRuntime.createTask(ClientRuntime.java:116)
	at
org.netbeans.modules.versioning.system.cvss.CvsVersioningSystem.post(CvsVersioningSystem.java:211)
[catch] at
org.netbeans.modules.versioning.system.cvss.ExecutorSupport.executeImpl(ExecutorSupport.java:142)
	at
org.netbeans.modules.versioning.system.cvss.ExecutorSupport.execute(ExecutorSupport.java:137)
	at
org.netbeans.modules.versioning.system.cvss.VersionsCache.checkoutRemoteFile(VersionsCache.java:222)
	at
org.netbeans.modules.versioning.system.cvss.VersionsCache.getRemoteFile(VersionsCache.java:101)
	at
org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffStreamSource.init(DiffStreamSource.java:113)
	at
org.netbeans.modules.versioning.system.cvss.ui.actions.diff.Setup.initSources(Setup.java:166)
	at
org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffMainPanel$DiffPrepareTask.run(DiffMainPanel.java:636)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
*********** Exception occurred ************ at 9:32 PM on Jan 19, 2007
java.io.IOException: Cannot initialize stream source
	at
org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffStreamSource.init(DiffStreamSource.java:120)
	at
org.netbeans.modules.versioning.system.cvss.ui.actions.diff.Setup.initSources(Setup.java:166)
[catch] at
org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffMainPanel$DiffPrepareTask.run(DiffMainPanel.java:636)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Caused by: java.io.IOException: Unable to checkout revision 1.10 of Main.java.
	at
org.netbeans.modules.versioning.system.cvss.VersionsCache.checkoutRemoteFile(VersionsCache.java:232)
	at
org.netbeans.modules.versioning.system.cvss.VersionsCache.getRemoteFile(VersionsCache.java:101)
	at
org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffStreamSource.init(DiffStreamSource.java:113)
	... 4 more
Caused by: java.lang.IllegalArgumentException: Unrecognized CVS Root:
:pserverssh2:elisha@entropy.gte.com:/var/lib/cvsroot
	at
org.netbeans.modules.versioning.system.cvss.ClientRuntime.setupConnection(ClientRuntime.java:343)
	at
org.netbeans.modules.versioning.system.cvss.ClientRuntime.createClient(ClientRuntime.java:252)
	at
org.netbeans.modules.versioning.system.cvss.ClientRuntime.createTask(ClientRuntime.java:116)
	at
org.netbeans.modules.versioning.system.cvss.CvsVersioningSystem.post(CvsVersioningSystem.java:211)
	at
org.netbeans.modules.versioning.system.cvss.ExecutorSupport.executeImpl(ExecutorSupport.java:142)
	at
org.netbeans.modules.versioning.system.cvss.ExecutorSupport.execute(ExecutorSupport.java:137)
	at
org.netbeans.modules.versioning.system.cvss.VersionsCache.checkoutRemoteFile(VersionsCache.java:222)
	... 6 more
Comment 2 elishae 2007-01-20 02:35:06 UTC
This can be reproduced even in 6.0 M6 build
Comment 3 Peter Pis 2007-01-20 09:21:35 UTC
Reassigning to "cvs" ...
Comment 4 Maros Sandor 2007-01-22 09:57:17 UTC
We do not support this connection method, it is Eclipse-specific. Can't you use
the :ext: connection? This should work fine for you. We may consider supporting
pserver over ssh in the future though.
Comment 5 kate 2008-04-15 13:48:52 UTC
*** Issue 37824 has been marked as a duplicate of this issue. ***