File list from remote server

2010-06-30 Thread Dick, Brian E.
Hi, The ftp protocol is no longer allowed in our computing environment, because ftp uses clear text usernames/passwords. So, I have to rewrite our ant scripts to use the scp task rather than the ftp task. However, there are two attributes of the ftp task that I cannot seem to replicate with scp. F

Re: Constructing patterns for use in fileset includes

2010-06-30 Thread Matt Benson
On Jun 30, 2010, at 6:24 AM, Bailey, Darragh wrote: > > > Is it possible to take the contents of a property and modify each item within > the property to append a wildcard in order to turn them into patterns that > can be used within ? > > property1 = string1,string2,string3,string4 > > An

Constructing patterns for use in fileset includes

2010-06-30 Thread Bailey, Darragh
Is it possible to take the contents of a property and modify each item within the property to append a wildcard in order to turn them into patterns that can be used within ? property1 = string1,string2,string3,string4 And patternproperty is constructed based on property1 to result in: patter

Re: replaceregexp task

2010-06-30 Thread Mark Salter
On 30/06/2010 08:25, shindito wrote: > I've set flags to g=global, but still not working. I've tryed all flags... > It only replaces the first regexp on the line. Please try changing byline="true" to byline=false (or just let it default)? From:- http://www.jajakarta.org/ant/ant-1.6.1/docs/en/man

replaceregexp task

2010-06-30 Thread shindito
Hello, everyone, I want to replace a given pattern in a html file with some expression, I'm using regexp. The problem is, that my script replaces only one expression per line, in case of 2 expressions to be replaced on one line, it doesn't work. Here is the target: