ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <Ste...@ignitesports.com>
Subject RE: Have you ever tried Jython with ANT?
Date Fri, 30 Aug 2002 21:54:56 GMT
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="st-xml.py" /> 
         <arg value="--output=dstats.xml"/> 
      </exec>
    </target>

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.
stevec@ignitesports.com


-----Original Message-----
From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com]
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.

 

__________________________________________________________________
 <http://trelony.cjb.net/> Alexey N. Solofnenko
ICQ#: 15250318


Current ICQ status:  

  <http://web.icq.com/whitepages/online?icq=15250318&img=21> 

+   <http://wwp.icq.com/15250318> More ways to contact me 
i   <http://web.icq.com/whitepages/about_me?Uin=15250318> See more about me:

__________________________________________________________________

 

Mime
View raw message