[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: asaf.lahav
Forum Index » Profile for asaf.lahav » Messages posted by asaf.lahav
Author Message
i have a repository which retains a HEAD branch and self defined branches, and also several versions.

How can I checkout a specific version using the CvsClient by code?
Where can I find tutorials for jCvs?
Can anyone provide me with a link to the tutorial referred to on this post?

Thanks in advance


Anonymous wrote:Hello! I am using the com.ice.cvsc package to develop a plug-in for Protege that allows it to connect to a CVS server. The tutorial on how to use the package was very helpful. It allowed me to have a good start. I was able to follow the turorial to connect to a server given the same parameters used in the tutorial

However, now I am trying to connect using the ssh method. So what I did was to change the following:

connMethod = CVSRequest.Method_SSH;
isPServer = false;

for the connection command I still used "cvs server"
and for the cvs port I used the default
for the password:

project.setPassword(password);


Now when I run my application, I get the following errors:

Aug 16, 2005 4:15:28 PM com.sshtools.j2ssh.transport.cipher.SshCipherFactory <clinit>
INFO: Loading supported cipher algorithms
Aug 16, 2005 4:15:29 PM com.sshtools.j2ssh.transport.cipher.SshCipherFactory <clinit>
INFO: Failed to load ciphers
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.cipher.SshCipherFactory.<clinit>(Unknown Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at com.ice.cvsc.CVSProject.performCVSRequest(CVSProject.java:1501)
at vsclip.commands.Checkout.performCO(Checkout.java:156)
at vsclip.commands.Checkout.run(Checkout.java:172)
Aug 16, 2005 4:15:29 PM com.sshtools.j2ssh.transport.kex.SshKeyExchangeFactory <clinit>
INFO: Loading key exchange methods
Aug 16, 2005 4:15:30 PM com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory <clinit>
INFO: Loading public key algorithms
Aug 16, 2005 4:15:30 PM com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
INFO: Loading compression methods
Aug 16, 2005 4:15:30 PM com.sshtools.j2ssh.transport.compression.SshCompressionFactory <clinit>
INFO: Failed to load compression algorithms
java.lang.NullPointerException
at com.sshtools.j2ssh.transport.compression.SshCompressionFactory.<clinit>(Unknown Source)
at com.sshtools.j2ssh.configuration.SshConnectionProperties.<init>(Unknown Source)
at com.ice.cvsc.CVSClient.establishSSHConnection(CVSClient.java:3280)
at com.ice.cvsc.CVSClient.openServer(CVSClient.java:3424)
at com.ice.cvsc.CVSClient.processCVSRequest(CVSClient.java:1340)
at com.ice.cvsc.CVSProject.performCVSRequest(CVSProject.java:1501)
at vsclip.commands.Checkout.performCO(Checkout.java:156)
at vsclip.commands.Checkout.run(Checkout.java:172)
Aug 16, 2005 4:15:30 PM com.sshtools.j2ssh.transport.hmac.SshHmacFactory <clinit>
INFO: Loading message authentication methods
Aug 16, 2005 4:15:45 PM com.sshtools.j2ssh.transport.TransportProtocolCommon startTransportProtocol
INFO: Starting transport protocol
Aug 16, 2005 4:15:45 PM com.sshtools.j2ssh.transport.TransportProtocolCommon run
INFO: Registering transport protocol messages with inputstream
Aug 16, 2005 4:15:46 PM com.sshtools.j2ssh.transport.TransportProtocolCommon negotiateVersion
INFO: Negotiating protocol version
Aug 16, 2005 4:15:46 PM com.sshtools.j2ssh.transport.TransportProtocolCommon negotiateVersion
INFO: Protocol negotiation complete
Aug 16, 2005 4:15:46 PM com.sshtools.j2ssh.transport.TransportProtocolCommon run
SEVERE: The Transport Protocol thread failed
java.io.IOException: The socket is EOF
at com.sshtools.j2ssh.transport.TransportProtocolInputStream.readBufferedData(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolInputStream.readMessage(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.processMessages(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Any tip and help would be greatly appreciated.

Thank you so much for your time.

Respectfully yours,
Kevin
Hi all,

can anyone point me to the relevant classes that are used for UPDATE and COMMIT?

I would like to employ jcvs abilities and to embed its capabilities into my own application.

Thanks in advance
 
Forum Index » Profile for asaf.lahav » Messages posted by asaf.lahav
Go to:   
Powered by JForum 2.1.9 © JForum Team