ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: And calling python
Date Fri, 16 Apr 2010 10:24:38 GMT
On 16/04/2010 00:56, Antoine Levy Lambert wrote:
> This would be more a user question. Anyway, ant can execute python with
> the <exec/> task.
> What is hard is to return something to ant. Maybe if the python script
> prints out what ant needs to capture on systemout,
> then using the outputproperty attribute of the exec task, you can store
> the output of the python script.
> Another possibility would be to have the python script create a property
> file which would be read by ant after executing the python script.

I'd look at jython and try doing this stuff in-JVM with <script> or the 
related tasks; this will make it easier to integrate with ant

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message