Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 64495 invoked from network); 28 Aug 2006 20:56:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Aug 2006 20:56:27 -0000 Received: (qmail 32719 invoked by uid 500); 28 Aug 2006 20:56:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32626 invoked by uid 500); 28 Aug 2006 20:56:22 -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 32613 invoked by uid 99); 28 Aug 2006 20:56:22 -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 13:56:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 28 Aug 2006 13:56:21 -0700 Received: (qmail 8010 invoked by uid 0); 28 Aug 2006 20:56:00 -0000 Received: from 66.28.87.10 by www012.gmx.net with HTTP; Mon, 28 Aug 2006 22:56:00 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Mon, 28 Aug 2006 22:56:00 +0200 From: "Antoine Levy-Lambert" In-Reply-To: Message-ID: <20060828205600.18970@gmx.net> MIME-Version: 1.0 References: Subject: Re: RE: Very Bad use of Ant... To: "Ant Users List" X-Authenticated: #22961642 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Dan, it will need tools.jar (a file from the JDK) on its classpath I believe. Regards, Antoine -------- Original-Nachricht -------- Datum: Mon, 28 Aug 2006 16:42:49 -0400 Von: "Dan McFadyen" An: "Ant Users List" Betreff: RE: Very Bad use of Ant... > Funny, I spoke too soon. > > This lovely new forked and running JVM with it's new ant doesn't seem to > be > able to find javac to compile... all the environment variables exist on > the > outer JVM, but I am rather stumped. > > I have failed my attempts to toss the environment variables into the new > JVM > using the combination of: > > > and > > > I'd be more than happy if someone could point out my mistake. > > Dan > > -----Original Message----- > From: Dan McFadyen [mailto:danm@cryptocard.com] > Sent: Monday, August 28, 2006 3:08 PM > To: Ant Users List > Subject: RE: Very Bad use of Ant... > > > 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. > > dir="." > fork="true" > newenvironment="true" > spawn="true" > maxmemory="WHATEVER" > taskname="WHATEVER"> > > > > > > > > > > > > > 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