Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46776 invoked by uid 500); 29 Jul 2003 01:44:34 -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 93609 invoked from network); 28 Jul 2003 23:40:43 -0000 Message-ID: <3F25B405.3070101@smartpennies.com> Date: Mon, 28 Jul 2003 16:38:45 -0700 From: Dale Anson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Passing a property from sub project to main project References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I see you also posted a question about antelope, so I'm assuming you have looked at the various "call" tasks included? If not, look at 'antfetch' (similar to 'ant'), 'antcallback' (similar to 'antcall') and 'call' (not similar to anything, but seems to be what many people expect antcall to be. Dale Sushil Sureka wrote: >Hello, > >I understand that in Ant I can not pass a property from a sub project to the main project but the reason I am mailing this email is because I am wondering if there is any alternative solution to this. >What I am trying to do is run some installs using Ant. The way I have set it up is a main project does some initialization work then makes a ant call for every software a user wish to install (meaning knowledge of install of a software is contained in a separate file). What I want to do is that, if a software install fails, I need to clean up all the install that has happened till that point. But the knowledge of the fact that the install has failed is only available to the sub project whereas the "clean task" has to be initiated from the main project. Wondering any idea how to achieve this? > >Any idea would be appreciated. > >Sushil > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org