Do not include ant runtime in classpath (avoids compilation warning with Ant 1.8+)
This commit is contained in:
parent
ccc1687319
commit
6457f765b3
11 changed files with 20 additions and 12 deletions
|
@ -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">
|
||||
|
|
|
@ -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}"/>
|
||||
|
|
|
@ -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}"/>
|
||||
|
|
|
@ -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}"/>
|
||||
|
|
|
@ -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}"/>
|
||||
|
|
|
@ -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}"/>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue