ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: AW: How to use ANT as a command shell
Date Thu, 08 Dec 2005 14:30:46 GMT
Jan.Materne@rzf.fin-nrw.de wrote:

> 
> Mmh, so we tune the ant-launcher.jar and that´s all. Other could just reuse 
> that jar with a different configuration?

no,. nothing to do with ant-launcher.

its the stuff behind Exec and Java that people want. Ant has the most 
debugged process execution logic out there. Plus property env works on 
pre-java1.5 systems

with the code behind these two in their own library, you can do a 
launcher that takes some xml manifest of a program to run

<program>
  <name>myapp</name>
  <javaversion min="1.5.05" />
  <jvmargs>
   <maxmem bits="32">128</maxmem>
   <maxmem bits="64">400</maxmem>
  </jvmargs>
  <classpath>
    <....>
  </classpath>

..whatever. It would be up to someone else to do this stuff, ideally 
using some of the tomcat launcher task.





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message