5 Replies Latest reply on May 10, 2004 9:51 AM by jae77

    Ant Error when building Nukes

    sino

      I just started getting this error. Here is the error message:

      Unsupported Ant version:

      Apache Ant version 1.6.1 compiled on February 12 2004

      Please install a version which is compatible with Ant 1.5.


      All the rest of my project are OK. I have Ant 1.5 installed. Any ideas?

        • 1. Re: Ant Error when building Nukes
          jae77

          the build should compile using ant versions 1.5.x through 1.6.x (i just tested this).

          if you are building via the command line, you should be using one of the "wrapper" scripts (build.sh/bat) to do the build instead of invoking ant directly.

          ant is "packaged" w/ the nukes checkout so it can take advantage of custom taskdefs, etc that may not be installed on your local machine.

          did you pull the correct tools directory when you performed the checkout?

          • 2. Re: Ant Error when building Nukes
            sino

            Actually I was using the Ant script in Eclipse and the Run Ant command. That is when I got the error message. I don't have this problem with my other Ant scripts in Eclipse.

            • 3. Re: Ant Error when building Nukes
              jae77

              i don't have any problems running ant from inside eclipse (3.0 m8). have you tried building from the command line as a test?

              • 4. Re: Ant Error when building Nukes

                So if it pass for ant 1.6.1, we can update the ANT version of Nukes, right ?

                • 5. Re: Ant Error when building Nukes
                  jae77

                  absolutely - it shouldn't require anything more then adding the correct ant libs to the tools directory.