[kepler-dev] enum warning

Kevin Ruland kruland at ku.edu
Thu Nov 3 13:30:33 PST 2005


This is a problem with all versions of axis 1.x (this problem doesn't
exist in the 2.0 release candidates though).  Unfortunately there's not
a whole lot that can be done with it other than using -source 1.4 or
upgrading axis.


Chad Berkley wrote:

>Hey Ilkay and Nandita,
>The file MessageBasedWebService has an import in it that's causing a 
>warning with java 1.5.  Here's the message:
>     [javac] Compiling 403 source files to C:\project\kepler\build\classes
>     [javac] 
>87: warning: as of release 1.5, 'enum' is a keyword, and may not be used 
>as an identifier
>     [javac] (try -source 1.5 to use 'enum' as a keyword)
>     [javac] import org.apache.axis.enum.Style;
>     [javac]                        ^
>I'm not sure you can do anything about it since it's an apache package 
>name, but just thought you might want to know it may be a problem in the 
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org

More information about the Kepler-dev mailing list