[
http://jira.codehaus.org/browse/MEXEC-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=266644#action_266644
]
Wendy Smoak commented on MEXEC-67:
----------------------------------
Since I just hunted down this change to see if the same thing could be done to
the compiler plugin... here's what was changed:
$ svn log -r9703
------------------------------------------------------------------------
r9703 | pgier | 2009-05-13 11:59:17 -0400 (Wed, 13 May 2009) | 1 line
[MEXEC-67] Print executed command when in debug mode.
------------------------------------------------------------------------
$ svn diff -r9702:9703
Index: src/main/java/org/codehaus/mojo/exec/ExecMojo.java
===================================================================
--- src/main/java/org/codehaus/mojo/exec/ExecMojo.java (revision 9702)
+++ src/main/java/org/codehaus/mojo/exec/ExecMojo.java (revision 9703)
@@ -276,6 +276,8 @@
try
{
+ getLog().debug( "Executing command line: " + commandLine );
+
int resultCode = executeCommandLine( commandLine, stdout, stderr );
if ( isResultCodeAFailure( resultCode ) )
> Full command line should be printed in debug mode.
> --------------------------------------------------
>
> Key: MEXEC-67
> URL: http://jira.codehaus.org/browse/MEXEC-67
> Project: Maven 2.x Exec Plugin
> Issue Type: Improvement
> Components: exec
> Reporter: Paul Gier
> Assignee: Paul Gier
> Priority: Minor
> Fix For: 1.2
>
>
> It would be helpful to print the full command that is run when running maven
> in debug mode (similar to what is printed when the execution fails).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email