Affects Version/s: None
Fix Version/s: 1.1.3.RELEASE
It would be nice to have the possibility to tell Roo, that it gives exact information about the lines added/removed/changed in the files any particular command has done. This would be helpful to a) understand what a particular command is doing b) in development and debugging of custom plugins, to see if it is working as expected.
I could imagine this to be done by either providing a parameter to each command or by setting a global flag. Personally I would prefare the second option.
Option one: anyRooCommand --parameters --printChangedLines
Option two: printChangedLines [-enabled] [-disabled]
In Roo shell (and maybe in the roo.log as comments):
Added line log4j.rootLogger=info, stdout, R
Added line log4j.appender.stdout=org.apache.log4j.ConsoleAppender
Added line log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
I guess for some commands it would not be that easy to read/understand the single changes (compare any version system compare between two versions). Anyways it should not be to hard to add an automated mechanism somewhere in the area of PollingFileMonitorService.