Scala Programming Language
  1. Scala Programming Language
  2. SI-5763

scaladoc should use a separate -doc-sourcepath option

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Scala 2.10.0-M3
    • Component/s: Scaladoc Tool
    • Labels:
      None

      Description

      Scaladoc can determine the relative source path for a symbol if -sourcepath is defined and use that to link to the source. However, -sourcepath has unintended side effects and can break compilation. (See this thread.) Scaladoc should instead use its own -doc-sourcepath option. Alternatively, what is currently called -sourcepath should be renamed and hidden behind -X as suggested in the thread.

        Issue Links

          Activity

          Hide
          Vlad Ureche added a comment - - edited

          Fixed in 94db9d983c.
          EDIT: When using scaladoc, -sourcepath bootstrapping is disabled, thus there's no need for a new name. Keeping the same name avoids breaking existing scripts or having to remove deprecated members in a future release.

          Show
          Vlad Ureche added a comment - - edited Fixed in 94db9d983c . EDIT: When using scaladoc, -sourcepath bootstrapping is disabled, thus there's no need for a new name. Keeping the same name avoids breaking existing scripts or having to remove deprecated members in a future release.

            People

            • Assignee:
              Vlad Ureche
              Reporter:
              Mark Harrah
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development