Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.1
    • Component/s: None
    • Labels:
      None

      Description

      Paths to .jar files inf .bat scripts (windows version) are wrong.
      E.g., line 65 in trec_setup.bat:
      FOR /f "tokens=*" %%G IN ('dir /b %TERRIER_HOME%\modules\assemblies\target\terrier-project-*-jar-with-dependencies.jar') DO call "%BIN%\lcp.bat" "%TERRIER_HOME%\target\%%G"

      Results in error messagge:
      Error: Could not find or load main class org.terrier.applications.batchquerying.TRECSetup
      Now building collection.spec
      Error: Could not find or load main class org.terrier.applications.FileFind

      Changing the line to:
      FOR /f "tokens=*" %%G IN ('dir /b %TERRIER_HOME%\modules\assemblies\target\terrier-project-*-jar-with-dependencies.jar') DO call "%BIN%\lcp.bat" "%TERRIER_HOME%\modules\assemblies\target\%%G"
      resolves the problem

      Similar issuess affect anyclass.bat, interactive_terrier.bat, terrier.bat, trec_terrier.bat scripts.

        Attachments

          Issue Links

            Activity

            Hide
            craigm Craig Macdonald added a comment -

            Thanks Artur, we'll double check this!

            Craig

            Show
            craigm Craig Macdonald added a comment - Thanks Artur, we'll double check this! Craig
            Hide
            craigm Craig Macdonald added a comment -

            Thanks for spotting this Artur! We have committed your fix to github.

            Show
            craigm Craig Macdonald added a comment - Thanks for spotting this Artur! We have committed your fix to github.
            Hide
            craigm Craig Macdonald added a comment -

            May I credit you and your organisation? (Poznan University of Medical Sciences?)

            Show
            craigm Craig Macdonald added a comment - May I credit you and your organisation? (Poznan University of Medical Sciences?)

              People

              • Assignee:
                craigm Craig Macdonald
                Reporter:
                artcies Artur Cieslewicz
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: