Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 75597 invoked from network); 26 Jan 2003 19:59:53 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 26 Jan 2003 19:59:53 -0000 Received: (qmail 25270 invoked by uid 97); 26 Jan 2003 20:01:10 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 25206 invoked by uid 97); 26 Jan 2003 20:01:08 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 25188 invoked by uid 98); 26 Jan 2003 20:01:07 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3E343E17.8030400@gmx.net> Date: Sun, 26 Jan 2003 20:59:19 +0100 From: "Markus M. May" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Running processes with Ant References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Yaron, I did not fully understand what you woould like to do with you ANT scripts. But I sounds like you are doing the whole build process with shell scripts and batch-files. Especially for this matter ANT is build. I am currently working on a large scale application using EJBs, Modules, Configuration Management, Unit Tests, etc. All the build process is done with ANT. Especially the Classpath thing is done using ANT as a base and Greebo for the Repository of the JARs. I believe that ANT is a full replacement for the make process, even though it gets difficult, if you would like to do loops and stuff. But the most stuff you will find in some plugins, and the only thing, you have to do, is build your build.xml. If you would like to do some stuff like starting up Tomcat , then ithis is possible also, but I haven't tested this, except for starting Tomcat up for Unit Tests, but not in a live environment. So, therefor my experience tells me that you don't have to worry about using ANT. You have to worry, if you are not doing it. Greets Markus M. May --------------------- Yaron Ruckenstein wrote: >Hi, > >My company's product is made out of several processes >such as Apache, Tomcat, Java, and more 3rd party tools. > >Currently I use .sh and .bat scripts to run the processes >on different platforms. > >It is very tempting to replace all these scripts with an ant script, >and solve issues like running on different platforms and building the >classpath. > >However I'm worried that using Ant is much more expensive. >If I do not use Ant, then I execute a shell that brings up a JVM, >load my process classes, and other libraries, and execute them. >If I use Ant, I add to this loading the ant.jar, and the build.xml, >and this consumes memory and CPU resources. > >Also, if I use the fork option of the Java task, then I get an extra JVM >for each process. If I do not, then I have a JVM that loads more classes, >and consumes more resources. > >I will very happy to hear you comments. > >Thanks, > >Yaron Ruckenstein > > > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > > > > -- To unsubscribe, e-mail: For additional commands, e-mail: