[kepler-dev] enum warning

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


Chad,

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.

Kevin

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:
>
>compile-dev:
>     [javac] Compiling 403 source files to C:\project\kepler\build\classes
>     [javac] 
>C:\project\kepler\build\src\org\sdm\spa\MessageBasedWebService.java:
>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 
>future.
>
>chad
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>  
>


More information about the Kepler-dev mailing list