I agree 110% with Win (and this was the consensus on that other thread).

By default modules should have both moduleApplicationContext.xml in /api,
and webModuleApplicationContext.xml in /omod.

Is there a reason we don't do this already?

-Darius

On Mon, Nov 7, 2011 at 12:54 PM, Nyoman Ribeka <[email protected]> wrote:

> Rafal,
>
> This is the same concern I raise in the mailing list in another
> thread. I think we really need a design discussion on this one :)
>
> The API Spring configuration should go to the API part of the module
> and the web spring configuration should stay in the omod part of the
> module.
>
> Check the "FW: HTML form entry changes" email thread.
>
> On Mon, Nov 7, 2011 at 3:06 PM, Rafal Korytkowski <[email protected]>
> wrote:
> > Hey,
> >
> > Mavenized modules consist of the api and omod subprojects. This setup
> > is not quite right since one cannot write context sensitive tests in
> > the api subproject. The reason is that resources for creating the
> > Spring Context are in the omod subproject, thus context sensitive
> > tests must be placed there. I believe we should reorganize things and
> > make it possible to write tests in the api subproject. Does anyone
> > know reasoning behind the current "strange" structure? Would there be
> > any problems if we changed that?
> >
> > -Rafal
> >
> > _________________________________________
> >
> > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-devel-l" in the  body
> (not the subject) of your e-mail.
> >
> > [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
> >
>
>
>
> --
> Thanks,
>
> Nyoman Ribeka
>
> _________________________________________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-devel-l" in the  body
> (not the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to