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] Sent: Tuesday, June 29, 2010 3:50 PM To: user@ant.apache.org Subject: Re: Passing state accross task invocations 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-initialized on every invocation. Is there a way to make it not do > that? Don't get it. Please specify your requirement more exactly. -- Michael Ludwig --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org