Netbeans 5.0 and CVS
I just started a new project on java using NetBeans 5.0.
All our project files also stored at CVS system. I have no problem to acces this file using cvs command line from cygwin.
NetBeans also detect it and, for example, shows changed files at different color. But when I tried to use some cvs utilities from NetBeans (like diff...) its fail with error "Cannot initialize stream source".
Detailed stack:
java.io.IOException: Cannot initialize stream source
at org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffStreamSource.init(DiffStreamSource.java:114)
at org.netbeans.modules.versioning.system.cvss.ui.actions.diff.Setup.initSources(Setup.java:160)
at org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffMainPanel$DiffPrepareTask.run(DiffMainPanel.java:630)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Caused by: java.lang.IllegalArgumentException: CVSROOT must be an absolute pathname.
at org.netbeans.lib.cvsclient.CVSRoot.<init>(CVSRoot.java:222)
at org.netbeans.lib.cvsclient.CVSRoot.parse(CVSRoot.java:125)
at org.netbeans.modules.versioning.system.cvss.VersionsCache.checkoutRemoteFile(VersionsCache.java:191)
at org.netbeans.modules.versioning.system.cvss.VersionsCache.getRemoteFile(VersionsCache.java:95)
at org.netbeans.modules.versioning.system.cvss.ui.actions.diff.DiffStreamSource.init(DiffStreamSource.java:107)
... 4 more
Can you help me to fix the problem?