ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <>
Subject RE: Have you ever tried Jython with ANT?
Date Fri, 30 Aug 2002 23:08:07 GMT
I am doing it easier by executing (I added jython.jar into ANT's classpath):

<java classname="org.python.util.jython">
  <arg file="path/script.jy"/>
  <arg value="-update"/>

but I was hoping to use <script> task instead.

- Alexey.

{   } Alexey N. Solofnenko
{ } Inventigo LLC
Pleasant Hill, CA (GMT-8 usually)

-----Original Message-----
From: Steve Cohen [] 
Sent: Friday, August 30, 2002 2:55 PM
To: Ant Users List
Subject: RE: Have you ever tried Jython with ANT?

Alexey - 

I don't know exactly what you're trying to do and I don't know what BSF is,
but it isn't hard to run jython from ant.  I've done it.

    <target name="metadata" unless="metadata.Build.notRequired" >
      <exec dir="${metadata.dir}" executable="jython.bat" >
         <arg value="" /> 
         <arg value="--output=dstats.xml"/> 

I did that with <exec>, using a batch file.  I'm pretty sure that had I
known more about ant at the time, I could have made it work using the <java>
task as well.

Steve Cohen
Sr. Software Engineer
Ignite Sports, Inc.

-----Original Message-----
From: Alexey Solofnenko []
Sent: Friday, August 30, 2002 3:10 PM
To: 'Ant Users List'
Subject: Have you ever tried Jython with ANT?

BSF says it does support neither jython nor python. What BSF should I use?


- Alexey.


 <> Alexey N. Solofnenko
ICQ#: 15250318

Current ICQ status:  


+   <> More ways to contact me 
i   <> See more about me:



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

View raw message