Results 1 to 5 of 5

Thread: Multiple config files

  1. #1
    Join Date
    Sep 2004
    Posts
    15

    Default Multiple config files

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

    Ultan

  2. #2
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    Ultan,

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

    Rob

  3. #3
    Join Date
    Sep 2004
    Posts
    15

    Default

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

    Ultan

  4. #4
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default

    Quote 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

  5. #5
    Join Date
    Sep 2004
    Posts
    15

    Default

    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....
    Rgds,

    Ultan

Similar Threads

  1. Replies: 7
    Last Post: Jan 8th, 2013, 04:05 AM
  2. Replies: 2
    Last Post: Jul 29th, 2005, 11:52 AM
  3. Replies: 7
    Last Post: Jul 26th, 2005, 02:48 PM
  4. Unexpected behaviour with multiple config files
    By rgitzel in forum Container
    Replies: 7
    Last Post: Mar 8th, 2005, 07:11 PM
  5. Config files with imports
    By p_d_austin in forum Container
    Replies: 3
    Last Post: Oct 25th, 2004, 11:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •