Hmm... now that's not a bad idea. I hadn't given the exec task any thought here. But I really feel that ant should have a built in method of doing this (hence the ant task).
--chayim On Tue, 2002-09-24 at 21:56, Martin Gainty wrote: Chayim Would it not be better to configure the build.xml to exec the 2nd script from the 1st?? Best Regards, -Martin >From: "chayim kirshen" >Reply-To: "Ant Users List" >To: Ant Users List >Subject: RE: Task Wierdness >Date: 24 Sep 2002 17:30:58 -0400 >MIME-Version: 1.0 >Received: from nagoya.betaversion.org ([192.18.49.131]) by mc4-f16.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 24 Sep 2002 14:32:48 -0700 >Received: (qmail 13862 invoked by uid 97); 24 Sep 2002 21:32:09 -0000 >Received: (qmail 13797 invoked by uid 98); 24 Sep 2002 21:32:08 -0000 >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >Precedence: bulk >List-Unsubscribe: >List-Subscribe: >List-Help: >List-Post: >List-Id: "Ant Users List" >Delivered-To: mailing list [EMAIL PROTECTED] >X-Antivirus: nagoya (v4218 created Aug 14 2002) >In-Reply-To: >References: >X-Mailer: Ximian Evolution 1.0.7 >Message-Id: <1032903062.16012.29.camel@sanity> >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >Return-Path: [EMAIL PROTECTED] >X-OriginalArrivalTime: 24 Sep 2002 21:32:48.0781 (UTC) FILETIME=[EDDEABD0:01C26411] > >I do in fact call ant script b from ant script a using the ant task >(just to clarify). Ant inheritAll is set to false. BTW: 1.5.1beta1 >didn't fix it either ergo it must be my script. > >--chayim > >On Tue, 2002-09-24 at 17:23, Scott Francis wrote: > > I'm assuming you are calling ant script b from ant script a using the task. Make sure that you have the parameter inheritAll set to false. > > > > That might fix your issues. > > > > Scott > > > > -----Original Message----- > > From: chayim kirshen [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 24, 2002 4:18 PM > > To: [EMAIL PROTECTED] > > Subject: Task Wierdness > > > > > > Please help me. I've been racking my brain all day for this one and it > > just won't go away. > > > > I've got a build file that does repeatedly, the > > build.xml in "src/foo" needs to set all sorts of properties as > > "../../xxxx". Which also works. > > But if I run buildfile a to call buildfile b my build breaks. If I call > > build b directly everything works. It looks as if (ant -debug helped > > here) the directory doesn't actually change when you do an ant dir, ant > > yet I'm doing ant antfile all over the place and that works. If it > > helps I've got ant 1.5 (I'm testing beta1 now). > > > > Thanks! > > > > -- > > -- chayim > > > > > > -- > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > > > -- > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > >-- >-- chayim > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: ________________________________________________________________________ Send and receive Hotmail on your mobile device: Click Here -- -- chayim -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
