project requires java1.5 but uses raw list types
Status: Beta
Brought to you by:
jmccarter2005
If you set your compiler level to java1.4 you get errors because a single class uses the java1.5 "for each" syntax. If you set your compiler level to 1.5 you get about 82 compiler warnings many of which relate to things such as "ArrayList is a raw type" and "HashTable is a raw type" generics errors. Please either back out the "for/in" and stick with java1.4 loop go with java1.5 and silence the warnings by using "ArrayList<?>()" or something more strongly typed.
Include the following property in the compile ant task to see these warnings:
<compilerarg value="-Xlint"/>