Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 6158 invoked from network); 4 Feb 2005 02:18:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Feb 2005 02:18:28 -0000 Received: (qmail 95094 invoked by uid 500); 4 Feb 2005 02:18:23 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95046 invoked by uid 500); 4 Feb 2005 02:18:23 -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 95030 invoked by uid 99); 4 Feb 2005 02:18:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: 204.127.202.55 is neither permitted nor denied by domain of hoju@visi.com) Received: from sccrmhc11.comcast.net (HELO sccrmhc11.comcast.net) (204.127.202.55) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Feb 2005 18:18:23 -0800 Received: from nicki.visi.com (c-66-41-141-26.mn.client2.attbi.com[66.41.141.26]) by comcast.net (sccrmhc11) with SMTP id <2005020402181801100cm7qse>; Fri, 4 Feb 2005 02:18:19 +0000 Message-Id: <5.2.1.1.0.20050203201703.03bd8298@pop.shell.visi.com> X-Sender: hoju@pop.shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Thu, 03 Feb 2005 20:18:14 -0600 To: "Ant Users List" From: Jacob Kjome Subject: Re: Import: auto run a target in the imported file. In-Reply-To: <4202D4FA.3000604@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At 08:50 PM 2/3/2005 -0500, you wrote: >Hi; >On an imported file, I would like to run a target upon getting imported. >Although the imported's target can be run for the file importing it, I >would like to have a target in the imported file run automatically upon >being imported. Is this possible? In Ant 1.6+, tasks are allowed outside targets. Just put what you want to run outside the enclosure of a target. Jake >Thanks, >-nat > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org