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"> <target name="compile" depends="init">
<mkdir dir="build"/> <mkdir dir="build"/>
<javac srcdir="se/sics/coffee" destdir="build" /> <javac srcdir="se/sics/coffee" destdir="build" includeantruntime="false" />
</target> </target>
<target name="clean" depends="init"> <target name="clean" depends="init">

View File

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

View File

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

View File

@ -36,7 +36,8 @@
</target> </target>
<target name="compile" depends="init,mspsim,coffee"> <target name="compile" depends="init,mspsim,coffee">
<javac srcdir="${src}" destdir="${build}" debug="on"> <javac srcdir="${src}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath> <classpath>
<pathelement location="${mspsim_jar}"/> <pathelement location="${mspsim_jar}"/>
<pathelement location="${coffee_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"> <target name="compile" depends="init">
<mkdir dir="${build}"/> <mkdir dir="${build}"/>
<javac srcdir="${java}" destdir="${build}" debug="on"> <javac srcdir="${java}" destdir="${build}" debug="on"
includeantruntime="false">
<classpath> <classpath>
<pathelement path="."/> <pathelement path="."/>
<pathelement location="${cooja_jar}"/> <pathelement location="${cooja_jar}"/>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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