All,

I have no idea if this is an other stupid newbie statement, but this doesn't 
seem correct. Although there are only compiler warnings, M2 seems to assume 
that the compilation goal failed.

B.T.W. is there a way to specify the compiler "nowarn" flag? I didn't see it in 
the compiler parameters.

[INFO] [compiler:compile]
Compiling 632 source files to D:\tmp\myProj\media\target\classes
[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] Reason: Compilation failure
[INFO] 
----------------------------------------------------------------------------
[INFO] no more tokens - could not parse error message: 
D:\tmp\myProj\media\server\SomeClass.java:28: warning: as of release 1.5, 
'enum' is a keyword, and may not be used as an identifier
(try -source 1.5 to use 'enum' as a keyword)
        oper.setStyle(org.apache.axis.enum.Style.WRAPPED);
                                      ^

no more tokens - could not parse error message: 
D:\tmp\myProj\media\server\SomeClass.java:29: warning: as of release 1.5, 
'enum' is a keyword, and may not be used as an identifier
(try -source 1.5 to use 'enum' as a keyword)
        oper.setUse(org.apache.axis.enum.Use.LITERAL);
                                    ^

Thanks again,

Erwin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to