Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 2922 invoked by uid 500); 1 Aug 2003 18:44:21 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 2897 invoked from network); 1 Aug 2003 18:44:21 -0000 Received: from sandvine.com (HELO mail.sandvine.com) (199.243.201.138) by daedalus.apache.org with SMTP; 1 Aug 2003 18:44:21 -0000 Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id <305LHF3M>; Fri, 1 Aug 2003 14:44:25 -0400 Message-ID: From: David McTavish To: 'Ant Users List' Subject: RE: task Date: Fri, 1 Aug 2003 14:44:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The problem is that it overwrites the file each time. What you should do is write the properties to separate files, then append them together using the concat task. d. -----Original Message----- From: Vikas Phonsa [mailto:VPhonsa@suz.com] Sent: Friday, August 01, 2003 2:42 PM To: 'Ant Users List' Subject: task I am using the following target to write properties to a file Now when this target executes it seems to be overwriting the first message="cvsRoot" as all I get in the properties file is "password:" I need to have: cvsRoot: password: How could this be done, Or am I dong something wrong, Please advice Vikas -----Original Message----- From: Antoine Levy-Lambert [mailto:antoine@antbuild.com] Sent: Friday, August 01, 2003 10:48 AM To: Ant Users List Subject: Re: Junit target not being executed by Ant > My deploy.test target depends on starting tomcat and > then makes an to my 'test' target > which executes my tests. It seems to be hanging after > tomcat is started successfully. Has anyone come across > this issue before. > ant 1.5.3 cannot "spawn" processes like tomcat. have a look at this posting from Bill Burton : http://marc.theaimsgroup.com/?l=ant-user&m=104322316306620&w=2 Subject: [SUBMIT] Support for detached on Unix and Windows in ant1.6alpha, the exec task has a spawn attribute. it works like that not the >NUL this is to redired the stdout of the start-tomcat.bat to the nirvana, otherwise the spawned process crashes. Or you can write your own wrapper to redirect the output to a log file. Cheers, Antoine --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org