[commons-email]: Some headers not added by 1.1

2009-01-18 Thread uma_rk
Env: commons-email: ver 1.1 mail.jar: ver 1.1 JDK: 1.6 RedHat 4 I am composing and dispatching a SimpleEmail from workstation ws.xxx.com (RedHat4) to ad...@xxx.com as shown below. I have enabled debugs. And I find that the mail is received without the Subject line. S

[commons-pool]: Usage of KeyedObjectPool

2008-12-28 Thread uma_rk
Env: JDK1.6 I have a hierarchy of object types as in (Animal (mammal (dog) (cat) ... ) (oviparous (..) ) Since a large number of such animals may need to be instantiate

Re: [Commons Configuratin]: Suppress exceptions about missing optional property files?

2008-04-10 Thread uma_rk
ConfigurationBuilder yields CombinedConfiguration. I have so far based my stuff on CompositeConfiguration. I do not see a type relationship (is-a) between the two. How do we migrate from CompositeConfiguration to CombinedConfiguration? What are the risks? Regards /Ur -- Original m

[Commons Configuratin]: Suppress exceptions about missing optional property files?

2008-04-05 Thread uma_rk
I am using the latest commons config on JDK1.6. Is there a way to suppress exceptions pertaining to missing optional property files? Thanks, /Ur Configuration: Exception: Caused by: org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source /home/jdo

[Commons-Configuration]: Nested macro property replacement

2008-02-28 Thread uma_rk
I am using the latest commons configuration with JDK1.6. Could I do the following property replacement using the PropertyConfigufrator? propA=value1 propB=value2 propA.value2.custom=111 prop.custom=${propA.${propB}.custom} Thanks! /U ---

Re: [Configuration]: Classpath resource in composite configuration

2008-02-20 Thread uma_rk
The following setup does not work - I was a bit disappointed. If I load the configuration definition file off the classpath as follows ConfigurationFactory factory = new ConfigurationFactory(); URL configURL = new File("config.xml").toURL(); factory.setConfigurationFileName(configURL.toS

Re: [Configuration]: Classpath resource in composite configuration

2008-02-20 Thread uma_rk
Guten Tag! Thanks for the prompt response. I am using ver 1.5 - I mistakenly thought I was using ver 1.2. Are you saying that if I load the following config defn file and if gui.xml can be found in classpath, would ConfigurationFactory.getFactory() automatically load gui

[Configuration]: Classpath resource in composite configuration

2008-02-20 Thread uma_rk
I am using commons configuration ver. 1.2. I would like ot define a composite configuration in which one or more items are classpath resources as in: Is this somehow possible? Even if the syntax above is not supported, how can I accomplish the same result alternatively? Th

[Betwixt]: How do I solve this?

2008-02-17 Thread uma_rk
Env: Betwixt 0.8, JDK1.6 I have a bean defined as follows: class Car { private IEngine engine; public IEngine getEngine() { ..} public void setEngine(final IEngine e) { ... } } interface IEngine { ... } public class DieselEngine implements IEngine { .

Re: [Betwixt]: Writing polymorphic beans

2008-01-04 Thread uma_rk
I would appreciate any suggestions/examples on this. Thanks! /U -- Original message -- From: [EMAIL PROTECTED] > Env: JDK1.6, Betwixt 0.8 > > I have a bean A which contains a polymorphic reference to a bean B or C via > an interface as follows: > > class

[Betwixt]: Writing polymorphic beans

2008-01-03 Thread uma_rk
Env: JDK1.6, Betwixt 0.8 I have a bean A which contains a polymorphic reference to a bean B or C via an interface as follows: class A { private IVehicle vehicle; public IVehicle getVehicle() { ... } public void setVehicle(final IVehicle v) { ... } } class C

Re:

2007-11-24 Thread uma_rk
Which branch is this? Are nightly binaries available? Thanks, /U -- Original message -- From: "Adrian Mitev" <[EMAIL PROTECTED]> > There is a branch, but no release. > > 2007/11/23, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > > > > > > Is a version of commons

[no subject]

2007-11-23 Thread uma_rk
Is a version of commons collections for JDK5 available? I mean commons collections which is designed for generic collections. Regards, /U - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT