Mike Nereson <
[hidden email]> writes:
> With regard to
http://code.google.com/p/architecturerules/issues/detail?id=64>
> I want to close this issue. I think its done.
>
> So the requirement for this issue it to load up a
> default-architecture-rules.xml prior to ever loading a user defined
> xml file, yaml file, programmatic configuration, or any other format
> that we may support someday.
Let me reword this requirement slightly:
So the requirement for this issue it to load up a default
configuration prior to ever loading a user defined xml file, yaml
file, programmatic configuration, or any other format that we may
support someday.
Is it ok if we'll not say "default configuration _file_" here but just
"default configuration"?
> Here is my question: How do we ensure this file gets loaded every
> time, and first?
>
> Does this look right? Mykola, you have recently authored much of the
> ConfigurationFactory code to include the new subclasses. Does this
> seem like the appropriate addition to get this default configuration
> file loaded every time including for programmatic configuration?
>
> I have commited this as r700.
I'd like to get rid of default-architecture-rules.xml file and move our
defaults to org.architecturerules.configuration.Configuration. What do
you think? I've attached a patch to issue 64 for reference.
BTW, r700 breaks two tests:
- testListeners_undefined(org.architecturerules.configuration.xml.DigesterConfigurationFactoryTest)
- testProperties_nonePresent(org.architecturerules.configuration.xml.DigesterConfigurationFactoryTest)
--
MAN-UANIC
--~--~---------~--~----~------------~-------~--~----~
~~
http://architecturerules.googlecode.com/svn/docs/index.html~~You received this message because you are subscribed to the Google Groups "architecture-rules-dev" group.
~~To post to this group, send email to
[hidden email]
~~To unsubscribe from this group, send email to
[hidden email]
~~For more options, visit this group at
http://groups.google.com/group/architecture-rules-dev?hl=en-~----------~----~----~----~------~----~------~--~---