Javacvs library on linux

Abhilash Koneri <[email protected]> Sun, 6 Nov 2005 20:05:16 -0600
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Hi javacvs developers!

I am trying to use javacvs library to execute cvs commands in a
standalone-java application (outside netbeans ide). I find that the same
command works on Windows but fails with a initialization error in linux (see
below). I undertand this to be a problem in the way Timezone is defaulted in
the ModTimeResponse handler. I am using the latest stable release (4.0). Is
there a build available after this one that I can use? If not, can you point
to me a document / URL that will help me build the javacvs from source? I
was unable to find any information on http://javacvs.netbeans.org. I
apologize if this is a wrong group to post such questions to. I would
appreciate if you can point to the right one if it is the case.



java -Dcvs.root=:pserver:cvstest@localhost:2401/home/cvs
org.netbeans.lib.cvsclient.commandLine.CVSCommand checkout test
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.netbeans.lib.cvsclient.response.ResponseFactory.<init>(
ResponseFactory.java:50)
at org.netbeans.lib.cvsclient.Client.getResponseFactory(Client.java:457)
at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:492)
at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:447)
at org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.execute(
CheckoutCommand.java:274)
at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:541)
at org.netbeans.lib.cvsclient.commandLine.CVSCommand.executeCommand(
CVSCommand.java:82)
at org.netbeans.lib.cvsclient.commandLine.CVSCommand.processCommand(
CVSCommand.java:529)
at org.netbeans.lib.cvsclient.commandLine.CVSCommand.processCommand(
CVSCommand.java:373)
at org.netbeans.lib.cvsclient.commandLine.CVSCommand.main(CVSCommand.java
:353)
Caused by: java.lang.NullPointerException
at java.util.TimeZone.parseCustomTimeZone(TimeZone.java:698)
at java.util.TimeZone.getTimeZone(TimeZone.java:450)
at java.util.TimeZone.getTimeZone(TimeZone.java:444)
at org.netbeans.lib.cvsclient.response.ModTimeResponse.<clinit>(
ModTimeResponse.java:40)


Thanks,
Abhilash