Hi all,
I cannot understand clearly the role of the xconf and roles configuration files. The way I see things, roles file is used to declare components which will be managed by the container. As it is a pretty tedios task to update this file we have an ant task for this.
I agree. Choose one or the other. The roles file is for those coming from an ECM background. In fact it is preferable if you never mess with a roles file or RoleManager at all. Updating is fairly easy to do.
Xconf file on the other hand is used to provide some configuration for components.
Right.
The problem is that even if I don't need a configuration for a component I still have to put a corresponding empty tag in this file because overwise my component is not deployed. Why is this ?
For this version of Fortress, you have to be explicit about which components you use. It wasn't until the last couple of days that Fortress was able to detect dependencies dynamically.
Also keep in mind that you will have no control over which implementation of a component that Fortress chooses if you don't explicitly declare it.
The XConf takes the role of both configuration, and as a poor man's "assembly file". An assembly file (as defined in Phoenix/Merlin) is how the container will map components to roles.
Doesn't container have enough information from roles file to do the deployment ? As we are going to have a large number of different services/components the need to manually manage an additional file full of empty tags doesn't look very attractive.
For the short term, you will have to live with what is available. I want to get an official release for Fortress, and then incorporate comments like this into the next release. If you have only one implementation of a component role then it is easy to fill in the blanks.
The longer term solution is to standardize the assembly information accross all the containers.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
