Re: DirSet question

2010-06-29 Thread Andy2008
Thanks. The includesfile works perfectly :) Michael Ludwig-6 wrote: > > Andy2008 schrieb am 29.06.2010 um 12:56 (-0700): >> >> I want to include a number of directories. Below is my code. In >> this example, I only want to include Project1 and Project2 directories >> >> >> >> >> >>

RE: Passing state accross task invocations

2010-06-29 Thread Himawan, Budyanto
It's within one process. So I have the following line in my custom ant task private static A a = new A(); Inside of my A constructor I just did a System.out.println and I see that getting called several times. Budyanto -Original Message- From: Michael Ludwig [mailto:mil...@gmx.de] Sen

Re: Passing state accross task invocations

2010-06-29 Thread Michael Ludwig
Himawan, Budyanto schrieb am 29.06.2010 um 09:36 (-0500): > > I have written a custom ant task and I want to be able to store info > from one invocation of the task to another. Within one process, or across processes? > I used a static class but it appears that the static class gets > re-initial

Re: DirSet question

2010-06-29 Thread Michael Ludwig
Andy2008 schrieb am 29.06.2010 um 12:56 (-0700): > > I want to include a number of directories. Below is my code. In > this example, I only want to include Project1 and Project2 directories > > > > > > Is there a way to put Project1 and Project2 values in one include > statement instead

DirSet question

2010-06-29 Thread Andy2008
I want to include a number of directories. Below is my code. In this example, I only want to include Project1 and Project2 directories Is there a way to put Project1 and Project2 values in one include statement instead of having 2 include statements? I will have a lot of directories to

Passing state accross task invocations

2010-06-29 Thread Himawan, Budyanto
Hi, I have written a custom ant task and I want to be able to store info from one invocation of the task to another. I used a static class but it appears that the static class gets re-initialized on every invocation. Is there a way to make it not do that? Thanks Budyanto

Re: web site example does not work

2010-06-29 Thread Stefan Bodewig
On 2010-06-29, SZEDER Gábor wrote: > On Tue, Jun 29, 2010 at 01:51:59PM +0200, Stefan Bodewig wrote: >> On 2010-06-29, Stefan Bodewig wrote: >>     >>       >>     >>> It looks as if the example wanted to use zipgroupfileset instead of >>> zipfileset. >> No, that wouldn't work eithe

Re: web site example does not work

2010-06-29 Thread Peter Reilly
2010/6/29 SZEDER Gábor : > Hi Stefan, > > thanks for your reply. > > On Tue, Jun 29, 2010 at 01:51:59PM +0200, Stefan Bodewig wrote: >> On 2010-06-29, Stefan Bodewig wrote: >> >>     >>       >>     >> >> > It looks as if the example wanted to use zipgroupfileset instead of >> > zipf

Re: web site example does not work

2010-06-29 Thread SZEDER Gábor
Hi Stefan, thanks for your reply. On Tue, Jun 29, 2010 at 01:51:59PM +0200, Stefan Bodewig wrote: > On 2010-06-29, Stefan Bodewig wrote: > >     >       >     > > > It looks as if the example wanted to use zipgroupfileset instead of > > zipfileset. > > No, that wouldn't work eit

Re: web site example does not work

2010-06-29 Thread Stefan Bodewig
On 2010-06-29, Stefan Bodewig wrote:               > It looks as if the example wanted to use zipgroupfileset instead of > zipfileset. No, that wouldn't work either. cannot filter its contents. is a correct way to do what the example promises, as wo

Filter property value with regular expression

2010-06-29 Thread Gustavo Narea
Hello, I haven't been able to find a way to filter the value of a property with regular expressions. Is there any way to do it with Ant 1.7? I need something like this, but without using 3rd party dependencies: http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html Basically, I just w

Re: web site example does not work

2010-06-29 Thread Stefan Bodewig
On 2010-06-28, SZEDER Gábor wrote: > Hi, > On Sun, Jun 13, 2010 at 04:26:51PM +0100, Peter Reilly wrote: >> how is it failing? >>> >>>     >>>     >>>       >>>     >>>     >>>      >>            value="com.acme.checksites.Main"/> >>>     >>>   > .../build.xml:3: only single argument resource

Re: Copying a static list of files

2010-06-29 Thread Stefan Bodewig
On 2010-06-26, Patrick Martin wrote: > I thought that using fileset with the includesfile attribute would > still trigger a source directory scan, which is what I want to avoid > to begin with. Isn't that correct? If neither of your patterns contain any wildcards DirectoryScanner should only chec