Is there anyway to have Ant merge multipe message resource files together at build time?
Brian DeHamer [EMAIL PROTECTED] -----Original Message----- From: Peter Alfors [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 1:31 PM To: [EMAIL PROTECTED] Subject: Re: multiple resource files in ActionServlet? I don't believe that you can do this. However, there are a couple of options available to you... 1. Make multiple files and merge them when you build your project. 2. Extend ActionServlet and allow multiple resource bundles to be read in. I believe there was some mention a while back about automatically merging multiple bundles specified in the web.xml file. However, Im not sure if anything came about. Check the archives... HTH, Pete Matteo Di Giovinazzo wrote: In the web.xml webapp descriptor file it's possible to add in the ActionServlet declaration multiple Resource files? Can I Write this? <web-app> .... <!-- Action Servlet Configuration --> <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>application</param-name> <param-value>guestbook.GuestbookResources</param-value> </init-param> <init-param> <param-name>application</param-name> <param-value>todolist.MessagesResource</param-value> </init-param> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>2</param-value> </init-param> .... </servlet> .... </web-app> Thanks in advance to all! Matteo Di Giovinazzo