Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 19628 invoked from network); 20 Mar 2007 09:18:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2007 09:18:50 -0000 Received: (qmail 3072 invoked by uid 500); 20 Mar 2007 09:18:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 2892 invoked by uid 500); 20 Mar 2007 09:18:52 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 2877 invoked by uid 99); 20 Mar 2007 09:18:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 02:18:52 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 02:18:43 -0700 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id l2K9IB4s008633 for ; Tue, 20 Mar 2007 10:18:11 +0100 Received: from z011034.bk.fin.local ([130.11.7.34]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Tue, 20 Mar 2007 10:18:21 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Reinitializing static variables Date: Tue, 20 Mar 2007 10:18:20 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Reinitializing static variables Thread-Index: AcdqvI45Gd9UT+FkSUe3+out5iKmDwAE9f5g From: To: X-OriginalArrivalTime: 20 Mar 2007 09:18:21.0329 (UTC) FILETIME=[B441A010:01C76AD0] X-Virus-Checked: Checked by ClamAV on apache.org Store the list as a reference in the project and get it from the second = task. getProject().addReference() getProject().getReference() See thread "Passing data between 2 created tasks" http://marc.info/?l=3Dant-user&m=3D116965414616204&w=3D2 Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: ravi p [mailto:pasala.ravi@gmail.com]=20 >Gesendet: Dienstag, 20. M=E4rz 2007 07:54 >An: user@ant.apache.org >Betreff: Reinitializing static variables > >hi , > >I have written two ant tasks, in one task I have static final=20 >List object, >also I am adding objects into this static list object, in=20 >another task, if I >want retrieve the objects from the static list, it is giving=20 >zero results. > >Any thoughts , regarding how can I share a static object=20 >between two tasks.. >? > >Thanks >Ravi. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org