Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 5102 invoked from network); 28 Aug 2006 19:09:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Aug 2006 19:09:49 -0000 Received: (qmail 10434 invoked by uid 500); 28 Aug 2006 19:09:44 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10403 invoked by uid 500); 28 Aug 2006 19:09:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10392 invoked by uid 99); 28 Aug 2006 19:09:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 12:09:44 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=SPF_HELO_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.35.237.36] (HELO pop.cryptocard.com) (207.35.237.36) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 12:09:43 -0700 Received: from HP23450137707 ([192.168.10.186]) by pop.cryptocard.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 28 Aug 2006 15:07:52 -0400 From: "Dan McFadyen" To: "Ant Users List" Subject: RE: Very Bad use of Ant... Date: Mon, 28 Aug 2006 15:07:52 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-OriginalArrivalTime: 28 Aug 2006 19:07:52.0061 (UTC) FILETIME=[429602D0:01C6CAD5] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hey hey! I found the stuff I needed after some googling and some of the info from the first reply, just getting back now and you've made me slightly curious about what possible side effects would happen without the ant.home as I made it work without it... Mind you, I am using only to do one small thing so I might not have noticed it. Thanks! Dan -----Original Message----- From: Darick Jarvis [mailto:djarvis@ediwatch.com] Sent: Monday, August 28, 2006 2:58 PM To: 'Ant Users List' Subject: RE: Very Bad use of Ant... I don't know if this is the official way to call ant within a java task, but it works for me. Maybe this can help you. This will cause it to outlive the starting script with no handle to it though. Note, it is important to set the ant.home property for it to run correctly Hope this helps! -----Original Message----- From: Dominique Devienne [mailto:ddevienne@gmail.com] Sent: Monday, August 28, 2006 2:17 PM To: Ant Users List Subject: Re: Very Bad use of Ant... You can always the other Ant, and since they live in different processes and VMs, they can co-exist peacefully. I think there's an example somewhere that demonstrates how to call Ant using . --DD On 8/28/06, Dan McFadyen wrote: > Hello, > > I am about to ask how to do something that will sound... very very ugly... > > Is there anyway to run a different version of Ant from within an Ant script? > I read the faq and found the explantation of the: > > [exec] java.lang.NoClassDefFoundError: > org/apache/tools/ant/launch/Launcher > [exec] Exception in thread "main" > > I have gone to the 2 different directories I need to run it, and I can run > each fine (one defined in Env variables, other using absolute path to bin > dir). > > But... is there any way to not get that?... Or am I stuck with a manual step > if I need 2 versions of Ant to play nice? > > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org