testbed out of sync ?

Cantor, Scott cantor.2 at osu.edu
Wed Dec 18 15:10:29 EST 2013


On 12/18/13, 2:38 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:

>I guess I propose we continue to use named constructor arguments in
>the c-namespace, meaning c:namedArgument="..." rather than c:_0="...",
>because the Spring docs suggest that the use of argument indexes is
>for rare cases, and because I am feeling like "c:_0" is less readable
>than "c:namedArgument", being sensitive to us, um, programming in XML
>and the common complaint that such XML is difficult to navigate.

That was certainly my reasoning. The underscore is particularly geeky.

>The counter argument is that using argument indexes, meaning c:_0, is
>safer when refactoring, which I think is probably true. I hope we find
>a suitable tool to help us manage refactoring across Java and Spring
>bean definition files, maybe Eclipse STS, as I have mentioned.

I have the STS installed, but it doesn't seem to catch what I expect it
to. Sometimes it will refactor Spring files, but often not. I haven't
researched it much yet. It does do autocomplete of the XML by inspecting
the objects on many occasions, so it's definitely doing something.

I was going to ask about checking in the Eclipse STS prefs file since it's
showing up for me when I do commits. But those are all managed with
Eclipse externals right now and I didn't want to screw anything up.

-- Scott




More information about the dev mailing list