FYI Here are my developer notes
*Backup the target files beforehand* copy common-beanutils-1.2/**/PropertyUtils.java to struts-1.0.2/**/PropertyUtils.java copy common-beanutils-1.2/**/BeanUtils.java to struts-1.0.2/**/BeanUtils.java copy common-beanutils-1.2/**/MappedPropertyDescriptor..java to struts-1.0.2/**/... Well it basically compiles except two errors from Ant compile.library: Compiling 2 source files to /home/pilgpe/Products/jakarta-struts-1.0.2-src/target/library/classes /home/pilgpe/Products/jakarta-struts-1.0.2-src/src/share/org/apache/struts/util/PropertyUtils.java:910: cannot resolve symbol symbol : variable MethodUtils location: class org.apache.struts.util.PropertyUtils return (MethodUtils.getAccessibleMethod(descriptor.getReadMethod())); ^ /home/pilgpe/Products/jakarta-struts-1.0.2-src/src/share/org/apache/struts/util/PropertyUtils.java:979: cannot resolve symbol symbol : variable MethodUtils location: class org.apache.struts.util.PropertyUtils return (MethodUtils.getAccessibleMethod(descriptor.getWriteMethod())); ^ Note: /home/pilgpe/Products/jakarta-struts-1.0.2-src/src/share/org/apache/struts/util/PropertyUtils.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. Solution. getAccessible() methods that belonged in PropertyUtils.java moved to struts 1.1 specific MethodUtils. Get the original method back from the back up java file. Cut and paste getAccessibleMethod() back into the new file. Change the lines to revert back to return ( getAccessibleMethod(descriptor.getReadMethod()) ); return ( getAccessibleMethod(descriptor.getWriteMethod()) ); Recompile Struts 1.0.2 using Ant Should work now -- Peter Pilgrim ++44 (0)207-545-9923 ............................................ Swamped under electronic mails ---------------------------------------- Message History ---------------------------------------- From: Peter Pilgrim/DMGIT/DMG UK/DeuBa@DMG UK on 06/03/2002 15:07 Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: Backporting mapped properties in Struts 1.0 Hi I would like to introduce mapped bean properties into Struts 1.0. I can copy the source code from commons/bean-utils 1.2 PropertyUtils.java and BeanUtils.java and the new MappedPropertyDescriptior.java back to the Struts 1.0 source base. This is the simple part, but ... Is there anything else I need to be aware of? -- Peter Pilgrim ++44 (0)207-545-9923 ............................................ Swamped under electronic mails -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>