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: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to