We plan to fix all the warnings in web container.
Before checkin the changes below, I need to cut down the number of
warnings < 100
for a given submodules as the compiler will not print out more than 100
warnings.
(In this case, we can monitor whether there is any additional warnings
for the new code.)
Shing Wai Chan
On 2/15/2011 8:49 PM, Bill Shannon wrote:
> I think that's great as long as you're planning to *fix* all the warnings!
>
> (I'd love to see people fix all the existing random error messages
> produced during the build.)
>
> Shing Wai Chan wrote on 02/15/2011 03:56 PM:
>> We plan to turn on the compiler warnings in web in trunk.
>> Please let me know if this is ok.
>> Thanks.
>> Shing Wai Chan
>>
>> v3/web $ svn diff pom.xml
>> Index: pom.xml
>> ===================================================================
>> --- pom.xml (revision 45149)
>> +++ pom.xml (working copy)
>> @@ -75,4 +75,15 @@
>> <module>web-ha</module>
>> </modules>
>>
>> +<build>
>> +<plugins>
>> +<plugin>
>> +<groupId>com.sun.enterprise</groupId>
>> +<artifactId>hk2-maven-plugin</artifactId>
>> +<configuration>
>> +<compilerArgument>-Xlint:unchecked</compilerArgument>
>> +</configuration>
>> +</plugin>
>> +</plugins>
>> +</build>
>> </project>
>>