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