hrefs corrupt when generating historic files in subdir on windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.4
    • Affects Version/s: 2.3.2
    • Component/s: Reporting
    • None
    • Environment:

      clover for ant, windows xp

      We generate one current and multiple historical-reports which are linked to each other.
      Historical reports are created in a subfolder, so the final folder structure of the reports looks sort of like this:

      reportdir/historical1/historical.html
      reportdir/historical2/historical.html
      reportdir/index.html
      reportdir/all-pkgs.html
      [...]

      hrefs of links in these files contain windows-backslashes instead of simple slashes - this makes problems when putting the files on a server.
      I found wrong hrefs at least at the following places:
      1) all-pkgs.html: link to historical.html - backslash should be a slash

      <a target="classPane" href="historical1\historical.html">

      2) historical.html: links to sources: backslash should be deleted here

      <a target="classPane"  href="..\/de/tolina/SomeClass.html"  title="de.tolina.SomeClass">

        1. ecblank.gif
          0.0 kB
          Stefan Hansel
        2. graycol.gif
          0.1 kB
          Stefan Hansel
        3. pic24703.gif
          1 kB
          Stefan Hansel

            Assignee:
            Nick
            Reporter:
            Stefan Hansel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: