Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1857

Add a check for ant version 1.7

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1-beta-2
    • Ant integration
    • None

    Description

      Groovy apparently needs ant version 1.7 to build, or at least ant 1.6.5 rather than ant 1.6.2, so it might be worth adding an explicit version check to the ant build file to prevent the build failing half-way through...

      <target name="checkVersion" description="Ensure that we're running ant 1.7">
      <fail message="Please install using ant 1.7">
      <condition>
      <not>
      <contains string="${ant.version}" substring="1.7"/>
      </not>
      </condition>
      </fail>
      </target>

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            nrjs Robert Stroud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: