Hi,
I am a bit tired so explanation will be rather short.

Your problem is related to the fact that JRCS tried to parse the
commitid (which is a non-standard RCS field) as a revision id (which it
obviously is not).

Attached is a modified version of JRCS I made when I was reviewing
OpenGrok some time ago. It solves your problem among others.

Here is how you build it:

1. tar xfzv jrcs.tar.gz
2. cd jrcs
3. wget <javacc> (https://javacc.dev.java.net/)
4. tar xfzv javacc-4.0.tar.gz
5. vi build.xml (change javacc.lib.dir)
6. ant

If you're unlucky and get an error message asking for JavaCC.zip you
need to upgrade ant.

Once code is built you can test that it solves your problem by doing this:

java -cp \
org.apache.commons.jrcs.rcs.jar\
:org.apache.commons.jrcs.diff.jar\
:../../../lib/jakarta-oro-2.0.8.jar \
org.apache.commons.jrcs.rcs.ArchiveParser < brokencvsfile,v

Now you should hopefully see this:

RCS ArchiveParser Parser $version$:  Reading from standard input . . .
RCS ArchiveParser Parser version 1.1:  RCS ArchiveParser parsed
successfully.

After that, just replace the *.jrcs.*.jar files used by OpenGrok.

//Gustaf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jrcs.tar.gz
Type: application/octet-stream
Size: 54432 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/opengrok-discuss/attachments/20061204/4f361f8e/attachment.obj>

Reply via email to