You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Diego Louzán <di...@metalicana.org> on 2005/03/22 04:39:33 UTC

Re: error: 'enum' is a keyword...

Axis version included with WSRP4J cvs has some known issues with Java 
1.5.x due to the use of (now) reserved keyword "enum". Compile with Java 
1.4.x and you won't have any problem.

Regards.
Diego.

Schelling Bernhard wrote:
> hi,
> 
> 
>>uname -a:
> 
> Linux wsdevel 2.4.20-4GB #1 Wed Aug 6 18:26:21 UTC 2003 i686 unknown
> unknown GNU/Linux
> 
> java installed is:
> jdk-1_5_0_02-linux-i586-rpm.bin
> 
> JAVA_HOME=/usr/java/jdk1.5.0_02
> 
> when trying to run ./install-swing-consumer i get
> 
> usr/local/tomcat5/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_B
> inding_SOAPStub.java:76: as of release 1.5, 'enum' is a keyword, and may
> not be used as an identifier (try -source 1.4 or lower to use 'enum' as
> an identifier)
>         oper.setUse(org.apache.axis.enum.Use.LITERAL)
> 
> 
> thanks for hints how to solve this issue!
> regards
> bernhard schelling
>