ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 314] Changed - Return value in bin/runant.pl script BugRat Report#572
Date Thu, 15 Mar 2001 16:03:56 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=314

*** shadow/314	Thu Mar 15 06:50:24 2001
--- shadow/314.tmp.17749	Thu Mar 15 08:03:56 2001
***************
*** 19,22 ****
  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.
  
  ------- Additional Comments From bodewig@apache.org  2001-03-15 06:50 -------
! seems the attachment is missing
--- 19,41 ----
  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.
  
  ------- Additional Comments From bodewig@apache.org  2001-03-15 06:50 -------
! seems the attachment is missing
! 
! ------- Additional Comments From sknippenberg@unwiredexpress.com  2001-03-15 08:03 -------
! This is the code:
! 
! instead of:
! system $JAVACMD, @ARGS;
! 
! use:
! my $returnValue = system $JAVACMD, @ARGS;
! if ($returnValue eq 0) 
!     {
!     exit 0;
!     } 
! else 
!     {
!     # only 0 and 1 are valid exit values
!     # so change the exit value to 1
!     exit 1;
!     }

Mime
View raw message