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.
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
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
This can be reproduced even in 6.0 M6 build
Reassigning to "cvs" ...
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.
*** Issue 37824 has been marked as a duplicate of this issue. ***