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
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
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
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
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
---
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
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
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
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 { .
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
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
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
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
13 matches
Mail list logo