Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: build
    • Labels:
      None

      Description

      The current Makefile used to build Terrier are not usable on Windows, where many of our developers work. Consider an alternative building process, such as ant.

        Attachments

          Activity

          Hide
          juanito Giovanni Stilo added a comment -

          Obvious.
          The same if u still use make well preconfigured.

          Show
          juanito Giovanni Stilo added a comment - Obvious. The same if u still use make well preconfigured.
          Hide
          dunka Alan Dunk added a comment -

          Please find the attached terrier_ant_build_components.zip file for this issue, which contains an Ant build for Terrier to meet the build process requirements listed above.

          Running unix2dos and the end to end tests currently requires bash to be executed, which is the reason for the additional shell scripts. The directory structure indicates where they should live based on a build of Terrier 2.2.1.

          The build was developed using Apache Ant 1.7.1 which is a pre-requisite for running the build.

          I've tested it for Unix and Windows platforms, and creating release builds worked in both cases.

          One caveat is that running the end to end tests is dependent on running the build target within a Unix environment. If the end to end tests need to be run in a Windows environment, consider using Cygwin to run equivalent shell commands within a batch script rather than a shell script. (e.g. to run egrep within Cygwin, call <cygwin_home>\bin\grep -e.)

          Show
          dunka Alan Dunk added a comment - Please find the attached terrier_ant_build_components.zip file for this issue, which contains an Ant build for Terrier to meet the build process requirements listed above. Running unix2dos and the end to end tests currently requires bash to be executed, which is the reason for the additional shell scripts. The directory structure indicates where they should live based on a build of Terrier 2.2.1. The build was developed using Apache Ant 1.7.1 which is a pre-requisite for running the build. I've tested it for Unix and Windows platforms, and creating release builds worked in both cases. One caveat is that running the end to end tests is dependent on running the build target within a Unix environment. If the end to end tests need to be run in a Windows environment, consider using Cygwin to run equivalent shell commands within a batch script rather than a shell script. (e.g. to run egrep within Cygwin, call <cygwin_home>\bin\grep -e.)
          Hide
          craigm Craig Macdonald added a comment -

          Thanks for the Alan, I'll check it out and leave some feedback. Regards!

          Show
          craigm Craig Macdonald added a comment - Thanks for the Alan, I'll check it out and leave some feedback. Regards!
          Hide
          craigm Craig Macdonald added a comment -

          Duplicate of TR-65

          Show
          craigm Craig Macdonald added a comment - Duplicate of TR-65
          Hide
          rec Richard Eckart de Castilho added a comment -

          Even though this issue is already closed: one can use the Maven Assembly Plugin to create convenient distributions that include all dependencies and more.

          Show
          rec Richard Eckart de Castilho added a comment - Even though this issue is already closed: one can use the Maven Assembly Plugin to create convenient distributions that include all dependencies and more.

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: