Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Netbeans 5.0 and CVS

807607Oct 18 2006
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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2006
Added on Oct 18 2006
0 comments
159 views