Replying to yourself is sad, I know....

But anyways, if anyone else encountered this problem and needs a
temporary fix, download cvsgrab source code and modify two lines in
ViewCvsInterface.java, and recompile everything from scratch.

private String _filesXpath = "//TR[TD/A/IMG/@alt =
'(file)']|//TR[TD/A[contains(@href, '&view=log')]/IMG]";
private String _directoriesXpath = "//TR[TD/A/IMG/@alt =
'(dir)'][TD/A/@name != 'Attic']|//TR[TD/A/IMG[contains(@src,
'dir.png')]][TD/A/@name != 'Attic']";

Notice that I'm just adding new, 'looser' paths to the already
existing ones. I'm downloading hivemind right now with my patched
version, and things seems to be fine now.

P.S.: I know my approach is ugly. I know there are better ways to
solve this problem. But I also know that I just browsed the cvsgrab
source for 5 mins before coming up with this. Maybe ludovic (cvsgrab
author) will come up with a clever fix, or maybe the Apache folks will
fix their ViewCVS interface.

-- MB

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to