ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 314] - Return value in bin/runant.pl script BugRat Report#572
Date Sat, 21 Jul 2001 13:06:28 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=314

*** shadow/314	Sun May 20 17:19:42 2001
--- shadow/314.tmp.13003	Sat Jul 21 06:06:28 2001
***************
*** 1,19 ****
! Bug#: 314
! Product: Ant
! Version: 1.2
! Platform: All
! OS/Version: All
! Status: UNCONFIRMED   
! Resolution: 
! Severity: Normal
! Priority: High
! Component: Wrapper scripts
! AssignedTo: ant-dev@jakarta.apache.org                            
! ReportedBy: sknippenberg@unwiredexpress.com               
! URL: 
! Cc: 
! Summary: Return value in bin/runant.pl script BugRat Report#572
! 
  On Windows 2000, both the perl script and the batch file do not return the return value
that was returned by the Java ant code. This makes it difficult to use in automated scripts
that run at night that need to evaluate whether to continue, or to stop and report failure.

  
  I would like to request a change to the perl script (I'm not sure if it's possible to evaluate
and return values in a windows script). I attached some code in the work around section that
will do this.
--- 1,19 ----
! +============================================================================+
! | Return value in bin/runant.pl script BugRat Report#572                     |
! +----------------------------------------------------------------------------+
! |        Bug #: 314                         Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.2                     |
! |   Resolution: FIXED                      Platform: All                     |
! |     Severity: Normal                   OS/Version: All                     |
! |     Priority: High                      Component: Wrapper scripts         |
! +----------------------------------------------------------------------------+
! |  Assigned To: ant-dev@jakarta.apache.org                                   |
! |  Reported By: sknippenberg@unwiredexpress.com                              |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  On Windows 2000, both the perl script and the batch file do not return the return value
that was returned by the Java ant code. This makes it difficult to use in automated scripts
that run at night that need to evaluate whether to continue, or to stop and report failure.

  
  I would like to request a change to the perl script (I'm not sure if it's possible to evaluate
and return values in a windows script). I attached some code in the work around section that
will do this.
***************
*** 44,46 ****
--- 44,49 ----
  Applied the patch to the Perl script. Should appear in nightly build 2000-03-17.
  
  Any takers for the Windows batch files?
+ 
+ ------- Additional Comments From conor@cortexebusiness.com.au  2001-07-21 06:06 -------
+ Added return codes to the windows batch file

Mime
View raw message