Jason,
Should we be keeping track of a changes.txt file? Why not just point to JIRA
changelog? I'd much rather do that as it also promotes putting _all_ bug
fixes and feature requests/changes in to JIRA.

-Pat

----- Original Message -----
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 19, 2003 5:33 AM
Subject: RE: [OS-webwork] WW2 property file


Sounds great. Go ahead and check it in and update the changes.txt.

Thanks,

Jason

> -----Original Message-----
> From: Rainer Hermanns [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 5:59 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] WW2 property file
>
>
> Jason,
>
> I know a lot of people using these additional property file
> definition
> for their custom properties, they want to use within their
> applications. So, the properties to be included are not
> typically webwork related
> properties, but custom properties which can be loaded using
> the default
> Configuration implementation webwork delivers.
>
> To achieve this goal, I added the following to the constructor of
> DefaultConfiguration:
>
>     public DefaultConfiguration() {
>         [...]
>         // Add list of additional properties configurations
>         try {
>             StringTokenizer configFiles = new
> StringTokenizer((String)
> config.getImpl("webwork.custom.properties"), ",");
>
>             while (configFiles.hasMoreTokens()) {
>                 String name = configFiles.nextToken();
>
>                 try {
>                     list.add(new PropertiesConfiguration(name));
>                 } catch (Exception e) {
>                     log.error("Could not find " + name +
> ".properties.
> Skipping");
>                 }
>             }
>
>             configList = new Configuration[list.size()];
>             config = new DelegatingConfiguration((Configuration[])
> list.toArray(configList));
>         } catch (IllegalArgumentException e) {
>         }
>     }
>
> As you can see, the default webwork configuration is not overwritten,
> but it is possible to add custom properties.
>
> Unit Tests are adjusted as well.
>
> Any thoughts/comments?
>
> --Rainer
>
>
> Jason Carreira wrote:
>
> >Keep in mind we already have the ability to add more config
> files for
> >action configs in the <include> element in xwork.xml. There's only
> >about 5 or 5 properties used by WW2 from the
> webwork.properties, so I'm
> >not sure how useful it is to split this up across multiple files...
> >
>
> --
> Rainer Hermanns                           [EMAIL PROTECTED]
> Woperstr. 34                              tel: +49 (0)170  - 3432 912
> D-52134 Herzogenrath                      fax: +49 (0)2406 - 7398
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites
> including Data Reports, E-commerce, Portals, and Forums are
> available now. Download today and enter to win an XBOX or
> Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to