spring-projects / spring-loaded

Java agent that enables class reloading in a running JVM
Apache License 2.0
2.72k stars 515 forks source link

Need way to ignore grails/* package only if from a JAR file #125

Open graemerocher opened 9 years ago

graemerocher commented 9 years ago

Currently Spring loaded ignores all classes under the grails/* package, but some plugins exist under grails/plugins/*

When developing these plugins reloading doesn't work, it would be nice if it could be configured so that reloading for grails/* worked if the class is not within a JAR file.

aclement commented 9 years ago

There are configuration options here, for example the registered plugins are called with a shouldBeMadeReloadable() call. Or you can specify inclusions via -Dspringloaded=inclusions=grails.plugins..*

Are you finding neither of those work in your situation? or is it because you want to be more selective about whether it comes from a jar?

graemerocher commented 9 years ago

@aclement Let me play more with these options