ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: PyUnit integ ?
Date Mon, 02 Dec 2002 21:48:22 GMT
Sounds like an itch you want to scratch ;-)

OTOH, you could create a target you would <antcall> to encapsulate 'the
crap' once and for all, passing in <property>s and <reference>s needed by
this 'function' target.

You might also be able to use <apply> if you have to deal with filesets.

Writing a full task to encapsulate a native tool is entirely possible, but
probably needs to add significant value vs. the straight use of <exec> or
<apply> to justify the expense/time.

If you chose to explain a bit more the details of your PyUnit use-case, I'm
sure people would have suggestions on how to ease the burden of its use.

Cheers, --DD

-----Original Message-----
From: Sebastien BLANC [mailto:Sebastien.Blanc@alcatel.com] 
Sent: Monday, December 02, 2002 3:35 PM
To: Ant Developers List
Subject: Re: PyUnit integ ?

just having a target so that I don't have to do exec witht the same crap all
the time

Dominique Devienne wrote:

> Does Python support Ant build script? ;-)
>
> PyUnit is probably written in Python, for Python. I've never heard of
> support for it in Ant, and doubt it will ever be 'integrated'. You
probably
> can launch it using <exec> already, and doing more than that seems
> superfluous, at least to a PyUnit-ignorant person like me. Maybe the
Jython
> version could be integrated since it's Java-based? Was that what you were
> thinking of? --DD

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message