I get this when i compile my server and i'd like to know how i can do that so i can spot what needs fixing.
P.S: its for a custom mod.
How to compile with -Xlint:deprecation?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: How to compile with -Xlint:deprecation?
http://stackoverflow.com/questions/4134 ... into-javac
Code: Select all
<javac srcdir="${src}" classpathref="classpath" destdir="${build.bin}" compiler="javac1.7" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="1.7" target="1.7"> <compilerarg line="-Xlint:unchecked" /><!-- can add more flags, space separated --></javac>
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am