You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/05/04 01:59:02 UTC

cvs commit: maven/src/java/org/apache/maven/cli App.java

brett       2004/05/03 16:59:02

  Modified:    src/java/org/apache/maven/cli Tag: MAVEN-1_0-BRANCH App.java
  Log:
  display more error reporting on this error return
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.37.4.24 +7 -1      maven/src/java/org/apache/maven/cli/App.java
  
  Index: App.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/cli/App.java,v
  retrieving revision 1.37.4.23
  retrieving revision 1.37.4.24
  diff -u -r1.37.4.23 -r1.37.4.24
  --- App.java	25 Apr 2004 16:08:41 -0000	1.37.4.23
  +++ App.java	3 May 2004 23:59:02 -0000	1.37.4.24
  @@ -526,6 +526,12 @@
                                   + "' which has no definition." );
               System.err.println( "" );
               returnCode = RC_EMPTY_GOAL;
  +
  +            if ( getCli().hasOption( DISPLAY_STACKTRACE ) )
  +            {
  +                e.printStackTrace();
  +            }
  +            displayBugReportHelp();
               return;
           }
           catch ( UnattainableGoalException e )
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org