Announcement Announcement Module
Collapse
No announcement yet.
Multiple config files Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple config files

    Is there a way to get the visualiser to resolve bean references in multiple config files ?

  • #2
    Ultan,

    Check out point 3 under Fresh Installation at http://www.springframework.org/spring-ide/eclipse/.

    Rob

    Comment


    • #3
      Thanks...why doesnt this work for the "base" config set - ie all files in the Beans Project ?

      Comment


      • #4
        Originally posted by ultan
        Thanks...why doesnt this work for the "base" config set - ie all files in the Beans Project ?
        Spring IDE doesn't know anything about the relationships between the config files of a Spring project. Every config could be used to initialize a single application context. Or some of the config files can be combined to initialize a single application context. Or...

        To add this missing information the concept of config sets was introduced in Spring IDE. Within a config set you define a list of config files which are treated as the confguration of a single application context. You can specify the order of config files within this application context to simulate / validate bean overiding.

        To make the things more complicated you can add config files from other Spring projects (via external project references) to config sets too ;-)

        Cheers,
        Torsten

        Comment


        • #5
          torsten, thanks. Ive already found IDE very useful in helping document my work.

          On the config matter - perhaps a doc update would help ? How about detection of contextConfigLocation in web.xml ?

          And to veer off topic - how about a generalised admin app outside of eclipse - given some config and a list of jars to find beans in....help ops, admins and application assemblers build valid config....

          Comment

          Working...
          X