Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.3-M2
-
Component/s: None
-
Labels:None
Description
See: http://www.pubbs.net/201008/grails/10120-grails-dev-mechanism-for-deprecating-plugins.html
This discussion is about a mechanism for declaring a plugin as deprecated, and optionally suggesting an alternative. The proposed mechanism is:
class SomeCrustyPlugin {
...
def deprecated = "This is the deprecation message"
...
}
and...
class SomeCrustyPlugin {
...
def deprecated = true
...
}
This would be read at plugin install time and an appropriate message displayed to the user. It doesn't prevent the user from using the plugin in anyway.
Is there a benefit to using a property like this and not using Java's @Deprecated?