Red Hat Bugzilla – Bug 977885
Make the jcr2vfs migration tool more user friendly
Last modified: 2014-02-21 08:29:34 EST
Note: This is more like enhacement than bug.
Description of problem:
The jcr2vfs migration tool should be IMHO more user friendly. Following things could help with that:
(1) The "runMigration.sh" should accept "-h" parameter that would briefly explain what the tool is intented for, what are the inputs (parameters) and what are the outputs - just basic help.
(2) I am not sure about the default behavior - e.g. expecting the input somewhere and if its not there throw an exception. What about if no parameters are set, just print the help saying that the user needs to specify input jcr repo and output vfs repo (dir)? e.g. the default behavior (if no parameters specified) would be so print the help.
(3) I would suggest to not print exception stacktraces to stdout at all. I agree that the exception is useful for debugging, but it would be better I guess to print it into log file and just print meaningful error message to the stdout.
Version-Release number of selected component (if applicable):
Closing this issue and moving the discussion to community Jira as that is probably the best place to have the enhancements listed. https://issues.jboss.org/browse/GUVNOR-2020