Results 1 to 2 of 2

Thread: STS Agent Class Reloading exclusion

  1. #1

    Default 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. #2
    Join Date
    May 2009
    Location
    Vancouver
    Posts
    274

    Default

    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

Posting Permissions

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