Announcement Announcement Module
Collapse
No announcement yet.
STS Agent Class Reloading exclusion Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS Agent Class Reloading exclusion

    I use the STS Agent Class Reloading quite frequently. It is a great feature.

    I've run into an issue though where a class in my project is too big to be loaded/reloaded by the STS Agent. (https://issuetracker.springsource.com/browse/STS-2189)

    I've found an option that can be specified on the reloading feature that would "include" a set of classes as candidates for reloading. But I haven't yet found a way to "exclude" a class. It is difficult to include all the classes in my project except for this one class that is too big to be loaded.

    Is there an option to exclude a class instead of including all classes except this one?

    Thanks,
    Mike

  • #2
    Hi Mike,

    Sorry I haven't gotten around to addressing that issue of yours yet.

    There is an exclusions setting, on the -Dspringloaded setting you can add (after a semicolon)

    exclusions=com.foo.bar.Something

    (basically an AspectJ type pattern).

    but that hasn't gotten a whole lot of regression tests covering it. I can't quite recall how it will play with some of the other behaviour.

    I will try and find some time to better handle enums like this.

    cheers,
    Andy

    Comment

    Working...
    X