You might like to try  adding the option "-source 1.5"
when you javac your orginal java 1.4 source files.

Shing


--- Augmentin <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> After I upgraded to JDK 5, my project won't compile
> because all references 
> to org.apache.commons.lang.enum.Enum in my programs
> conflict with the new 
> Java keyword "enum".
> 
> Then I changed to use
> org.apache.commons.lang.enums.Enum to try to avoid
> the 
> problem but then all the calls to new 
> EnumPropertySelectionModel(Enum[],bundle,String)
> resulted in undefined 
> constructor error because the
> EnumPropertySelectionModel constructor expects 
> an org.apache.commons.lang.enum.Enum 1st argument
> instead of an 
> org.apache.commons.lang.enums.Enum.
> 
> What's the simplest and quickest way to solve this
> problem? I am using 
> Tapestry 3.0.3.
> 
> Thank you,
> Raymond 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


                
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to