> 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
> So the requirement for this issue it to load up aLet me reword this requirement slightly:
> 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.
configuration prior to ever loading a user defined xml file, yaml
So the requirement for this issue it to load up a default
file, programmatic configuration, or any other format that we mayIs it ok if we'll not say "default configuration _file_" here but just
support someday.
"default configuration"?
> Does this look right? Mykola, you have recently authored much of the
> Here is my question: How do we ensure this file gets loaded every
> time, and first?
>
> ConfigurationFactory code to include the new subclasses. Does thisI'd like to get rid of default-architecture-rules.xml file and move our
> seem like the appropriate addition to get this default configuration
> file loaded every time including for programmatic configuration?
>
> I have commited this as r700.
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)