y this is a bit more advanced that i know.
>
> I don't know the following:
> What the "^" means.
> What the "$" means.
> What the "\1" means.
>
>
> Thanks.
>
> On Mon, Jan 16, 2012 at 4:38 AM, Emma Burrows >wrote:
>
> > You'
You're replacing the entire "Test2=" line with the string
"test2=x" which obviously doesn't contain the tab characters.
You should probably investigate more sophisticated ways of preserving the
original tabs like
match="^([ \t]*test2[ \t]*=)(.*)$"
replace="\1xxx"
I haven't tested it bu
> Ant 1.7.1 has a known bug
Thanks, I'm glad to know it wasn't just me. :) I probably can update Ant, but
as it's also part of our CMS, I'm nervous about writing scripts against a
different version - so I have implemented your suggestion first and I'm glad to
confirm that it's working now. :)
is set. But it
is still updated every time there are modified files. Should I be doing
something more to get this working?
Cheers,
Emma Burrows
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional
ssuing content "patches".
Thanks,
Emma Burrows
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
9:54
To: user@ant.apache.org
Subject: Re: Use Ant with an arbitrary date
On 2011-11-29, Emma Burrows wrote:
> So I was wondering if there was some way of using 's
> cache-based approach to only copy the files that have been modified
> since a given date/time like "17.00 last Th
As part of a content migration project, I am building content into a CMS on a
weekly basis, and I use an Ant script to copy the content files to the build
directory. Up until now, we've been wiping the CMS and reloading the whole
17,000-file set every time, which takes about 1.5 hours. But now t
Hello. Is your input an actual XML file or is it a text file containing all the
"[api]" and extra text as indicated?
If it's pure text, you'll probably need to investigate using to
remove the unwanted text, using a regex pattern to match all the text you don't
want - or all the text you do wan