Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 16807 invoked from network); 15 Nov 2003 00:13:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Nov 2003 00:13:23 -0000 Received: (qmail 875 invoked by uid 500); 15 Nov 2003 00:13:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 646 invoked by uid 500); 15 Nov 2003 00:12:59 -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 629 invoked from network); 15 Nov 2003 00:12:58 -0000 Received: from unknown (HELO DNAEXG1.dwango.com) (66.236.30.36) by daedalus.apache.org with SMTP; 15 Nov 2003 00:12:58 -0000 Received: from syntheticplayground.com ([10.1.53.55]) by DNAEXG1.dwango.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 14 Nov 2003 16:13:06 -0800 Date: Fri, 14 Nov 2003 16:13:07 -0800 Subject: Re: Problem with import and overriding targets Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Corey Jewett To: "Ant Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <002d01c3aae9$d851b080$8590a8c0@GHSDENGXP67T> Message-Id: <7D05A247-1700-11D8-9AAC-000A959EF670@syntheticplayground.com> X-Mailer: Apple Mail (2.552) X-OriginalArrivalTime: 15 Nov 2003 00:13:06.0409 (UTC) FILETIME=[3E443D90:01C3AB0D] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The problem was actually that I forgot to save common-tasks.xml. Thanks for your help, Corey On Friday, November 14, 2003, at 11:59 AM, W. Sean Hennessy wrote: > perhaps rename the to one in common-tasks.xml and the other in build-tasks.xml > > > -----Original Message----- > From: Corey Jewett [mailto:cj@syntheticplayground.com] > Sent: Friday, November 14, 2003 11:00 AM > To: user@ant.apache.org > Subject: Problem with import and overriding targets > > > According to: > http://ant.apache.org/manual-1.6beta/CoreTasks/import.html > > http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail/ > Import > > I believe I should be able to do the following: > > common-tasks.xml snippet: > > > > > ... > > > > > build-tasks.xml snippet: > > > > > ... > > > > > build.xml snippet: > > > > > ... > > > > > When I run build.xml::subscriber I get: > > BUILD FAILED > Target `common.prep' does not exist in this project. It is used from > target `prep'. > > Am I missing something? Can imports be nested in this manner? > > Thanks, > Corey > > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org