[kepler-dev] enum warning

Ilkay Altintas altintas at sdsc.edu
Thu Nov 3 15:37:43 PST 2005


I think the best option will be upgrading axis. We'll try this and will  
let you guys know how it went.

Thanks for pointing out to this. Better to fix it before the problem  
gets worse.

-ilkay


On Nov 3, 2005, at 1:30 PM, Kevin Ruland wrote:

>
> 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