|
Hi Brian,
I'm currently applying your patch. Could you explain to me the need for making the DeployableFile cloneable? Thanks -Vincent Yes, the inclination on making it cloneable was such that a standalone
DeployableFile could be sent to each container more easily. This is desirable since each container may have an app configured for a different context, port, or whatnot. By cloning the DeployableFile before allowing it to be modified, each container can modify it at will. This is not the most desirable architecture, but because of the number of changes and the need to keep the patch size manageable, I chose this. I know from personal experience that patches that are too large tend to not get applied. If I had my way about it (and I remember what I was doing in there correctly. it was a few weeks back now), I would change the contract such that the container client called setter methods on the container sequentially and let the container override those if it found better values in the container configuration. This may have some detail missing, like I said, it's been a while. The cloneable seemed the best way to keep the meddling to a minimum. hope that helps... I've committed your patch to CVS. I had to apply it manually as the patch
wasn't recognized by Eclipse. Strange. Thanks for the patch! -Vincent |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fix for bug. Sorry about useless diffs, checkstyle was pissing me off and I let IDEA handle the formatting of the file