I think the pedantic property actually is used (automatically by Ant),
at least when you use Jikes (I do).
Otis
--- cutting@apache.org wrote:
> cutting 2004/02/19 10:13:31
>
> Modified: . build.xml
> Log:
> Add "compile" target; turn on deprecation checking by default;
> remove
> an unused property.
>
> Revision Changes Path
> 1.56 +3 -1 jakarta-lucene/build.xml
>
> Index: build.xml
> ===================================================================
> RCS file: /home/cvs/jakarta-lucene/build.xml,v
> retrieving revision 1.55
> retrieving revision 1.56
> diff -u -r1.55 -r1.56
> --- build.xml 28 Dec 2003 16:05:53 -0000 1.55
> +++ build.xml 19 Feb 2004 18:13:30 -0000 1.56
> @@ -13,10 +13,10 @@
> <property name="version" value="1.4-rc1-dev"/>
> <property name="year" value="2000-2003"/> <!-- todo: make this
> dynamic -->
> <property name="final.name" value="${name}-${version}"/>
> + <property name="javac.deprecation" value="on"/>
> <property name="javac.debug" value="on"/>
> <property name="project.name" value="site"/> <!-- todo: is this
> used by anakia or something else? -->
> <property name="javadoc.link"
> value="http://java.sun.com/j2se/1.4/docs/api/"/>
> - <property name="build.compiler.pedantic" value="false"/>
> <property name="build.encoding" value="ISO-8859-1"/>
>
> <property name="build.dir" location="build"/>
> @@ -126,6 +126,7 @@
> <!--
> ==================================================================
> -->
> <!--
> -->
> <!--
> ==================================================================
> -->
> + <target name="compile" depends="compile-core"/>
> <target name="compile-core" depends="init"
> description="Compiles core classes">
> <mkdir dir="${build.dir}/classes/java"/>
> @@ -134,6 +135,7 @@
> srcdir="src/java"
> includes="org/**/*.java"
> destdir="${build.dir}/classes/java"
> + deprecation="${javac.deprecation}"
> debug="${javac.debug}">
> <classpath refid="classpath"/>
> </javac>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
|