Ant 1.7.0 can't find Junit in ${user.home}/.ant/lib

2007-02-06 Thread Jacob Kjome
Maybe this is a known issue, but it appears that Junit.jar must be in ${ant.home}/lib in order to be discovered, at least by the task using Ant-1.7.0. In Ant-1.6.5, Junit is found just fine in ${user.home}/.ant/lib, but not in Ant-1.7.0. For instance... unless="junit.exists"

Delete files if error log exist

2007-02-06 Thread Mikael Petterson (KI/EAB)
Hi, I would like to confirm with you experts if I can write ( as below) to delete some files if an error log exist. Or is there a better way? Cheers, //mikael

RE: Problem in copy task with filtering

2007-02-06 Thread Narayanan, Latchoumi
Thanks Steve, I am just using a blank space for begintoken/endtoken. It works fine. Latchoumi -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 6:29 AM To: Ant Users List Subject: Re: Problem in copy task with filtering Narayanan, Latch

Re: Problem in copy task with filtering

2007-02-06 Thread Steve Loughran
Narayanan, Latchoumi wrote: Hi all, In my build script I am using, This code is copying the web.xml file, but not replacing the word "spoofFilter" with "permissionFilter" as I am trying to do, Can someone tell me what I am doing wrong here. tokens have a prefix around them

Re: Problem calling ANT with "-logger" parameter

2007-02-06 Thread Frank Harnack
Hi Marc, maybe the character "-" (in "-logger") is the problem. The hexcode of the character must be "2d". Regards Frank Quoting sunnymarc <[EMAIL PROTECTED]>: > > Hi Frank, > thank you very much for your posting. The special character you can see in > my email doesn't exist in the real scrip