The following comment has been added to this issue:

     Author: Brian Conlon
    Created: Fri, 9 Apr 2004 2:06 PM
       Body:
I have to agree with Bryan on this one.  I have exactly the same requirement to call 
Maven from Ant and have likewise been unsuccessful with the MavenTask.  Because of IDE 
integration with Ant and the need for Ant to do some file manipulation before Maven is 
invoked, it would be really great to have a solution for this.
---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1124&page=comments#action_18447

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1124

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1124
    Summary: Add exit to maven.bat
       Type: Improvement

     Status: Closed
   Priority: Trivial
 Resolution: WON'T FIX

 Original Estimate: 1 minute
 Time Spent: Unknown
  Remaining: 1 minute

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-rc3

   Assignee: 
   Reporter: Ronald Blaschke

    Created: Thu, 22 Jan 2004 5:59 AM
    Updated: Fri, 9 Apr 2004 2:06 PM
Environment: Windows (XP)

Description:
Windows (XP) seems to not propagate the last ERRORLEVEL in batch files.  Thus, when 
calling maven.bat from an ant build file, ant reports success, even when maven fails.

...
1 error
2 warnings
BUILD FAILED

Total time: 6 seconds
Finished at: Thu Jan 22 11:49:10 CET 2004

File...... file:/C:/Documents and Settings/user/.maven/plugins/maven-test-plugin-1
.4/
Element... javac
Line...... 34
Column.... 46
Compile failed; see the compiler error output for details.



BUILD SUCCESSFUL
Total time: 8 seconds


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to