ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2942] New: - Build Event Listener does not catch exception
Date Wed, 01 Aug 2001 02:39:00 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2942

*** shadow/2942	Tue Jul 31 19:39:00 2001
--- shadow/2942.tmp.15182	Tue Jul 31 19:39:00 2001
***************
*** 0 ****
--- 1,35 ----
+ +============================================================================+
+ | Build Event Listener does not catch exception                              |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2942                        Product: Ant                     |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Blocker                  OS/Version: Other                   |
+ |     Priority: Other                     Component: Build Process           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: SNeelakantan_C@zaplet.com                                    |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Anties,
+ 
+ I had logged a bug last week or so that the BuildEventListener did not
+ catch exceptions even on a failed copy, but I was informed that <copy> didn't 
+ throw exception with Ant 1.3 and I was asked to upgraded to Ant 1.4.
+ I picked up a nightly build (2001-07-25) and I have the same problem with that 
+ one too.
+ I am basically doing a <copy file="non-existent1.txt" tofile="non-
+ existent2.txt" /> and I get the message, "Could not find file to copy", but it 
+ doesn't set an exception with my listener class.
+ I am finding it difficult to validate whether my tasks ran successfully or not 
+ because of this.
+ 
+ I would appreciate any alternative solution too to accomplish this task.
+ 
+ Please reply ASAP if possible.
+ 
+ Thanks and regards,
+ Shanker
\ No newline at end of file

Mime
View raw message