We're updating the issue view to help you get more done. 

Remove the build warnings concerning includeantruntime that since in Ant 1.8

Description

Ant includes its own runtime in the classpath when running <javac> tasks. This can be changed by setting includeantruntime to false. If includeantruntime is not set (either to true or false) for a <javac> task, Ant 1.8.0 and later will print a warning.

This patch sets includeantruntime to false for all <javac> tasks except the one in tasks.xml. That one compiles the ant tasks and needs access to the ant runtime. Setting includeantruntime to true seems to be necessary for this javac task.

The attached patch also fixes some other things I came across while preparing the patch:
-Display "Mercurial revision" instead of "Subversion revision" in test reports
-Set ${specjvm.version} to 1_01 in specjvm.xml to make the download succeed
-Use <xslt> instead of <style> (it's the same task but the name style is deprecated sind Ant 1.6)
-Use ${components.dir} instead of jikesrvm/components in MMTK unit tests (mmtk.xml)

Environment

Ubuntu 11.04, Ant 1.8.1

Status

Assignee

DaveG

Reporter

Erik Brangs

Labels

None

External issue ID

None

Fix versions

Affects versions

git tip
3.1.1

Priority

Lowest