Two simultaneous sloccount executions fails

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: sloccount-plugin
    • None
    • Environment:
      Platform: All, OS: All

      If you uses sloccount for multiple jobs sometimes two jobs end at the same time
      and sloccount is executed simultaneously

      This will fail since sloccount (per default) uses one temp data folder in
      $HOME/.slocdata

      Either change sloccount to not use a temp data dir or change the setup
      explanation so novice users (like me) are explained to use the --datadir option
      in order to get a datadir per hudson job.

      This seems to work:
      [ -d slocdata ] || mkdir slocdata
      sloccount --datadir slocdata --details "your source path" > sloccount.sc

            Assignee:
            sogabe
            Reporter:
            worsaae
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: