Re: [i18n] Entry qualifier

2005-04-21 Thread Mattias J
So I ended up configuring EMMA with Ant. The coverage of the test cases I have written so far (all classes except XMLMessageProvider) is now 100%. (While setting up EMMA with Ant, I ran into the ClassNotFoundError again, and remembered this occurs when the EMMA instrumentation does not take

Re: [i18n] Entry qualifier

2005-04-20 Thread Daniel Florey
Message - From: Daniel Florey [EMAIL PROTECTED] To: Jakarta Commons Developers List commons-dev@jakarta.apache.org Sent: Tuesday, April 19, 2005 10:34 AM Subject: Re: [i18n] Entry qualifier Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 19.04.05 16:05:57

RE: [i18n] Entry qualifier

2005-04-20 Thread =?iso-8859-1?Q?J=F6rg_Schaible?=
Hi Daniel, Daniel Florey wrote on Wednesday, April 20, 2005 9:24 AM: [snip] My primary goal was to keep this component simple. It has no dependencies to other jars and that is a big plug for the daily use. +1 This was the main reason I chose i18n. No deps, no new problems. Remember my

Re: [i18n] Entry qualifier

2005-04-20 Thread Mattias J
At 2005-04-20 09:23, you wrote: Seems like i18n is reinventing the wheel over and over. I see we are using of Sax, when Digester is the most viable choice, given the typical clients of this framework. I see where ResourceBundle is used, yet a much more robust solution is already provided

RE: [i18n] Entry qualifier

2005-04-20 Thread Daniel Florey
Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 20.04.05 09:38:37: Hi Daniel, Daniel Florey wrote on Wednesday, April 20, 2005 9:24 AM: [snip] My primary goal was to keep this component simple. It has no dependencies to other jars and that is a big plug for

RE: [i18n] Entry qualifier

2005-04-20 Thread Daniel Florey
Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 20.04.05 09:38:37: Hi Daniel, Daniel Florey wrote on Wednesday, April 20, 2005 9:24 AM: [snip] My primary goal was to keep this component simple. It has no dependencies to other jars and that is a big plug for

RE: [i18n] Entry qualifier

2005-04-20 Thread =?iso-8859-1?Q?J=F6rg_Schaible?=
Hi Daniel, Daniel Florey wrote on Wednesday, April 20, 2005 10:14 AM: Hi Joerg (sorry - keine Umlaute hier in Jordanien...), Does not really matter, most people use o instead of oe as replacement anyway :) thanks for your contribution! I'll take a look at it next week. Do you have commit

RE: [i18n] Entry qualifier

2005-04-20 Thread =?iso-8859-1?Q?J=F6rg_Schaible?=
Hi Daniel, I really liked this light-weight approach. I had a need of localized MBeanInfo (see contribution) and with i18n's concept, I was able to write also just a little Bundle impl, that is based on some conventions for the provided resources. This looks really usefull to me. Shall we

RE: [i18n] Entry qualifier

2005-04-20 Thread Mattias J
At 2005-04-20 12:06, you wrote: Shall we add an i18n-contrib.jar that contains all the optional extensions? I'd like to keep the core i18n.jar as small as possible... Then you'll need some definition for this. IMHO MBeanInfoDescriptionBundle is as light as the rest without any deps and this

RE: [i18n] Entry qualifier

2005-04-20 Thread =?iso-8859-1?Q?J=F6rg_Schaible?=
Hi Mattias, Mattias J wrote on Wednesday, April 20, 2005 12:18 PM: Another beast is the proposed DatabaseMessageProvider of Mattias. If it uses external deps it is qualified for a separate contrib package ... but just my 2c. I intend to avoid external dependencies by using pure java.sql.*

Re: [i18n] Entry qualifier

2005-04-20 Thread James Mitchell
Seems like i18n is reinventing the wheel over and over. I see we are using of Sax, when Digester is the most viable choice, given the typical clients of this framework. I see where ResourceBundle is used, yet a much more robust solution is already provided through Commons Resources. Any

Re: [i18n] Entry qualifier

2005-04-20 Thread Mattias J
At 2005-04-20 09:47, Mattias J wrote: B.t.w James: Thought I'd run your new Maven config to see the coverage of the tests I've added. Though I have not checked out .../commons-build/sandbox-project.xml and currently I cannot access the SVN server. Sorry if this is because I'm a newbie with

Re: [i18n] Entry qualifier

2005-04-20 Thread James Mitchell
J [EMAIL PROTECTED] To: Jakarta Commons Developers List commons-dev@jakarta.apache.org; Jakarta Commons Developers List commons-dev@jakarta.apache.org Sent: Wednesday, April 20, 2005 3:49 PM Subject: Re: [i18n] Entry qualifier At 2005-04-20 09:47, Mattias J wrote: B.t.w James: Thought I'd run

Re: [i18n] Entry qualifier

2005-04-20 Thread Mattias J
At 2005-04-20 21:49, you wrote: Seems like i18n is reinventing the wheel over and over. I see we are using of Sax, when Digester is the most viable choice, given the typical clients of this framework. I see where ResourceBundle is used, yet a much more robust solution is already provided through

Re: [i18n] Entry qualifier

2005-04-20 Thread Mattias J
At 2005-04-20 23:05, you wrote: There were server errors earlier today. Did you ever get this to run? Nope. Tried Maven + Emma too, without luck. It either produced coverage data OR an empty report; never used the data to create a report. I should probably read up on how Maven works (or simply

Re: [i18n] Entry qualifier

2005-04-19 Thread Daniel Florey
Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 18.04.05 20:08:29: Will Ant be abandoned in favor of Maven or should I update the Ant script to include the unit tests? (I have no experience with Maven) We should keep both (ant/maven) working. There is a maven task

Re: [i18n] Entry qualifier

2005-04-19 Thread Mattias J
At 2005-04-19 10:35, Daniel Florey wrote: We should keep both (ant/maven) working. There is a maven task that will automatically generate an ant script, but I've never used it. Maven is a great tool as it can also handle website generation, test reports, changelog etc. So it's worth to have a

Re: [i18n] Entry qualifier

2005-04-19 Thread Daniel Florey
Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 19.04.05 11:27:33: At 2005-04-19 10:35, Daniel Florey wrote: We should keep both (ant/maven) working. There is a maven task that will automatically generate an ant script, but I've never used it. Maven is a great

Re: [i18n] Entry qualifier

2005-04-19 Thread agodinhost
''Subject: Re: [i18n] Entry qualifier '' '' ''Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb ''am 19.04.05 11:27:33: '' '' At 2005-04-19 10:35, Daniel Florey wrote: '' We should keep both (ant/maven) working. There is a maven task that will '' '' automatically

Re: [i18n] Entry qualifier

2005-04-19 Thread Mattias J
-dev@jakarta.apache.org ''Date: Tue, 19 Apr 2005 13:34:41 +0200 ''From: Daniel Florey [EMAIL PROTECTED] ''To: Jakarta Commons Developers List commons-dev@jakarta.apache.org ''Subject: Re: [i18n] Entry qualifier '' '' I have created unit tests for MessageManager and '' LocalizedBundle/-Error

Re: [i18n] Entry qualifier

2005-04-19 Thread agodinhost
15:22:34 +0200 ''To: Jakarta Commons Developers List commons-dev@jakarta.apache.org ''From: Mattias J [EMAIL PROTECTED] ''Subject: Re: [i18n] Entry qualifier '' '' ''What I currently need is better unit tests in ''ResourceBundleMessageProviderTest.java and XMLMessageProviderTest.java

Re: [i18n] Entry qualifier

2005-04-19 Thread James Mitchell
: [EMAIL PROTECTED] - Original Message - From: Mattias J [EMAIL PROTECTED] To: Jakarta Commons Developers List commons-dev@jakarta.apache.org Sent: Tuesday, April 19, 2005 9:22 AM Subject: Re: [i18n] Entry qualifier What I currently need is better unit tests

Re: [i18n] Entry qualifier

2005-04-19 Thread Daniel Florey
MSN: [EMAIL PROTECTED] - Original Message - From: Mattias J [EMAIL PROTECTED] To: Jakarta Commons Developers List commons-dev@jakarta.apache.org Sent: Tuesday, April 19, 2005 9:22 AM Subject: Re: [i18n] Entry qualifier What I currently need is better unit tests

Re: [i18n] Entry qualifier

2005-04-19 Thread Mattias J
I have now added more tests to ResourceBundleMessageProviderTest. If I find time tomorrow, I might look at adding coverage or more XMLMessageProvider tests. Though I do not have commit access to SVN, so I assume I cannot get hold of the Clover license. Daniel: Since you are not home until next

Re: [i18n] Entry qualifier

2005-04-19 Thread Daniel Florey
Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 19.04.05 17:07:46: I have now added more tests to ResourceBundleMessageProviderTest. If I find time tomorrow, I might look at adding coverage or more XMLMessageProvider tests. Though I do not have commit access to

Re: [i18n] Entry qualifier

2005-04-19 Thread James Mitchell
AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: Daniel Florey [EMAIL PROTECTED] To: Jakarta Commons Developers List commons-dev@jakarta.apache.org Sent: Tuesday, April 19, 2005 11:34 AM Subject: Re: [i18n] Entry qualifier Jakarta Commons Developers

Re: [i18n] Entry qualifier

2005-04-19 Thread agodinhost
Each marked line is the point to test, is this? I see 2 types of marks: one in green and other in brown. What means each one? Woody http://people.apache.org/~jmitchell/i18n-docs/jcoverage/index.html '' ''This is a good starting point. You can see where new tests are needed for '' ''every

Re: [i18n] Entry qualifier

2005-04-19 Thread James Mitchell
: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: Jakarta Commons Developers List commons-dev@jakarta.apache.org Sent: Tuesday, April 19, 2005 2:45 PM Subject: Re: [i18n] Entry qualifier Each marked line is the point to test, is this? I

Re: [i18n] Entry qualifier

2005-04-19 Thread James Mitchell
EdgeTech, Inc. 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: Daniel Florey [EMAIL PROTECTED] To: Jakarta Commons Developers List commons-dev@jakarta.apache.org Sent: Tuesday, April 19, 2005 10:34 AM Subject: Re: [i18n] Entry qualifier Jakarta

Re: [i18n] Entry qualifier

2005-04-19 Thread agodinhost
: James Mitchell [EMAIL PROTECTED] ''To: Jakarta Commons Developers List commons-dev@jakarta.apache.org ''Subject: Re: [i18n] Entry qualifier ''Date: Tue, 19 Apr 2005 15:33:33 -0400 '' '' ''LocalizedExceptionExample (and subsequent property files) look like good '' ''candidates for src/test

[i18n] Entry qualifier (was Re: Status?)

2005-04-18 Thread Mattias J
At 2005-04-18 10:33, Daniel Florey wrote: i18n is appealing to me because it allows for multiple properties (such as title and details) under a common key. We solve very similar problems in our project, but I would like to use a generic API reusable among several projects. Although I see some

Re: [i18n] Entry qualifier (was Re: Status?)

2005-04-18 Thread Daniel Florey
Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 18.04.05 10:56:58: At 2005-04-18 10:33, Daniel Florey wrote: i18n is appealing to me because it allows for multiple properties (such as title and details) under a common key. We solve very similar problems in

Re: [i18n] Entry qualifier

2005-04-18 Thread Mattias J
At 2005-04-18 11:11, Daniel Florey wrote: My though was to re-use the basename or id used when installing ResourceBundle or XML providers. For example, after issuing ResourceBundleMessageProvider.install(errorMessages); I would like to be able to qualify the newly installed messages with

Re: [i18n] Entry qualifier

2005-04-18 Thread Daniel Florey
Jakarta Commons Developers List commons-dev@jakarta.apache.org schrieb am 18.04.05 11:29:38: At 2005-04-18 11:11, Daniel Florey wrote: My though was to re-use the basename or id used when installing ResourceBundle or XML providers. For example, after issuing

Re: [i18n] Entry qualifier

2005-04-18 Thread Mattias J
Will Ant be abandoned in favor of Maven or should I update the Ant script to include the unit tests? (I have no experience with Maven) What indentation do you use for XML? I find both tabs and 2 spaces, even in the same file. (There is also a tab on line 80 in LocalizedBundle.java) I have set

Re: [i18n] Entry qualifier

2005-04-18 Thread Dennis Lundberg
Mattias J wrote: Will Ant be abandoned in favor of Maven or should I update the Ant script to include the unit tests? (I have no experience with Maven) What indentation do you use for XML? I find both tabs and 2 spaces, even in the same file. (There is also a tab on line 80 in