Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 54595 invoked from network); 25 Sep 2003 16:05:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Sep 2003 16:05:41 -0000 Received: (qmail 80874 invoked by uid 500); 25 Sep 2003 16:05:23 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 80837 invoked by uid 500); 25 Sep 2003 16:05: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 80824 invoked from network); 25 Sep 2003 16:05:22 -0000 Received: from unknown (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by daedalus.apache.org with SMTP; 25 Sep 2003 16:05:22 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id h8PG5L5O008309 for ; Thu, 25 Sep 2003 18:05:21 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id ; Thu, 25 Sep 2003 18:05:24 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF7052@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: RE: Can I make multiple Ant run with the same VM under command li ne? Date: Thu, 25 Sep 2003 18:05:22 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3837E.D33E76B0" 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 ------_=_NextPart_001_01C3837E.D33E76B0 Content-Type: text/plain; charset="iso-8859-1" You can call your perl code from inside Ant with (or AntContribs ). So only one VM starts and you use your existing perl code. The user can learn how to use the ant script and you can refactor the perl code to ant step by step. Jan > -----Original Message----- > From: Bianca Xue Jiang [mailto:bjiang@us.ibm.com] > Sent: Thursday, September 25, 2003 6:01 PM > To: Ant Users List > Subject: RE: Can I make multiple Ant run with the same VM > under command > li ne? > > > That's not what I am asking. Ultimately we are going to use > Ant. But > currently we are mostly using Perl and use Ant just to do > some new work. > With this provided, I would like to optimize the fact that > each time Ant > is called, it fires up a new VM and make it really slow. I > might going a > dead-end after all. > > Bianca > > > > > "Shatzer, Larry" > 09/24/2003 05:33 PM > Please respond to > "Ant Users List" > > > To > "'Ant Users List'" > cc > > Subject > RE: Can I make multiple Ant run with the same VM under command li ne? > > > > > > > Are you asking why you should convert your Perl code to Ant > code to run > your > builds? > > If you convert all your Perl logic into Ant, you only have to > worry about > maintaining the Ant part of it. You also don't have to worry about the > machine you are trying to build on has Perl or not. > > Your Perl code might not be platform independent. With any > language that > is > "platforms independent", anyone can write unportable code. Looking for > 'C:\folder' is one easy way to break any program on UNIX. > This is not just > specific to Perl, Ant build files could very well be > "unportable" in this > fashion as well. > > I find it much better if you stick to as few as possible "scripting" > languages and build languages for your project. As things get more > complex, > the time spent tracking down reasons the build won't work increases. > > For java projects, I find Ant to be the best tool for the job. > > -- Larry > > > -----Original Message----- > > From: Bianca Xue Jiang [mailto:bjiang@us.ibm.com] > > Sent: Wednesday, September 24, 2003 2:17 PM > > To: Ant Users List > > Subject: RE: Can I make multiple Ant run with the same VM > > under command > > line? > > > > > > Is there anything that worth seeking from Ant? > > > > Bianca > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > ------_=_NextPart_001_01C3837E.D33E76B0--