12 Sep 2006 20:31
Re: Contributing a patch
Achim Hügen <achim.huegen <at> gmx.de>
2006-09-12 18:31:19 GMT
2006-09-12 18:31:19 GMT
Please open three issues on jira and attach the
the patches. I can't promise you that number 1) and 2) will
make it in, but at least number 3) should make it.
Achim
Am Sun, 10 Sep 2006 16:07:51 +0200 schrieb Kent Tong <kent <at> cpttm.org.mo>:
> Hi,
>
> I'd like to contribute a patch to address the following issues. Would
> you please let me know if it is worth accepting? Then I can send you
> the patch file.
>
> 1) Allow providing module descriptors using strings so that testing
> can be done like:
>
> public void testCreateInstance() throws Exception
> {
> String module1 = "<?xml version=\"1.0\"?>"
> + "<module id=\"com.myco.mypackage\" version=\"1.0.0\">"
> + " <service-point id=\"Adder\"
> interface=\"org.apache.hivemind.Adder\"/>"
> + "</module>";
> String module2 = "<?xml version=\"1.0\"?>"
> + "<module id=\"com.myco.mypackage.impl\" version=\"1.0.0\">"
> + " <implementation service-id=\"com.myco.mypackage.Adder\">"
> + " <create-instance class=\"org.apache.hivemind.AdderImpl\"/>"
> + " </implementation>" + "</module>";
> setupRegistry(new String[] { module1, module2 });
(Continue reading)
RSS Feed