Clojure

Ant 1.8 gives warning about 'includeantruntime' when building Clojure

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: Release 1.4
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Mac OS X 10.7, Ant 1.8.2, Java 1.6

Description

I'm building Clojure locally with Ant 1.8.2. I get a warning:

compile-java:
[javac] /Users/miner/cljproj/clojure/build.xml:39: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

A good explanation is available here:

http://stackoverflow.com/questions/5103384/ant-warning-includeantruntime-was-not-set

The simple fix is to add an attribute to the javac task: includeAntRuntime="false".

Activity

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: