Carsten,

you can replace xxx.enum.yyy with xxx.constants.yyy....Yes, Axis code
has to be compiled with 1.3/1.4. Not all production level app servers
have moved to JDK1.5 you know :)

-- dims


On Thu, 3 Feb 2005 14:10:50 +1100, Carsten Friedrich <[EMAIL PROTECTED]> wrote:
> > The main problem with JRE 1.5 is that it implements DOM level 3. "enum"
> > is, at this point, only a warning, as are the deprecated classes,
> > methods etc - it would be best to fix them, but they can wait.
> 
> It's not quite that minor. One major problem with the enum use in Axis is
> that it is part of a package name in Axis. This means that not only Axis
> itself has to be compiled without 1.5 features but also all java files which
> import one of the xxx.enum.yyy packages from Axis.
> 
> Carsten
> 
> --
> Carsten Friedrich
> Capital Markets CRC Limited
> Level 2, 9 Castlereagh Street, Sydney NSW 2000
> Tel: +61 2 9233 7999
> Fax: +61 2 9236 9177   http://www.cmcrc.com
> 
> Capital Markets CRC Ltd (CMCRC) - Confidential Communication The information
> contained in this e-mail is confidential.  It is intended solely for the
> addressee. If you receive this e-mail by mistake please promptly inform us
> by reply e-mail and then delete the e-mail and destroy any printed copy. You
> must not disclose or use in any way the information in the e-mail. There is
> no warranty that this e-mail is error or virus free. It may be a private
> communication, and if so, does not represent the views of the CMCRC and its
> associates.
> 
> > -----Original Message-----
> > From: John Delaney [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 3 February 2005 11:30
> > To: [EMAIL PROTECTED]
> > Subject: Re: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply withthis
> > rule?
> >
> > The main problem with JRE 1.5 is that it implements DOM level 3. "enum"
> > is, at this point, only a warning, as are the deprecated classes,
> > methods etc - it would be best to fix them, but they can wait. If you
> > want to see all of the errors and warnings just build Axis on a JRE 1.5
> > machine. The errors are due to the extra methods defined in the DOM
> > level 3 specification.
> >
> > Is there a DOM level 3 Axis coming soon?
> >
> > >>> [EMAIL PROTECTED] 02/02/05 05:41 AM >>>
> > JRE 1.5 "enum" is a keyword Word  may not be used as an identifier
> > Does Axis Comply with this rule?
> >
> > ("ServiceStatus.java": 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) at line 35, column 13)
> >
> >
> > -Venky
> >
> >
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to