FilterSet NullPointerException with 1.6.1

2004-05-03 Thread Ken Rider
I have a target that creates a filterset then references that filterset on a file copy. With Ant 1.5.1 and 1.5.4 the copy works as expected but with Ant 1.6.1 I get a NullPointerException (see below). Has anyone else seen this and, if so, been able to resolve the problem? Ken [copy] Copying

Antlib & ClassLoading issues

2004-05-03 Thread Claude Vedovini
I all, I am just trying to take advantage of the Antlib feature and it seems that in certain circumstances it does not work as expected :-) Ok, here is the background: We built a nice continuous integration infrastructure using ant, which is driven by a web application (our build launcher, curre

RE: how to run a target with condition task?

2004-05-03 Thread Neta Bar Tal
Hi all, Thanks to Luis advice I used the ant-contrib and it worked just fine. Thanks Luis! Neta Bar-Tal * 972-9-7960521 [EMAIL PROTECTED] -Original Message- From: Conelly, Luis (GNF, Contractor) [mailto:[EMAIL PROTECTED] Sent: Monday: May 03: 2004 7:28 PM To: Ant Users List Subject:

RE: how to run a target with condition task?

2004-05-03 Thread Paul Martel
Here is a good explanation about a conditional execution. You can retreive it on this site: http://blog.ideoplex.com/software/java/antTutorial6.html Target "hello" will be executed if property "hello.set" is created. Target "goodbye" will be executed if property "hello.set" is NOT created.

RE: how to run a target with condition task?

2004-05-03 Thread Conelly, Luis (GNF, Contractor)
use ant-contrib Works like try-catch block in java http://ant-contrib.sourceforge.net/ http://ant-contrib.sourceforge.net/tasks/trycatch.html Regards. Luis -Original Message- From: Neta Bar Tal [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 11:25 AM To: Ant Users List Subject: how

how to run a target with condition task?

2004-05-03 Thread Neta Bar Tal
Hi All, I'm trying to create the following example: run if failed run is there a way to do it with ant? thanks in advance. netaB The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be privileged. The information is intended to be conve

RE: Is it possible to change System PATH variable through ant tas k ?

2004-05-03 Thread sudip barat
Thanks to Atsushi and Jan ,the suggestions worked good for me . :) -Original Message- From: Atsushi SUGAWARA [mailto:[EMAIL PROTECTED] Sent: Thursday, April 29, 2004 10:24 PM To: Ant Users List Subject: Re: Is it possible to change System PATH variable through ant tas k ? Hi. I created

RE: replaceregexp- help

2004-05-03 Thread Jan . Materne
Maybe it would better to change to something like @[EMAIL PROTECTED] Then you´ll get a template which can be used for to replace the @port@ with the value of an Ant property (e.g. port=) while doing file operations (copy, zip, ...). Without trying something I would start with an regexp like