Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c6ee96f8 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- added compilelint target compiling with all warnings

parent 012741f2
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,9 @@
<!-- tested -->
<target name="compile" depends="init">
<echo message="Compiling..."/>
<property name="javacargs" value="-deprecation" />
<javac deprecation="yes" nowarn="no" verbose="no" srcdir="src" destdir="classes">
<compilerarg value="${javacargs}"/>
<classpath refid="classpath"/>
</javac>
</target>
......@@ -66,6 +68,13 @@
<antcall target="compile"/>
</target>
<!-- tested -->
<target name="compilelint" depends="init">
<echo message="Setting property..."/>
<property name="javacargs" value="-Xlint:all" />
<antcall target="compileall"/>
</target>
<!-- tested -->
<target name="jar" depends="compile">
<echo message="Jarchiving..."/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment