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
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
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
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
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
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
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
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
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
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.*
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
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
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
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
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
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
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
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
''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
-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
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
: [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
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
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
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
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
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
: 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
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
: 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
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
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
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
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
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
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
36 matches
Mail list logo