Do not include ant runtime in classpath (avoids compilation warning with Ant 1.8+)

This commit is contained in:
Niclas Finne 2011-03-21 21:39:45 +01:00
parent ccc1687319
commit 6457f765b3
11 changed files with 20 additions and 12 deletions

View file

@ -7,7 +7,7 @@
<target name="compile" depends="init">
<mkdir dir="build"/>
<javac srcdir="se/sics/coffee" destdir="build" />
<javac srcdir="se/sics/coffee" destdir="build" includeantruntime="false" />
</target>
<target name="clean" depends="init">

View file

@ -23,7 +23,8 @@
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}" debug="on">
<javac srcdir="${src}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement location="${avrora_jar}"/>
<pathelement location="${cooja_jar}"/>

View file

@ -12,7 +12,8 @@
<target name="compile" depends="init">
<mkdir dir="${build}"/>
<javac srcdir="${java}" destdir="${build}" debug="on">
<javac srcdir="${java}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement path="."/>
<pathelement location="${cooja_jar}"/>

View file

@ -36,7 +36,8 @@
</target>
<target name="compile" depends="init,mspsim,coffee">
<javac srcdir="${src}" destdir="${build}" debug="on">
<javac srcdir="${src}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement location="${mspsim_jar}"/>
<pathelement location="${coffee_jar}"/>

View file

@ -23,7 +23,8 @@ Requires pre-installation of Jpcap and (Windows-only) WinPcap.
<target name="compile" depends="init">
<mkdir dir="${build}"/>
<javac srcdir="${java}" destdir="${build}" debug="on">
<javac srcdir="${java}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement path="."/>
<pathelement location="${cooja_jar}"/>

View file

@ -10,7 +10,7 @@
<target name="compile" depends="init">
<mkdir dir="build"/>
<javac srcdir="java" destdir="build" debug="on">
<javac srcdir="java" destdir="build" debug="on" includeantruntime="false">
<classpath>
<pathelement path="."/>
<pathelement location="${cooja_jar}"/>

View file

@ -68,7 +68,8 @@ The COOJA Simulator
<target name="compile" depends="init">
<mkdir dir="${build}"/>
<javac srcdir="${java}" destdir="${build}" debug="on">
<javac srcdir="${java}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement path="."/>
<pathelement location="lib/jdom.jar"/>
@ -189,7 +190,7 @@ The COOJA Simulator
</target>
<target name="java_version" depends="init">
<exec executable="javac" dir="${build}">
<exec executable="javac" dir="${build}" includeantruntime="false">
<arg value="-version"/>
</exec>
</target>

View file

@ -9,7 +9,7 @@
</target>
<target name="compile" depends="init">
<javac srcdir="." destdir="." debug="on">
<javac srcdir="." destdir="." debug="on" includeantruntime="false">
<classpath>
<pathelement location="${cooja_jar}"/>
</classpath>

View file

@ -13,7 +13,8 @@
<target name="compile" depends="init">
<mkdir dir="${build}"/>
<javac srcdir="${src}" destdir="${build}" debug="on">
<javac srcdir="${src}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement location="${cooja_jar}"/>
</classpath>

View file

@ -13,7 +13,8 @@
<target name="compile" depends="init">
<mkdir dir="${build}"/>
<javac srcdir="${src}" destdir="${build}" debug="on">
<javac srcdir="${src}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement location="${cooja_jar}"/>
</classpath>

View file

@ -13,7 +13,8 @@
<target name="compile" depends="init">
<mkdir dir="${build}"/>
<javac srcdir="${src}" destdir="${build}" debug="on">
<javac srcdir="${src}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath>
<pathelement location="${cooja_jar}"/>
</classpath>