-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplify "Compiling" info message: display relative path #250
Conversation
getLogger().info( "Compiling " + sourceFiles.length + " " + | ||
"source file" + ( sourceFiles.length == 1 ? "" : "s" ) + | ||
" to " + destinationDir.getAbsolutePath() ); | ||
" to " + to ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could these duplications be avoided?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could these duplications be avoided?
?? not sure to understand your concern?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean create a logCompiling()
method in AbstractCompiler for logging, and have plexus compilers use this method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to
and message logged/being output are calculated twice (Javac, AspecJCompiler) in the same way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea, done in 37f6843
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
simplify current info message
by replacing full path with relative to basedir: