ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <je...@cryptocard.com>
Subject Re: Init and clean
Date Fri, 23 Aug 2002 11:51:50 GMT
On Fri, 2002-08-23 at 07:16, Dan Peder Eriksen wrote:
> Hi!
> 
> In init I create a dir, build. I compile all my java files there and make a 
> jar file of them.
> Then I delete the build dir. The problem is that if the compile failes the 
> build dir
> doesnt get deleted because clean depends on it. If I remove the dependends 
> clean
> doesnt get runned no matter what.

If you are using <javac> to compile the code, you can set the
failonerror attribute so that the build will continue, even if the
compile fails.

Jesse

-- 
 Jesse Stockall			|	Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation		|	Fax: 1+ 613.599.2442	 	
 Suite 304, 300 March Rd.	|	email: jesse@cryptocard.com
 Ottawa, ON, Canada K2K 2E2	|	web: www.cryptocard.com 
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message