Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

mac osx : Ant build fails with build.xml:59: condition doesn't support the nested "javaversion" element. #169

Closed

Description

@guruhb

ant build fails on mac os x (macOS 10.15.4): below is the environment :

ghb@GHB-Mac:~/ade/github/lz4-java$ant
Buildfile: /Users/ghb/ade/github/lz4-java/build.xml

BUILD FAILED
/Users/ghb/ade/github/lz4-java/build.xml:59: condition doesn't support the nested "javaversion" element.


ghb@GHB-Mac:~/ade/github/lz4-java$which java
/Users/ghb/dev/opt/defjdk/8u172b07/jdk1.8.0_172.jdk/Contents/Home/bin/java

ghb@GHB-Mac:~/ade/github/lz4-java$echo $JAVA_HOME
/Users/ghb/dev/opt/defjdk/8u172b07/jdk1.8.0_172.jdk/Contents/Home

ghb@GHB-Mac:~/ade/github/lz4-java$ant -version
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

Activity

  1. odaira commented on Oct 12, 2020

    @odaira
    Member

    Are you using the latest ant?

  2. odaira commented on Oct 12, 2020

    @odaira
    Member

    You must use ant version 1.10.2 or later. I'll add this information to README.

  3. guruhb commented on Oct 13, 2020

    @guruhb
    Author

    Updated my ant to 1.10.9 (latest) and build was successful, Verified with ant 1.10.2 as well.
    Thank you @odaira

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions