Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 95314 invoked from network); 15 Dec 2004 09:44:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Dec 2004 09:44:32 -0000 Received: (qmail 96518 invoked by uid 500); 15 Dec 2004 09:23:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96482 invoked by uid 500); 15 Dec 2004 09:23:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96418 invoked by uid 99); 15 Dec 2004 09:23:55 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web11008.mail.yahoo.com (HELO web11008.mail.yahoo.com) (216.136.131.58) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 15 Dec 2004 01:23:51 -0800 Received: (qmail 86947 invoked by uid 60001); 15 Dec 2004 09:23:46 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=CvIk5vb2o7Roav/B8RenmTaoh2c4PciujT7kwt+Iu8l4cHpCeYkT9jVqSo4fu+PLV/Xb004yHNFKO1IGnk+TLRa01esDZT2qjBUD7yQNtoqypFHiqbCwP+iyT2O18+nG5XDwX2PhYQI0QzrtWq5GAMczxo2NATH1beh0stq50IY= ; Message-ID: <20041215092346.86945.qmail@web11008.mail.yahoo.com> Received: from [195.142.236.100] by web11008.mail.yahoo.com via HTTP; Wed, 15 Dec 2004 01:23:46 PST Date: Wed, 15 Dec 2004 01:23:46 -0800 (PST) From: Engin Erdem Subject: Re: why doesn't work on ant 1.6.1 To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N thanks, i removed init() calls and it worked --- Yves Martin wrote: > Engin Erdem writes: > > > we have a piece of code that uses ant api and a > build > > file to control our build process. this code > works on > > ant 1.4.1 version but not in 1.6.1 version, I > searched > > mailing lists but I did'nt find any suggestions. > > what is the problem??? > > you can test them with the code and build file > below > > From my experience, I guess the 'init' calls are > involved. Let's try to remove > your two 'init' in 'execute'. > > May you be more clear when saying "does not with in > 1.6.1" ? Is there an > BuildException ? What does the 'debug' mode shows > you ? Does nothing happen ? > Have you try to connect to Ant with a debugger, put > a breakpoint in your > 'execute' and see what happens ? > > I invite you to replace > > CallTarget callTarget = new CallTarget(); > callTarget.setProject(project); > By > CallTarget callTarget = > (CallTarget) > getProject().createTask("antcall"); > > and call 'execute' immediately after setting > parameters (no 'init' so). > > Hope this helps > Regards > -- > Yves Martin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org