Is there anything in the following code block that would prevent the
FileChangedReloadingStrategy from functioning correctly? It is declared
just after member variables within the class itself. The properties
load correctly utilizing getString(), getFloat(), etc. However, they do
not
Lukas Bradley wrote:
Is there anything in the following code block that would prevent the
FileChangedReloadingStrategy from functioning correctly? It is declared
just after member variables within the class itself. The properties
load correctly utilizing getString(), getFloat(), etc
Is there anything in the following code block that would prevent the
FileChangedReloadingStrategy from functioning correctly? It is declared
just after member variables within the class itself. The properties
load correctly utilizing getString(), getFloat(), etc. However, they do
not
Christian Hufgard wrote:
as far as i remember, there are allready some bugs concerning this
problem in bugzilla. I had the same problem and solved it, by manually
calling config.setBasePath(String path) with the propertyfile's
basepath. Think there are also some other fixes in Bugzilla posted.
Hi Lukas, what version of Commons Configuration did you use ? The 1.1 or
a nightly build ?
1.1
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Also, note that a Map is not sufficient since you could have several
arguments for one key.
Nice catch. Forgot about that.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[snipped Java code on manual setting of all configuration files to reload strat]
I would like to request two things. First, a DTD for the
ConfigurationFactory XML file. Second, the ability to do something like
this:
configuration
!-- Reload usergui every --
properties
I thought this functionality was included in BeanUtils, but apparently
I'm wrong.
I'm looking for methods to translate web query strings into a Map, and a
Map of name/value pairs into a String. Of course, I also would like the
method to handle URLEncoding and Decoding.
It would be quick to
Is there ANYTHING out there that can help manage executing system
commands to batch input, capture output, and generally not make a mess
of things on different platforms?
I'm pulling my hair out.
If no one knows of anything, I might write an API description and
propose it be included in
ANT gives you a selection of well-tested tasks of all kinds, combinable
and system-independent. Give it a try. HTH,
This looks like it might be perfect:
org.apache.tools.ant.taskdefs.Execute
Execute(ExecuteStreamHandler streamHandler, ExecuteWatchdog watchdog)
However, I don't see a stream
How about Commons-Launcher [1]?
Commons Launcher seems very geared toward launching Java processes. I
am attempting to launch a non-Java related binary, with versions on
Windows and LINUX systems.
So far, Ant's Execute task is working nicely. However, I'm using an
interium batch/shell script
I'm running (back) into the age old question of representing monetary
values in Java. Should I use a float and risk floating point errors,
should I use int and hold cents (or pieces of the currency) or should I
create a Money Class to handle both of these problems but create bulkier
code?
I always use BigDecimal for money, and convert to required formats
when viewing. Otherwise, if you need to deal with other currencies, you
might run into trouble.
Do you limit (scale) your BigDecimal to 2 places? If so, which
constructor do you use?
Thanks for the reply.
Is there a release date set for 1.1 RC1 or Final?
The API as shown on
http://jakarta.apache.org/commons/io/apidocs/index.html is the 1.1-dev
version. Some users (such as myself) might browse it for needed
functionality, find what they are looking for, but not notice it is
missing from the 1.0
Forgive my ignorance, but I am attempting to use BeanUtils.describe() on
a custom object that contains a List of other complex objects. My
getList() method is being described, but is only returning the
toString() value of my object.
For example, a list with two BeanSerializerData2Test objects
on various strategeis to handle this have been bounced around. We will
probably try and release 1.0 without that, to give us more time to come up
with something good, but any help in that direction would be aprreciated.
This looks excellent. I'll get back to the group if I have any ideas
about
Is there a commons thread pool? I've seen the Excalibur one, but it seems
Commons should have something like this.
Lukas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
17 matches
Mail list logo