Menu

ant 1.6?

Jon Nall
2004-05-27
2004-06-03
  • Jon Nall

    Jon Nall - 2004-05-27

    trying to build with ant 1.6 and i get lots of the following:
        [javac] /home/nall/emma/emma-2.0.4019/ant/ant15/com/vladium/emma/ant/IANTVersion.java:15: package org.apache.tools.ant.types does not exist

    any idea on when the build process will support ant 1.6?

     
    • Vlad Roubtsov

      Vlad Roubtsov - 2004-06-03

      I can't reproduce this. I have followed the instructions in BUILD.txt and have been able to build in ant 1.6.1.

      First of all, building in 1.6.1 is not supported officially and you should have seen a build failure due to this (admittedly, somewhat lame) check in build.xml:

      <condition property="ant.is.15+" >
             <contains string="${ant.version}" substring="1.5" />
          </condition>
          <fail unless="ant.is.15+">location [${build.target.ant.15.home}] does not specify ANT 1.5+</fail>

      However, if you rig it to accept ANT 1.6.x:

      <condition property="ant.is.15+" >
             <contains string="${ant.version}" substring="1.6" />
          </condition>
          <fail unless="ant.is.15+">location [${build.target.ant.15.home}] does not specify ANT 1.5+</fail>

      it builds in 1.6.1 without problems. If you believe I am incorrect and there is indeed an issue in ANT 1.6.x, please post a bug request into Tracker and attach the results of your "ant -debug" command.

       

Log in to post a comment.